Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > installation problem in GAX
 

installation problem in GAX

Hi,
I am using .net 2.0/VS 2005 ,
Prev. I have used entlib 2.0 jan 2006,so its alreay installed in my Win XP-SP2 machine
Now I have another reqmnt. to develop a smart client appln. using smart client s/w factory.
so successfully installedGAT, but not GAX(it shows the fatal error), last week
tried to create guidance packages thru vs 2005 -->new project.. but in the templates page( RH Side) theres no smart client dvlpmnt project .
so i tried to unsitall GAX/GAT, so that i will get a fresh installation. but during the Uninstallation
i got "Fatal error during installation".
so i hav gone thru this forums , & deleted the
entries from recipeframework.xml file,( got from Tom Hollanders blog) && also deleted the entries from registry.
http://blogs.msdn.com/tomholl/archive/2006/06/24/645882.aspx#648815

Now i am getting the recipeframework.xml file as shown below:







After doing this i saved the xml file.
&again tried to uninstall the GAX thru ARP(add/remove programs)
but iam getting the follow. exception again:

an exceptin occured while uninstalling....
there was an error reading the manifets file fro the GAX.THE ERROR is the element recipeframework in namespace "http://schemas.microsoft.com/pag/gax-manifest"> has incomplete content.
list of posible elements expected:

'GuidancePackages' in namespace
"http://schemas.microsoft.com/pag/gax-manifest">
+++++++++++++++++++++++++++++++++
What shud i do for uninstall & install the latest version of GAX/ GAT??

Plz help me for getting a correct installation(uninstalaltion) procedure for GAX/GAT & SCSF...

dasryms  Tuesday, January 23, 2007 5:49 AM

Hi,

For some reason the xml content for recipeframework.xml is not appearing in your post, can you try to re post it?

Based on the last error message you're posting my guess is that your recipeframework.xml file (altough I can see the file yet) is missing the schema required <GuidancePackages> element thus a validation error is thrown. You need to make sure that your recipeframework.xml contains a valid <GuidancePackages> element after the <Hosts> element, if you need to uninstall GAX then it should be an empty <GuidancePackages> what you need, i.e.:

...

</Hosts>
<GuidancePackages />
...

Let me know if that works.

-Victor.

vga  Tuesday, January 23, 2007 1:40 PM
Note that in your xml above the <GuidancePackages /> is contained within the <Hosts> element, that is not good.

Make sure <GuidancePackages /> (note the plural) appears just after the closing </Hosts>, i.e.

<?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 />

That order you mention at the end of your message is not correct.
vga  Wednesday, January 24, 2007 2:18 PM
So this error is happening during the installation of SCSF?

If so, looks like you have an addin "JTLeigh.Tools.CopySourceAsHtml" that is interfering with the install for some reason. Could you try disabled or better yet uninstalling that add-in and retry the SCSF installation? If that works, then we can start looking at what the interfering is.

HTH,
-Victor.
vga  Thursday, February 01, 2007 4:46 PM

Hi,

For some reason the xml content for recipeframework.xml is not appearing in your post, can you try to re post it?

Based on the last error message you're posting my guess is that your recipeframework.xml file (altough I can see the file yet) is missing the schema required <GuidancePackages> element thus a validation error is thrown. You need to make sure that your recipeframework.xml contains a valid <GuidancePackages> element after the <Hosts> element, if you need to uninstall GAX then it should be an empty <GuidancePackages> what you need, i.e.:

...

</Hosts>
<GuidancePackages />
...

Let me know if that works.

-Victor.

vga  Tuesday, January 23, 2007 1:40 PM

Thanx  for the reply

i tried several times  for pasting the xml content last day, but in vain.

now i think i can put the  same.....

<?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" />
  <GuidancePackage />
  </Hosts>
  </RecipeFramework>

actually I modified based on the findings from the same forum.Now based  your suggestion

I changed from  <GuidancePackage /> to   <GuidancePackages/> , again tried to uninstall, but the same  Uninstallation error reappears."fatal error  during installation"

