I need to call two separate 3rd party installation Setup.exe files during my
WiX installation. I have managed to do so by using the following XML:
<!-- Install Intermec Active X controls
after the installation -->
<Binary Id="ItcAXSetup"
SourceFile="data\Intermec Drivers\IntermecActiveXControls.exe" />
<CustomAction Id="ItcAXSetup"
BinaryKey="ItcAXSetup" ExeCommand="" />
<InstallExecuteSequence>
<Custom Action="ItcAXSetup"
After="InstallFinalize" />
</InstallExecuteSequence>
<!-- Install Intermec drivers after the
Intermec Active X controls -->
<Binary Id="ItcSetup"
SourceFile="data\Intermec Drivers\Intermec.exe" />
<CustomAction Id="ItcSetup"
BinaryKey="ItcSetup" ExeCommand="" />
<InstallExecuteSequence>
<Custom Action="ItcSetup"
After="ItcAXSetup" />
</InstallExecuteSequence>
I was wondering if there is a way to only run these custom actions if a
feature I have defined is installed?
One more question, these custom actions are executed when I uninstall the
program as well. How do I prevent these custom actions from executing when
the user uninstalls my program? Thank you for your time.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users