[install] Run setup.bat during MSI installation

I cannot believe how difficult it has been to persuade WiX to perform
what seems like such a trivial task.
This commit is contained in:
Michael Brown 2009-10-29 21:37:07 +00:00
parent 56955a0f05
commit 77beee8087

View File

@ -61,5 +61,17 @@
<WixVariable Id="WixUILicenseRtf" Value="gpl.rtf" />
<UIRef Id="WixUI_Minimal" />
<CustomAction Id="run_setup_bat"
Directory="bin"
ExeCommand="cmd.exe /c setup.bat"
Execute="deferred"
Return="check" />
<InstallExecuteSequence>
<Custom Action="run_setup_bat" Before="InstallFinalize">
<![CDATA[NOT Installed]]>
</Custom>
</InstallExecuteSequence>
</Product>
</Wix>