You can condition your custom actions based on the action-state of your feature, like so.
<InstallExecuteSequence> <Custom Action="CreateScheduledTask" Before="InstallFinalize">&SWUSchedTaskFeature=3</Custom> <Custom Action="RemoveScheduledTask" Before="RemoveFiles">&SWUSchedTaskFeature=2</Custom> </InstallExecuteSequence> More info... http://msdn.microsoft.com/en-us/library/aa368012(VS.85).aspx -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-execution-by-feature-tp5205927p5206183.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users