Hi All, 

 

I'm trying to write some conditional feature code, based on whether a
certain file is available on the installation media. I've been setting a
property like this:

 

  <Property Id="Feature1">

    <DirectorySearch Id="Feature1" Path="[SourceDir]">

      <FileSearch Id="Feature1" Name="feature1.cab"/>

    </DirectorySearch>

  </Property>

 

And then using it like this:

 

    <Feature Id="Feature1" Title="Feature1" Level="1">

      <Condition Level="0">NOT Installed AND Feature1=""</Condition>

      <..>

    </Feature>

 

This works, provided the installation has a UI. But when run in silent
mode, this feature does not get installed. How can I schedule
ResolveSource so that my property has the right value?

 

Cheers

 

Nick

 

 

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to