This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Cannot Uninstall in order to update #806
Copy link
Copy link
Closed
Description
- GitHub Extension for Visual Studio version: 'GitHub Extension for Visual Studio', version 2.1.1.4.
Microsoft Visual Studio Enterprise 2017 RC
Version 15.0.26020.0 D15REL
Microsoft .NET Framework
Version 4.7.02021
What happened (with steps, logs and screenshots, if possible)
- Trying to update to v2.2.x
- Failed with "Extension already installed"
- Tried to uninstall, got this error :
27/01/2017 13:07:49 - Microsoft VSIX Installer
27/01/2017 13:07:49 - -------------------------------------------
27/01/2017 13:07:49 - vsixinstaller.exe version:
27/01/2017 13:07:49 - 15.0.26020.0 built by: D15REL
27/01/2017 13:07:49 - -------------------------------------------
27/01/2017 13:07:49 - Command line parameters:
27/01/2017 13:07:49 - C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\vsixinstaller.exe,/appidinstallpath:C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\devenv.exe,/skuName:Enterprise,/skuVersion:15.0.26020.0,/appidname:Microsoft Visual Studio Enterprise 2017 RC,/u:c3d3dc68-c977-411f-b3e8-03b0dccf7dfc
27/01/2017 13:07:49 - -------------------------------------------
27/01/2017 13:07:49 - Microsoft VSIX Installer
27/01/2017 13:07:49 - -------------------------------------------
27/01/2017 13:07:52 - Initializing Uninstall...
27/01/2017 13:07:52 - Détails de l'extension...
27/01/2017 13:07:52 - Identifier : c3d3dc68-c977-411f-b3e8-03b0dccf7dfc
27/01/2017 13:07:52 - Name : GitHub Extension for Visual Studio
27/01/2017 13:07:52 - Author : GitHub, Inc
27/01/2017 13:07:52 - Version : 2.1.1.4
27/01/2017 13:07:52 - Description : A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
27/01/2017 13:07:52 - Locale : en-US
27/01/2017 13:07:52 - MoreInfoURL : https://visualstudio.github.com/
27/01/2017 13:07:52 - InstalledByMSI : False
27/01/2017 13:07:52 - SupportedFrameworkVersionRange : [4.5,)
27/01/2017 13:07:52 -
27/01/2017 13:07:52 - Produits pris en charge :
27/01/2017 13:07:52 - Microsoft.VisualStudio.Community
27/01/2017 13:07:52 - Version : [14.0,15.0]
27/01/2017 13:07:52 -
27/01/2017 13:07:52 - Références :
27/01/2017 13:07:52 - -------------------------------------------------------
27/01/2017 13:07:52 - Identifier : Microsoft.VisualStudio.MPF.14.0
27/01/2017 13:07:52 - Name : Visual Studio MPF 14.0
27/01/2017 13:07:52 - Version : [14.0,)
27/01/2017 13:07:52 - MoreInfoURL :
27/01/2017 13:07:52 - Nested : No
27/01/2017 13:07:52 -
27/01/2017 13:07:52 - Prérequis :
27/01/2017 13:07:52 - -------------------------------------------------------
27/01/2017 13:07:52 - Identifier : Microsoft.VisualStudio.Component.CoreEditor
27/01/2017 13:07:52 - Name : Visual Studio core editor
27/01/2017 13:07:52 - Version : [15.0.25824.0,16.0)
27/01/2017 13:07:52 -
27/01/2017 13:07:52 -
27/01/2017 13:08:07 - Les produits cibles suivants ont été sélectionnés...
27/01/2017 13:08:07 - Microsoft Visual Studio Enterprise 2017 RC
27/01/2017 13:08:07 -
27/01/2017 13:08:09 - Désinstallation de 'GitHub Extension for Visual Studio', version 2.1.1.4.
27/01/2017 13:08:09 - System.IO.FileNotFoundException: Unable to find the specified file.
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.GetCurrentSetupInstance()
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.PerformSetupEngineUnInstall(IInstalledExtension extension, Boolean markAsPackComponent)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.UninstallInternal(IInstalledExtension extension, Boolean forceDelete, Version targetedVSVersion)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.Uninstall(IInstalledExtension extension, Version targetedVSVersion)
at VSIXInstaller.InstallProgressPage.UninstallVsix(String vsixId, SupportedVSSKU targetSku, IProgress`1 progress)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
shana commentedon Jan 27, 2017
@tebeco The 2017 vsix installer has/had some issues, and in some cases ends up corrupting the extension catalog, causing these problems, unfortunately 😢
To manually remove the extension and reset the catalog so it's happy, the best thing to do is probably the following:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\and do a search forGitHub.VisualStudio.dll. All the directories that contain a file with that name are installations of GHfVS (as VS never actually removes them, but just disables them...).Run as administrator)devenv /setupon that command line to refresh the VS catalog. This will take some time, wait it out.All copies of the extension should be cleared after this, and you should be able to install the newest version without further problems.
shana commentedon Jan 27, 2017
@tebeco I mistyped the path to the visual studio installation in my initial comment, sorry! The correct path is
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions, I've updated the instructions to matchtebeco commentedon Jan 27, 2017
i've cut/past the folder of GHfVS in a personnal folder
devenv.exe /setuptook few minutes, did not open or print anything ?I guess it's fine
I've tried to re run
GitHub.VisualStudio.vsixStill getting :
tebeco commentedon Jan 27, 2017
I've opened VS2017, I don't have anymore GHfVS
And I cannot install it anymore, it download it, and after I close VS, it tells me it can install on VS2017 and then while installing it crash on :
tebeco commentedon Jan 27, 2017
FYI :
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ExtensionsSearch for
GitHub.VisualStudio.dll==> 0 Matchshana commentedon Jan 27, 2017
@tebeco So VS 2017 runs without errors, and the extension is not listed in
Extensions and Updates/Installed, correct? Can you try downloading the extension from https://ghfvs-installer.github.com/releases/2.2.0.5/GitHub.VisualStudio.vsix, and double clicking on that to install it instead of installing it through the gallery?@AArnott Any clues as to what this error means?
jcansdale commentedon Jan 27, 2017
@tebeco,
Could you try running the following from the command line:
This should attempt to uninstall it by ID. I'd be interested to see what the log says.
tebeco commentedon Jan 27, 2017
@shana
So VS 2017 runs without errors, and the extension is not listed in Extensions and Updates/Installed, correct
yes
Can you try downloading the extension from https://ghfvs-installer.github.com/releases/2.2.0.5/GitHub.VisualStudio.vsix, and double clicking on that to install it instead of installing it through the gallery?
ERROR :
This extension is already installed to all applicable products.@jcansdale
The GUID is not the good one if i'm not wrong
also the manifest limits to [14.0) instead of [14.0, 15.0) or so ?
tebeco commentedon Jan 27, 2017
installing from Visual Studio give my this :
tebeco commentedon Jan 27, 2017
then i went AGAIN inside :
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions<== is this the right folder ?Still no match for "GitHub.VisualStudio.dll"
Vs2017 does not detect installed or update anything about the extension (only online research)
And then Typing thing :
vsixinstaller /q /u:"c3d3dc68-c977-411f-b3e8-03b0dccf7dfc" /l:GH4VS.logit output different log depending on different tries ...
my last try gave :
(FYI, i'll be back in 12h for testing new idea here)
shana commentedon Jan 27, 2017
@tebeco The only thing I can think of is that 2017 is not playing nice with the installation of 2015 you have in the same machine, most likely due to the VS installer bugs in the previous versions of the RC. Try uninstalling all versions from 2015 before installing the extension again, see if that fixes it.
tebeco commentedon Jan 27, 2017
I wonder why I didn't try that ;)
I'll ping you here once I've tried (i hope tonight)
AArnott commentedon Jan 27, 2017
I haven't read all of this thread, but it could be that an older version of the github extension corrupted your VS installer's manifest of what you have installed. The only known workaround we have for that is to uninstall, then reinstall VS 2017. I'm not sure if you already tried that though.
tebeco commentedon Jan 28, 2017
Github Extension was allready uninstalled from VS2015
So I took the same step as the one for VS2017
Went to
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\ExtensionsAnd found 10 matching folder that contained
GitHub.VisualStudio.dllSo i've move them somewhere else
At the same time, it seems that VS2017 just detected an update so i'll keep you posted here
tebeco commentedon Jan 28, 2017
@AArnott, no need to uninstall & reinstall VS2017
@shana thx it seems that it worked
The VSIX detected both VS2015 & VS2017 this time
The only thing that did not work is VS2017 update ;)
especial Azure stuff
Anyway thank :)
rubenscholfield commentedon Jan 29, 2017
Xan i fork you for Futuretecnologies?
shana commentedon Jan 30, 2017
@tebeco Awesome, thanks for the update and for the patience, good to know that there's a way out without reinstalling VS completely 😄
tebeco commentedon Jan 30, 2017
good news ... just re updated VS2017 + GHfVS 2.2.0.6, just worked perfectly