Sunday, 29 October 2017

Visual Studio 2017 Installation "A product matching the following parameters cannot be found"

          While installating Visual Studio 2017 Community update I've got a blue screen. The installation became corrupt and I had to reinstall. The moment I've launched the reinstall I started getting errors one after another.

  • while starting the installer:
    "A product matching the following parameters cannot be found:
    channelId: VisualStudio15.Release
    productId: Microsoft.VisualStudio.Product.Community"
  • while choosing a package to install:
    "Error: Sorry installation failed. Please Try Again.
I've gone through the following steps, which helped me in resolving this issue:
  • uninstalled Visual Studio (and other Visual Studio installations)
  • run C:\Program Files (x86)\Microsoft Visual Studio\Installer\InstallCleanup.exe -full"
  • removed all the "C:\Program Files (x86)\Microsoft Visual Studio" folders
  • removed "C:\Program Data\Microsoft\Visual Studio\ folder
  • restarted Windows
Installation run perfectly fine afterwards - I'm not sure thought which of these steps were required. I suppose the only thing I could have tried was not removing all Visual Studio installations before trying the other options.

UPDATE:
Also worth mentioning, I had to do a "Repair" after that first successful installation due to issues with launching "Extensions and Updates". Check, if it works for you after you've managed to install VS.

No comments:

Post a Comment