So I\'ve created an offline installed of VS 2017 Community on my laptop using this command:
vs_community.exe --layout \"D:\\Downloads\\VS
It worked!! All I had to do was install the certificates into the root CA! Something I missed noticing in the VS 2017 docs:
How to install from the offline installation folder
Install the certificates (They are in the "certificates" folder, which is in your Layout folder. )
Simply right-click each one and choose Install PFX.
- Specify Local machine (not current user)
- You can use an empty password
- Run the installation file. For example, run: c:\vs2017offline\vs_enterprise.exe
--- Microsoft Docs
Edit: Remember to install the certs using the Admin account on the PC, or it won't work...