Before  that i have successfuly installed webservice s/w factory, 7 its dataaccess guidance

package entry was present,2 days back i have deleted that entry  for the purpose of GAX.

 See, I have already installed the entlib 2.0 -jan06, 9 months back for another web appln dvlpmnt.my doubt is, whether the order in which tried to install GAX/ GAT the  culprit?

In one of the  blogs i read  that the installation should  in order like

CAB-UI first, then entlib 2.0,then gax/gat. etc...         Is it true??

 

dasryms  Wednesday, January 24, 2007 10:53 AM
Note that in your xml above the <GuidancePackages /> is contained within the <Hosts> element, that is not good.

Make sure <GuidancePackages /> (note the plural) appears just after the closing </Hosts>, i.e.

<?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 />

That order you mention at the end of your message is not correct.
vga  Wednesday, January 24, 2007 2:18 PM

Hi vga

Sorry for the late reply......

Very thnx for solving my issue, GAX installed successfully.After installing the GAX successfully,

I installedComposite UI App Block-Dec2005 && starteddownloading MS SCSF, butI am stuck with the follow.error & it rolledback the installation.

---------------------------
Error
---------------------------
CopySourceAsHtml caught the following exception: System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.

at EnvDTE80.Commands2.AddNamedCommand2(AddIn AddInInstance, String Name, String ButtonText, String Tooltip, Boolean MSOButton, Object Bitmap, Object[]& ContextUIGUIDs, Int32 vsCommandStatusValue, Int32 CommandStyleFlags, vsCommandControlType ControlType)

at JTLeigh.Tools.CopySourceAsHtml.Connect.AddCommand(String fullCommandName, String partialCommandName, String buttonText, String tooltip, Int32 icon) in c:\Data\Projects\CopySourceAsHtml\Source\Connect.cs:line 181

at JTLeigh.Tools.CopySourceAsHtml.Connect.AddCommands() in c:\Data\Projects\CopySourceAsHtml\Source\Connect.cs:line 165

at JTLeigh.Tools.CopySourceAsHtml.Connect.OnConnection(Object application, ext_ConnectMode connectMode, Object addIn, Array& custom) in c:\Data\Projects\CopySourceAsHtml\Source\Connect.cs:line 62
---------------------------
OK
---------------------------

EntLib2.0 wasthere in my system long back(in April-06) ..

Any help is highly appreciated.......

dasryms  Thursday, February 01, 2007 1:39 PM
So this error is happening during the installation of SCSF?

If so, looks like you have an addin "JTLeigh.Tools.CopySourceAsHtml" that is interfering with the install for some reason. Could you try disabled or better yet uninstalling that add-in and retry the SCSF installation? If that works, then we can start looking at what the interfering is.

HTH,
-Victor.
vga  Thursday, February 01, 2007 4:46 PM

Hi,

Very thnxVictor for helping me to install SCSF..

I have uninstalled CSAH, & tried downloading&installing SCSF...&went through successfully...

NowI would like to know, if there any sample code is available for implementing aself-updating winforms smart client appln??

The Updater Appln Block 2.0 stuff i have tried, but i am doubtfull whether its fully operational with .net 2.0 , since it targets .net 1.1..

Any links/sample code ....for implementing the self-updatng smart client???

Thanx in Advance...

dasryms  Friday, February 02, 2007 11:38 AM
I'll check this with one of the Updater Block developers and get back to you soon,

-Victor.
vga  Friday, February 02, 2007 2:06 PM

You can use google to search for other answers

Custom Search

More Threads

• Problem adding reference to CSharp projects
• Unfold Recipe vs New Item
• Delete Extra Lines from Code using TextTemplateAction
• Added project reference not reflected
• Linking DSL Files
• Deploying Guidance Package
• Error install GAX
• Referencing a generic class with a t4 template
• Can't see item templates for WebApplication projects
• Linking the Smart Client Software Factory with GuidanceAutomationExtensions