OK i managed to solve this issue. I first needed to install the certificates to the local machine either from the certificates folder which is inside the layout folder or by right clicking the setup.exe and then Properties - Digital signatures - click on the item in the list then click Details - view certificate - install certificate - Local machine and then just continue the process with the defaults.
Then once the certificates are installed i then run the .exe as administrator and it works :)
Answer from Edwin Martin on Stack ExchangeIt 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...
Please try to follow this steps:
- Right click on exe file.
- Select "Properties".
- Click on the "Digital Signatures" tab. Now you can see "signature list".
- Select signature
- Click on "Details" button.
- Click on "View certificate" button
- Click on "Install certificate" and follows installation wizard
All certificates within "signature list" should be installed. I use Windows 10.
Hi @Kaleb Ward (External) ,
Thank you for posting your query here.
This is not known issue and i would suggest your to download installer again and try. Before that please uninstall any setup related vs.
https://learn.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2019
Run the setup from command prompt so it will enable loggin.
setup.exe --verbose --add Microsoft.VisualStudio.Workload.CoreEditor --logFile C:\Logs\vs_install.log
Please let me know if that helps and if it helps please close the thread by acepting this as answer.
- Delete the old offline layout folder. Download the latest bootstrapper (vs_enterprise.exe, vs_professional.exe, or vs_community.exe) from Microsoft’s Visual Studio website.
Recreate the layout with:
vs_enterprise.exe --layout c:\VS2019Offline --lang en-US
This ensures you get the updated catalog and package signatures.
2.Visual Studio 2019 offline installers use certificates to validate packages. If your system does not have the latest trusted root certificates, the installer may fail silently.Make sure Windows Update or the root certificate update is applied.
3.Use the Visual Studio Installer repair option, Run the installer with:
setup.exe --repair from within your offline layout folder.
4.Check for known issue with 16.11.49+, Microsoft confirmed some bugs in 16.11.49 offline installation. The fix is to download the refreshed bootstrapper and recreate your offline cache. Using the old one will not work anymore.