Thanks Chris, it works just fine.
...
<Custom Action="Action4OptionalFeature" After="InstallInitialize">NOT
Installed AND <![CDATA[&OptionalFeature=3]]></Custom>
...
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.
<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
-------------------------------------------------------------------------
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