I have a vustom action which installs some 3rd party tools... <CustomAction Id="InstallFFDShow" BinaryKey="ffdshow.exe" ExeCommand="/VERYSILENT /loadinf="ffdshow.inf"" Execute="deferred" Impersonate="no" HideTarget="no" /> <CustomAction Id="UninstallFFDShow" Property="FFDSHOWUNINSTALLPATH" Execute="deferred" ExeCommand="/VERYSILENT" Impersonate="no" HideTarget="no" />
<InstallExecuteSequence> <Custom Action="InstallFFDShow" After="InstallFiles"><![CDATA[ $ProductComponent > 2 ]]></Custom> <Custom Action="UninstallFFDShow" Before="InstallFinalize">FFDSHOWUNINSTALLPATH AND <![CDATA[ $ProductComponent = 2 ]]></Custom> </InstallExecuteSequence> This works well, on install it runs the ffdshow.exe, and on uninstall it runs the ffdshow uninstaller (FFDSHOWUNINSTALLPATH is an exe located via the registry). My question is: How do I get the "UninstallFFDShow" to run during rollback? Currently, if there is an exception causing a failure to commit (such as is simulated by the FailInstallFromCommitCustomAction.msm), there is nothing to run the ffdshow uninstaller. What do I put in to do this? I tried adding another <Custom> tag, which ran After="RemoveFiles", but this did nothing... Can anyone give me an example? Thanks Adam ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users