cilerler
cilerler

Reputation: 9420

Can't update Visual Studio 2017 RC

I'm trying to update Visual Studio 2017 RC from 15.0.25909.2 to 15.0.25914.0 and when I hit Update button it throws following error

Path to vsix file 'update' is invalid or you don't have required access permissions. Please check the path is valid and you have required access permissions.

Usage: VSIXInstaller.exe [/quiet] ...
...

  1. I ran it as Administrator unfortunately same issue occurs.
  2. Recorded Screen-cast is here

Upvotes: 3

Views: 3623

Answers (1)

cilerler
cilerler

Reputation: 9420

Thanks to @panagiotis-kanavos I did be able to solve the issue. For those who may hit the same wall, here is the steps I followed.

  1. You need to locate Visual Studio Installer which is not in Start Menu!. You may find it at C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe

  2. Once you run it, click on Update button.

  3. It will probably give you errors like this

    [232c:0020][2016-12-09T09:31:36] VSIX installer does not exist at 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VSIXInstaller.exe'. [232c:0020][2016-12-09T09:31:36] Package '...' failed to uninstall. Return code: 2

    Check the path and make sure VSIXInstaller.exe is there

  4. Once again, click on Update button.

    this time, it will throw a different error and if you open the log file that upgrade process provides, it should have full command details which is/are failing

    🚨 WARNING 🚨 following code was in "my" log file and I placed it here "only for demonstration purpose", do not use it directly, check your log file to get correct failing errors

    "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VSIXInstaller.exe" /q /s /admin /appidinstallpath:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\devenv.exe" /logFile:"C:\Users\ciler\AppData\Local\Temp\dd_setup_20161209094800_001_GitHub.VisualStudio.log" /skuName:Enterprise /skuVersion:15.0.25928.0 /appidname:displayName /uninstall:c3d3dc68-c977-411f-b3e8-03b0dccf7dfc

  5. Run that command in your Command Prompt and make sure you change the /logfile: filename in order to eliminate overwriting the existing one.

Upvotes: 4

Related Questions