You need to use a condition that uses the action state of the feature ( 
&FEATURENAME=3)

Andrei <[EMAIL PROTECTED]> wrote:  Hi all,

*I have:*
Feature tree and custom action list. Minimal example:

<Feature Id='Complete'...>
  <Feature Id="CoreFeature"...>
  ...
  </Feature>
  <Feature Id="OptionalFeature" ...>
  ...
  </Feature>
</Feature>

<CustomAction Id="Action4CoreFeature"  BinaryKey=.../
<CustomAction Id="Action4OptionalFeature"  BinaryKey=.../>
<CustomAction Id="SomeAnotherAction"  BinaryKey=.../>

<InstallExecuteSequence>
  <Custom Action="Action4CoreFeature" After="InstallInitialize">NOT 
Installed</Custom>
  <Custom Action="Action4OptionalFeature" After="Action4CoreFeature">NOT 
Installed</Custom>
  <Custom Action="SomeAnotherAction" After="Action4OptionalFeature">NOT 
Installed</Custom>
</InstallExecuteSequence>

*I want:*
The action Action4OptionalFeature gets executed if and only if the feature 
"OptionalFeature" is selected by the user.

wix 2.0.5325
Thanks.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to