Feature conditions are evaluated during the CostFinalize action, which comes before WelcomeDlg action.
Modify your code : <Custom Action="CheckVersion" Before="CostFinalize" /> And modify condition code to valid syntax : <Condition Level="0"><![CDATA[PREREQ <> "1"]]></Condition> -- Alexander Biryukov On Thu, 14 Dec 2006 09:10:54 +0300, Jonas Abrams <[EMAIL PROTECTED]> wrote: > Hey everyone, > > I am trying to base the installation of a feature in my install on a > property that gets set through a custom action and have been unable to > get > it to work correctly. These are the steps that I am following: > > > I first set up my property: > > <Property Id='PREREQ' Value="0" /> > > > Now I have my feature information (I have tried with and without the '[]' > around the property): > > <Feature Id='CFeature' Title='Feature' Description='The > Feature' > Level="1" ConfigurableDirectory='INSTALLDIR'> > > <Condition Level="0">[PREREQ] != "1"</Condition> > > <!-- Insert any references to hand-coded > components > --> > > <ComponentRef Id='NComponent' /> > > </Feature> > > > I have my custom action set up like this within the InstallUISequence > element: > > <Custom Action="CheckVersion" Before="WelcomeDlg" /> > > > Does this look correct? Is there something I'm missing? I have tested > the > installation with MSI logging and my custom action is correctly setting > the > property but I'm not sure if it is happening at the right time. Any help > would be appreciated. > > > Thanks, > > Jonas > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users