Hi all,

I'm having a problem with correctly specifying the Feature's Condition.
My goal - make a search of an ocx file, and if the ocx file does not exist on 
the target computer,
keep a feature selected for installation.
If the ocx exists, the feature should be automatically deselected.
I'm currently having doubts if this is possible, since FileSearch should return 
a string...
My code below:

    <Property Id="FOUNDTABCTL32" Value="o" Secure="yes">
      <FileSearch Id="FOUNDTABCTL32" Name="tabctl32.ocx"/>
    </Property>

    <Feature Id="ProductFeature" Title="MainFeature" Level="1">
      <Feature Id="FeatureToInstallWhenOCXMissing" Display="hidden" Level="1">
        <Condition Level="0"><![CDATA[FOUNDTABCTL32]]></Condition>
        <ComponentRef Id="ProductComponent"/>
      </Feature>
    </Feature>

Am I doing something wrong or this is not possible ?

Thanks for any help,
Adrian


       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to