|
From: Frederic V. <fvi...@ue...> - 2004-05-10 02:25:34
|
Thank you very much for the answer. I tried to add the Name attribute to the <RegistrySearch .../> entry but I still get the same error. I tried to add the following block <InstallExecuteSequence> <AppSearch/> <LaunchConditions/> </InstallExecuteSequence> But is didn't fix the problem either. Anybody has a working example using conditions? Frederic Villeneuve ----- Original Message ----- From: "Orion Edwards" <or...@co...> To: "Frederic Villeneuve" <fvi...@ue...>; <wix...@li...> Sent: Friday, May 07, 2004 7:31 PM Subject: Re: [WiX-users] Using Conditions > You need a Name attribute. If I recall correctly you can't search for just a > key. > > Also if you then do that you need to make sure that the AppSearch action > happens before the LaunchConditions action (if it doesn't by default). > > ----- Original Message ----- > From: "Frederic Villeneuve" <fvi...@ue...> > To: <wix...@li...> > Sent: Saturday, May 08, 2004 5:33 AM > Subject: [WiX-users] Using Conditions > > > > Hello, > > > > I'm trying to setup a condition to detect if a product which my product > > depends on is installed. > > I tried the following and light.exe returns an error "LGHT009: There was > an > > error importing table: LaunchCondition with file.... > > > > <Product...> > > ... > > <Property Id='IS_PRODUCTX_INSTALLED'> > > <RegistrySearch Id='SEARCH_PRODUCTX' Key='Software\ProductX' > Root='HKLM' > > Type='registry' /> > > </Property> > > > > <Condition Message='You need to first install Product X'> > > [IS_PRODUCTX_INSTALLED] > > </Condition> > > > > </Product> > > > > I'm not sure how to create the missing LaunchCondition table. > > > > Does anybody have an example showing how to use Conditions? > > > > Another question is, what's the easiest way to find if the .NET Framework > is > > installed? > > So far I'm trying to check the registry entries under > > HKLM\Software\Microsoft\.NetFramework > > > > > > Thanks > > > > Frederic Villeneuve > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Sleepycat Software > > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > > deliver higher performing products faster, at low TCO. > > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > > _______________________________________________ > > WiX-users mailing list > > WiX...@li... > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > |