Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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.
  • Loading branch information
Michael Brown committed Oct 29, 2009
1 parent 56955a0 commit 77beee8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/msi/sanbootconf.wxs
Expand Up @@ -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>

0 comments on commit 77beee8

Please sign in to comment.