Visual Studio 2017 Offline installer

Caporegime
Joined
7 Nov 2004
Posts
30,194
Location
Buckinghamshire
Hi all,

Wondering if anyone has created an offline installer for VS2017? I realise its old but its what we have to work with.

I can create an offline installer, my issue is adding extras into it when I don't know explicitly what they are...

For example...
Offline installer for VS2017:
Code:
vs_enterprise.exe --layout [OfflineFolderPath]offline --lang en-US --includeRecommended --Add Microsoft.VisualStudio.Workload.ManagedDesktop
~etc. etc.

We've then had separate scripts to do some Python environments i.e.:
Code:
. "C:\Program Files (x86)\Microsoft Visual Studio\shared\Python36_64\Scripts\pip.exe" install pyqt5

This part is fine technically...

However we then ended up doing the below for some further post-install configuration:
Code:
".\sdkmanager.bat" "platforms;android-28"

Plus a load more....Essentially I can't figure out if there is a way to pipe all of this information to create an offline installation with all of our files, as configuring this into a seemless installation in SCCM is being to be a right pain, if I can get all of it into an offline folder, it would make the install so much easier.

Happy to give more information!
 
Last edited:
Back
Top Bottom