ShadowFil

Hello,

I have an exception when I try to repair or to remove the GAT, because there is problems with registered guidance packages which don't exist yet.

So I tried to manually unregister all the guidance package, following the instructions on the Clarius's Blog. I unregistered all the guidance packages found in the manifest file (RecipeFramework.xml). But if there is other registered guidance packages unknown (because I have no more the files), it is impossible to unregister them because I don't know their name and GUID.

So it is always impossible to repair or remove GAT ! The exception said "The manifest file doesn't contain an entry for the guidance package Guidance Package Development".

Usually, in this case, you install again the software over the same software which works bad, and you can after uninstall it properly. But here, it is impossible to reinstall the GAT.

I think the GAT uninstallation will have to manage the bad unregistered guidance package and clean the registry.

Thanks


Re: Visual Studio Guidance Automation Toolkit Impossible to uninstall GAT

vga

To unregister GAT you should not remove by hand GAT entries in RecipeFramework.xml, let the installer do this. So make sure the following line is still there:

<GuidancePackage Name="MetaGuidancePackage" Version="1.0" Caption="Guidance Package Development" Description="" Host="VisualStudio" Guid="23FC29C9-FAFE-47f1-B633-B548E788DDDF" ConfigurationFile="[[PathToYourGATXMLmanifestfilegoeshere" Timestamp="633028556879843750" />

Can you rety GAT uninstall with that line in there

-Victor.






Re: Visual Studio Guidance Automation Toolkit Impossible to uninstall GAT

ShadowFil

Ok. I could repair the GAT.

But, for your information, before I choose to remove GAT and I got this exception :

Cannot find registration information for template C:\Program Files\Microsoft Guidance Automation Toolkit\Templates\Items\Action\Action.vstemplate .

Package templates may not be properly registered. Run package installation again and verify template name and location.

Thank you.




Re: Visual Studio Guidance Automation Toolkit Impossible to uninstall GAT

vga

Are you running on XP or Vista






Re: Visual Studio Guidance Automation Toolkit Impossible to uninstall GAT

ShadowFil

I work on Windows XP SP2, with Visual Studio 2005 Team Suite SP1.




Re: Visual Studio Guidance Automation Toolkit Impossible to uninstall GAT

vga

Ok. I asked because there is a known issue with that Action.vstemplate under Vista that could lead to that error, but under XP it should work just fine... not sure why you got that error message then...




Re: Visual Studio Guidance Automation Toolkit Impossible to uninstall GAT

ShadowFil

Summary of problems :

If I uninstall GAX, I can't uninstall GAT. So there is a lot of problem after.

If I install GAT and after, I install GAX, I have problems
And it is impossible to use GAT without GAX.

So it will be more handy the GAT installer install also the GAX if it is not already installed on the machine. And when you uninstall the GAX, a message could prevent us if the GAT is still installed on the machine.

And you will have to improve the REPAIR function to repair and synchronise the registry and the RecipeFramework file, and to help use to remove one GuidancePackage.

Thank you.







Re: Visual Studio Guidance Automation Toolkit Impossible to uninstall GAT

vga

>>>If I uninstall GAX, I can't uninstall GAT. So there is a lot of problem after.

GAX won't uninstall if there are any installed guidance packages, so it won't uninstall if you still have GAT installed... are you saying you were able to uninstall GAX without uninstalled GAT first

>>>If I install GAT and after, I install GAX, I have problems

This sequence shouldn't work by design. You need the runtime (GAX) before trying to install any packages that use the runtime.

>>>So it will be more handy the GAT installer install also the GAX if it is not already installed on the machine

This is something that could be considered, yes. For users receiving a MSI with a guidance package this could save them the need to install GAX first.

>>>And you will have to improve the REPAIR function to repair and synchronise the registry and the RecipeFramework file, and to help use to remove one GuidancePackage.

I haven't looked at the rapir function in detail, but based on the fact that GAX uses mostly custom actions to install/uninstall and the transactional nature of MSI doesn't like custom actions that much, there may be issues yes.

thanks for all your good feedback so far!






Re: Visual Studio Guidance Automation Toolkit Impossible to uninstall GAT

ShadowFil

The first time, I installed GAX and after, GAT, and then, clarius SFT.
But I had problems with registered guidance package which didn't exist yet.
I couldn't uninstall SFT and GAT, but I could uninstall GAX ! without error message.
I could reinstall and uninstall GAX again, having GAT installed.




Re: Visual Studio Guidance Automation Toolkit Impossible to uninstall GAT

vga

That sounds weird... GAX shouldn't uninstall if there are registered packages so it shouldn't uninstall if either GAT or SFT are installed... very weird...

Do you have all bits in order now (GAX/GAT/SFT) and are you able to work ok Or are there any pending installation issues

-Victor.







Re: Visual Studio Guidance Automation Toolkit Impossible to uninstall GAT

ShadowFil

Now it's Ok. I can work with GAT and SFT. All tools are correctly installed. Thanks to Victor Garcia (SFT) who helped me.

I would want to summarize my problems here to inform the GAX and GAT team that they can improve their tools.

Thanks to all. I stay on the track ...