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

Reply via email to