How to install Remote Tools for Visual Studio 2015 on machine not connected to the Internet - windows

I have a problem with installation of Remote Tools for Visual Studio 2015 update 3 on Windows Server 2008 R2 that does not have connection to the Internet.
Installator showed following error: "0x800b010a - A certificate chain could not be built to a trusted root authority."
Log contains following errors:
Error 0x800b010a: Failed authenticode verification of payload: C:\ProgramData\Package Cache\.unverified\rdbg_std_amd64
Error 0x800b010a: Failed to verify signature of payload: rdbg_std_amd64
Failed to verify payload: rdbg_std_amd64 at path: C:\ProgramData\Package Cache\.unverified\rdbg_std_amd64, error: 0x800b010a, delete: Yes
Error 0x800b010a: Failed to cache payload: rdbg_std_amd64
Failed to cache payload: rdbg_std_amd64 from working path: C:\Users\MKEDRZ~1\AppData\Local\Temp\2\{ec7a2821-b103-4c27-ade2-549182ab4d32}\rdbg_std_amd64, error: 0x800b010a.
I've tried to install Remote Tools for Visual Studio 2015 update 1 and I succeed but it gives me nothing because we use VS 2015 update 3 and to do remote debugging, I have to have Remote Tools for Visual Studio 2015 update 3

The issue is due to some root CA certificates missing from the offline box. Same things happen when trying to install recent Visual Studio versions. I solved it by manually installing the certificates as described in https://stackoverflow.com/a/34109313

Copy the whole of
C:\Program Files\Microsoft Visual Studio 14.0\Common7\IDE\Remote Debugger\x86
to the remote machine. Use the x64 subdirectory to debug 64bit executables. And obviously replace the 'C:\Program Files' part with wherever VS2015 is installed.

Related

How to fix vs_installershell.exe has an invalid certificate?

vs_installershell.exe has an invalid certificate. Error when trying to update, open, repair or reinstall; and now I can't open Visual Studio!
I tried the post from the Visual Studio Community but, when I click the asked update button, it loads then it stops working. View article.
Error Messages:
1) vs_installershell.exe has an invalid certificate
2) Visual Studio 2019 has stopped working
3) Visual Studio Installer has stopped working
Probably due to a pending Windows update not being installed. Solution recommended by MSDN:
Please go to windows update and make sure all pending windows update
are installed and reboot the computer, then go to C:\Program Files
(x86)\Microsoft Visual Studio\Installer then run vs_installershell.exe
as administrator.
just delete Vs_installer.exe and Vs_installershell.exe from the address below and then run Visual Studio setup again which subsequently copy the installer to the same folder :
C:\Program Files (x86)\Microsoft Visual Studio\Installer
then run the installer if you want !

Package management initialization failed. When launching Visual Studio 2017 (15.7.2)

After installing VS2017 Community ver. 15.7.2 on Win 7 64-bit, following error was found when launching VS2017 with or without admin privilage:
Package management initialization failed.
You can get more information by examining the file:
C:\Users\NAME\Appdata\Roaming\Microsoft\VisualStudio\15.0_5024a39e\ActivityLog.xml
These are the errors found in ActivityLog.xml file:
Infos: Could not find ConfigurationChanged timestamp.
Error: merging configuration file C:\Users\\AppData\Local\Microsoft\VisualStudio\15.0_5024a39e\devenv.exe.config
Error: merging configuration file
C:\Users\NAME\AppData\Local\Temp\dev6FC4.tmp
Error: merging configuration file
C:\Users\NAME\AppData\Local\Temp\dev6FC5.tmp
Error: merging configuration file
C:\Users\NAME\AppData\Local\Temp\dev6FC6.tmp
Error: Configuration file merge failed.
Error: Failure calling FinishInitialize.
Tried to install VS2017 Enterprise as well as the VS2017 Community 15.6.7 and got the same errors.
There is a similar problem answered here but it doesn't work for me.
Any input is appreciated
I had the same problem, i solve that doing this
Uninstall Visual Studio 2017 and other Visual Studios
Delete C:\ProgramData\Microsoft\VisualStudio
Uninstall any Visual C++
Look for any Visual Studio Key on the Regedit and delete
Delete C:\Users\UserName\Documents\Visual Studio 2017 (Backup your projects)
Delete C:\Users\UserName\AppData\Local\Microsoft\Visual Studio\15.##
Update your Windows and restart your pc
Install Visual Studio 2017 again
Try to open, and one error apears
Copy the devenv.exe.config file locate in the root of the IdE to
C:\Users\UserName\AppData\Local\Microsoft\Visual Studio\15.##
Try to open again
Try to open in safe mode
Try devenv.exe /resetSettings
Try to repair Visual Studio Again
For me works :) !

Not able to uninstall VS 2013 professional with update 3

I am trying to UNINSTALL VS - 2013 professional but I am not able to do so. Error I am getting is "Visual Studio Core features fatal error during installation"
When I check log file I get this message inside. after long list of text I find this somewhere in the log file
[11DC:14D4][2017-03-28T11:44:48]i000: MUX: ExecuteError: Package (vs_professionalcore) failed: Error Message Id: 1305 ErrorMessage: Error 1305.Error reading from file C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.QualityTools.CommandLine\v4.0_12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.QualityTools.CommandLine.dll. Verify that the file exists and that you can access it.
[13DC:1608][2017-03-28T11:46:08]e000: Error 0x80070643: Failed to uninstall MSI package.
[13DC:1608][2017-03-28T11:46:08]e000: Error 0x80070643: Failed to execute MSI package.
Kindly tell me how to fix it. I want to uninstall VS. Please help.
To clean up and delete Preview, RC and final releases of Visual Studio 2013 and Visual Studio 2015, as well as early previews of Visual Studio 2017, you can have a try with the VisualStudioUninstall tool: https://github.com/Microsoft/VisualStudioUninstaller

Issues installing Visual Studio 2015

I have been trying to install visual studio 2015 so I can install the core tools from here Core Tools
Every time I install Visual Studio 2015 I get errors, see below screen shot, with packages not installing and these subsequently prevent me from installing the core tools.
I get these errors in both the community and professional versions. The install log shows the following errors for each of the packages shown below
[18C4:2618][2017-02-07T13:17:37]e000: Error 0x800b0003: Failed authenticode verification of payload: C:\ProgramData\Package
Cache.unverified\nugetvs
[18C4:2618][2017-02-07T13:17:37]e000: Error 0x800b0003: Failed to verify signature of payload: nugetvs
Any ideas why this verification would fail?
I did see This post but the solution there didn't help here and the log messages are different

TFS 2012 build task failed because "resgen" was not found

I am trying to run my build for my solution in VS.NET 2012 TFS but I am getting an error:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets (2291): Task failed because "resgen.exe" was not found
I tried to install the latest Windows SDK 7.1 but it won't let me? Is there another solution for this except installing VS.NET on the build server?
I resolved this error on my TFS 2012 Build Server (Windows Server 2012) by:
Installing the Windows SDK from this link:
Microsoft Windows SDK for Windows 7 and .NET Framework 4
Rerunning the build.
You may need to check that the following Registry Key exists (per the Build error):
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86

Resources