Hi
I'm totally new to MSI and WIX, and I want the MSI to run an executable
(.EXE file) during the installation process, but not when the application is
being uninstalled. So I used a custom action, and put it inside
InstallExecuteSequence, but I don't know what should I do to prevent it from
running during uninstall. This is the general format of my WXS file.
<Wix>
<Product>
<Directory>
<Component Id="Cmp1">
<File Id="SomeFile">
</Component>
</Directory>
<Binary Id="MyExecutable" />
<Feature Id="Ftr">
<ComponentRef Id="Cmp1" />
</Feature>
<CustomAction Id="DoAction" BinaryKey="MyExecutable"
ExecCommand="-CommandParams" />
<InstallExecuteSequence>
<Custom Action "DoAction" Sequence="1" />
</InstallExecuteSequence>
</Product>
</Wix>
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users