Uninstall of February 2008 GAX fails
I installed the new release but ended up with something similar to 'Pragneshsp' where the solution templates were missing and the Guidance Package Manager was not available via the tools menu. Decided to uninstall everything and retry, all factories and both (2005 & 2008) GAT removed OK but GAX refuses to uninstall: 'This installer requires Visual Studio which is not present on the computer. Please install it and try again'
Here's the troubleshooter dump:
Dumping OS details...
------------------------------------------------
OS version: Microsoft Windows NT 6.0.6001 Service Pack 1
CLR version: 2.0.50727.1434Dumping GAX hive...
------------------------------------------------
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions
Value CurrentVersion=1.4 - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions\Compatibility
Value 1.1=1 - (DWord)
Value 1.2=1 - (DWord)
Value 1.3=1 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions\Hosts
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions\Hosts\VisualStudio
Value 9.0=9.0 - (String)
Value CurrentHive=8.0 - (String)
Value 8.0=8.0 - (String)Dumping GAX Main Manifest...
------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<RecipeFramework SchemaVersion="1.0" TraceLevel="Error" xmlns="http://schemas.microsoft.com/pag/gax-manifest">
<Hosts>
<Host Name="VisualStudio" InstallerType="Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller, Microsoft.Practices.RecipeFramework.VisualStudio" />
</Hosts>
<GuidancePackages>
<GuidancePackage Name="GuidanceBlockFactory" Version="1.0" Caption="Application Block Software Factory" Description="Application Block Software Factory" Host="VisualStudio" Guid="8643B63B-A2A4-4ccc-933E-379645A3002E" ConfigurationFile="C:\Program Files\Microsoft Enterprise Library 3.1 - May 2007\Application Block Software Factory\BlockFactory.xml" Timestamp="633154421240000000" />
<GuidancePackage Name="StrongNamingGuidancePackage" Version="1.0" Caption="Strong Naming Guidance Package" Description="Guidance Package that simplifies strong-naming of multiple projects" Host="VisualStudio" Guid="2d4b99e7-3126-4452-8882-edfd826ea78a" ConfigurationFile="C:\Program Files\Microsoft Enterprise Library 3.1 - May 2007\Strong Naming Guidance Package\StrongNamingGuidancePackage.xml" Timestamp="633154421420000000" />
</GuidancePackages>
</RecipeFramework>Dumping GAX info for 8.0 hive.
--------------------------------------------------------------------
GaxTroubleshooter.exe Information: 0 : Unable to find Software\Microsoft\VisualStudio\8.0\RecipeManagerPackage.
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\Templates
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F}
Value {53544C4D-E3F8-4AA0-8195-8A8D16019423}=0 - (DWord)
Value {BD359A86-BF88-4c4e-A7D2-6CDDA36C3B79}=0 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}
Value {C9DD4A57-47FB-11D2-83E7-00C04F9902C1}=0 - (DWord)
GaxTroubleshooter.exe Information: 0 : Unable to find Software\Microsoft\VisualStudio\8.0\ToolWindows\{90e51bf7-d80a-4fa1-8a20-2641cbb842f4}.
Dumping PublicAssemblies 8.0 folder...
--------------------------------------------------------------------
=====================================================================Dumping GAX Main Manifest...
------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<RecipeFramework SchemaVersion="1.0" TraceLevel="Error" xmlns="http://schemas.microsoft.com/pag/gax-manifest">
<Hosts>
<Host Name="VisualStudio" InstallerType="Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller, Microsoft.Practices.RecipeFramework.VisualStudio" />
</Hosts>
<GuidancePackages>
<GuidancePackage Name="GuidanceBlockFactory" Version="1.0" Caption="Application Block Software Factory" Description="Application Block Software Factory" Host="VisualStudio" Guid="8643B63B-A2A4-4ccc-933E-379645A3002E" ConfigurationFile="C:\Program Files\Microsoft Enterprise Library 3.1 - May 2007\Application Block Software Factory\BlockFactory.xml" Timestamp="633154421240000000" />
<GuidancePackage Name="StrongNamingGuidancePackage" Version="1.0" Caption="Strong Naming Guidance Package" Description="Guidance Package that simplifies strong-naming of multiple projects" Host="VisualStudio" Guid="2d4b99e7-3126-4452-8882-edfd826ea78a" ConfigurationFile="C:\Program Files\Microsoft Enterprise Library 3.1 - May 2007\Strong Naming Guidance Package\StrongNamingGuidancePackage.xml" Timestamp="633154421420000000" />
</GuidancePackages>
</RecipeFramework>Dumping GAX info for 9.0 hive.
--------------------------------------------------------------------
GaxTroubleshooter.exe Information: 0 : Unable to find Software\Microsoft\VisualStudio\9.0\RecipeManagerPackage.
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}
Value ID=1 - (DWord)
Value MinEdition=Standard - (String)
Value ProductVersion=1.0 - (String)
Value ProductName=recipe framework - (String)
Value CompanyName=Microsoft - (String)
Value InprocServer32=C:\Windows\system32\mscoree.dll - (String)
Value Class=Microsoft.Practices.RecipeFramework.VisualStudio.RecipeManagerPackage - (String)
Value CodeBase=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies\Microsoft.Practices.RecipeFramework.VisualStudio.DLL - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\SatelliteDll
Value Path=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies - (String)
Value DllName=Microsoft.Practices.RecipeFramework.VisualStudioUI.dll - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\Templates
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F}
Value {53544C4D-E3F8-4AA0-8195-8A8D16019423}=0 - (DWord)
Value {BD359A86-BF88-4c4e-A7D2-6CDDA36C3B79}=0 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}
Value {C9DD4A57-47FB-11D2-83E7-00C04F9902C1}=0 - (DWord)
Value {0a5f1d56-860f-4de7-b926-a28a5ab982b2}=0 - (DWord)
Value {815946b0-1c0d-4eab-8226-36ea3c59162a}=0 - (DWord)
Value {488366a4-630c-4a0e-a6a2-b019cee13bea}=0 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\ToolWindows\{90e51bf7-d80a-4fa1-8a20-2641cbb842f4}
Value Name=Microsoft.Practices.RecipeFramework.VisualStudio.ToolWindow.GuidanceNavigatorWindow - (String)
Dumping PublicAssemblies 9.0 folder...
--------------------------------------------------------------------
=====================================================================
Microsoft.Practices.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.ComponentModel, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.PackageManagement, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.WizardFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
WARNING: Unable to get assembly info: Microsoft.Practices.RecipeFramework.VisualStudioUI.dll - The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)
Microsoft.Practices.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.ComponentModel, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.EnterpriseLibrary.BlockFactoryInstaller, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.EnterpriseLibrary.StrongNamingGuidancePackageInstaller, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.PackageManagement, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.WizardFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
WARNING: Unable to get assembly info: Microsoft.Practices.RecipeFramework.VisualStudioUI.dll - The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)
所有回覆
Do you have VS2005 installed? And if so, have you selected to install GAX support for it during GAX installation?Yes I have both 2005 and 2008 installed, and I'm in a world of pain here. I've used these tools and packages for a couple of years now, I've diligently uninstalled and reinstalled as required and all has been fine, but this current situation is my worst install experience with any product ever, period. I repaved this machine in January and originally only installed VS2008, once I realized that even with the new GAX the older packages will never install in VS2008 I installed VS2005 and since I had already installed the Feb 2008 GAX I did a 'modify' run to add it to VS2005. Maybe that is where things got fubared.
After the original post I ended up using the GAXTroubleshooter to 'remove' GAX and the windows installer clean up tool to clear the msi away. Trying to reinstall after that turned up the problem kstrain posted 'Install of February 2008 GAX Fails' where the msi is looking for a copy of the July 2007 msi. The difference is that I had managed to install (in upgrade mode I guess) but once it was removed some remnant still pointed to upgrade from 2007. To get past that roadblock I just purged the registry of anything with that msi GUID or Guidance Automation Extensions. The next install attempt got past the 'network error' issue but the installer showed a grey box at the top of the selection tree above the options for VS2005 and VS2008.
I'm not sure if I could complete the install at that point, or what the subsequent error was, but I eventually opted to uninstall VS2005 and reinstall, and then did a full 'repair' on VS2008. After that I could install GAX 2008 and any 2007 packages in VS2005, but in VS2008 I was kind of back to where I started where the packages installed but don't show up correctly in the new projects menu and the 'Guidance Package Manager' doesn't show up in the Tools menu.
I've ended up opening up an MS support ticket on this yesterday, the VS support guy confirmed the issue in comparison to his reference machine but didn't have any detailed information to help and suggested I uninstall VS2008 and reinstall. If the problem still exists it could then be escalated. So now I've uninstalled all guidance packages from 2005 & 2008 but I'm back to the issue I originally posted: GAX refuses to uninstall: 'This installer requires Visual Studio which is not present on the computer. Please install it and try again'
So... any recommendations?- Hi Malcom
The installer launch condition which says "'This installer requires Visual Studio which is not present on the computer. Please install it and try again'" is checking if you have almost one Visual Studio installed. This is Vs8 or Vs9 and to check that it's looking into the registry for SOFTWARE\Microsoft\VisualStudio\8.0\ApplicationID which value should be "VisualStudio".
Please check if have those entries properly then please run the GaxTroubleshooter again to get the current status in your box and post it again.
thanks
jose. In my registry there are entries under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\ for 8.0, 8.0Exp and 9.0 all of which have an ApplicationId with a value of "VisualStudio"
The real 'critical' issue for me right now is that any packages are useless. I can remove GAX using the troubleshooter /removegax option and clear the msi with the Win Installer CleanUp tool. Unless this uninstall issue is deeply connected I'd rather get some help on why the packages fail to show up.
The main MS Visual Studio support have dropped this as beyond their scope so I'm begging for attention now.
here's the GaxTroubleshooter log:
Dumping OS details...
------------------------------------------------
OS version: Microsoft Windows NT 6.0.6001 Service Pack 1
CLR version: 2.0.50727.1434Dumping GAX hive...
------------------------------------------------
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions
Value CurrentVersion=1.4 - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions\Compatibility
Value 1.1=1 - (DWord)
Value 1.2=1 - (DWord)
Value 1.3=1 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions\Hosts
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions\Hosts\VisualStudio
Value 8.0=8.0 - (String)
Value 9.0=9.0 - (String)
Value CurrentHive=8.0 - (String)Dumping GAX Main Manifest...
------------------------------------------------
WARNING: Unable to find the C:\ProgramData\Microsoft\Recipe Framework\RecipeFramework.xml specified file.Dumping GAX info for 9.0 hive.
--------------------------------------------------------------------
GaxTroubleshooter.exe Information: 0 : Unable to find Software\Microsoft\VisualStudio\9.0\RecipeManagerPackage.
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\Templates
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F}
Value {BD359A86-BF88-4c4e-A7D2-6CDDA36C3B79}=0 - (DWord)
Value {53544C4D-E3F8-4AA0-8195-8A8D16019423}=0 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}
Value {0a5f1d56-860f-4de7-b926-a28a5ab982b2}=0 - (DWord)
Value {488366a4-630c-4a0e-a6a2-b019cee13bea}=0 - (DWord)
Value {C9DD4A57-47FB-11D2-83E7-00C04F9902C1}=0 - (DWord)
Value {815946b0-1c0d-4eab-8226-36ea3c59162a}=0 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\ToolWindows\{90e51bf7-d80a-4fa1-8a20-2641cbb842f4}
Dumping PublicAssemblies 9.0 folder...
--------------------------------------------------------------------
=====================================================================
Microsoft.Practices.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.ComponentModel, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.EnterpriseLibrary.BlockFactoryInstaller, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.EnterpriseLibrary.StrongNamingGuidancePackageInstaller, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.PackageManagement, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.WizardFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
WARNING: Unable to get assembly info: Microsoft.Practices.RecipeFramework.VisualStudioUI.dll - The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)FWIW: In an attempt to get some logging info on the uninstall issue I ran a /x /L*v uninstall from an admin cmdline. Surprisingly it completed. Maybe someone can explain why executing the same process from the GUI would fail as described above. The log is too long to post here, I can email it if it's of interest. I'll try a reinstall of GAX etc one more time before I try another strip down of all VS related stuff.
- I was Googling around trying to find a solution to this problem. I was able to uninstall the GAX by opening a Command Prompt as Administrator and then running the installer and selecting "Remove". Hope that helps.

