Hi!
I'm trying to execute multiple custom actions when the user presses a
button in my installer. My current approach is to publish multiple
events from the button, like this:
<Control Id="Install" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="Install">
<Condition Action="hide">
Is_DirectX_9.0_Installed = "1" AND
Is_D3DX_October_2006_Installed = "1" AND
Is_DotNet_2.0_Installed = "1" AND
Is_Xna_1.0_Refresh_Installed = "1"
</Condition>
<Condition Action="show">
Is_DirectX_9.0_Installed <> "1" OR
Is_D3DX_October_2006_Installed <> "1" OR
Is_DotNet_2.0_Installed <> "1" OR
Is_Xna_1.0_Refresh_Installed <> "1"
</Condition>
<Publish Event="DoAction" Value="InstallDirectX">1</Publish>
<Publish Event="DoAction" Value="InstallDotNet">1</Publish>
<Publish Event="DoAction" Value="InstallXna">1</Publish>
<Publish Event="NewDialog" Value="SelectFolderDialog">1</Publish>
</Control>
However, the order the custom actions are executed in is relevant. They
are executed in the order I wrote them, but I don't think WiX gives me
any guarantee about that.
Is there another way to chain multiple custom actions to a button?
-Markus-
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users