Error installing Visual Studio '15' Preview 5

If I try to install Visual Studio '15' Preview 5, I get an error message and the following log file:

2016-10-07T18:05:42 : Verbose : SetupEngine.Installer.InstallProduct reported error.  [channelId: Microsoft.VisualStudio.Channels.Preview, productId: Microsoft.VisualStudio.Product.Enterprise, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\VS15Preview', InvalidOperationException: No products are registered for instance '45ee4dcd-d923-4bcb-8a1a-539f6a4fba3c' at    at Microsoft.VisualStudio.Setup.Cache.CommonExtensions.GetProduct(IInstance instance, Boolean installedOnly)
at Microsoft.VisualStudio.Setup.Cache.CacheRepository.GetAvailablePackages()
at Microsoft.VisualStudio.Setup.Engine.Initialize()
at Microsoft.VisualStudio.Setup.Engine.Load(IChannelProduct channelProduct, CancellationToken token)
at Microsoft.VisualStudio.Setup.Service.CreateEngine(IChannelProduct channelProduct, String instanceId, TelemetryContext telemetryContext, String localeOverride, IMessageBus messageBus, IRestartManager restartManager)
at Microsoft.VisualStudio.Setup.InstallerService.InstallProductImpl(Product product, String installationPath, String setupExecutablePath, String setupExecutableArguments, TelemetryContext telemetryContext, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Setup.InstallerService.InstallProduct(Product product, String installationPath, String setupExecutablePath, String setupExecutableArguments, TelemetryContext telemetryContext, CancellationToken cancellationToken)]

I get this error on every configuration. I also tried to set the language to English because my main language is not English.

+4
source share
1 answer

I had the same problem. This worked for me:

To remove modern installations of Visual Studio "15" Previews 1-3:

Launch the Microsoft Visual Studio Installer from the start menu.
Uninstall Visual Studio from the installer.
From Add / Remove Programs (Windows 7) or Programs and Features (Windows 8.1 and 10), select Microsoft Visual Studio Installer and uninstall.
Delete %ProgramData%\Microsoft\VisualStudio\Packages\.
Delete the Visual Studio folder (normally under %ProgramFiles(x86)%\Microsoft Visual Studio\VS15Preview).
You should now be able to install Preview 5.

Don't worry, instructions for previous preview versions.

Source: https://www.visualstudio.com/en-us/news/releasenotes/vs15-relnotes#workaround

+5

Source: https://habr.com/ru/post/1657084/


All Articles