Skip to content

Commit

Permalink
MSI installer: add ability to suppress message boxes
Browse files Browse the repository at this point in the history
Added option MSGBOX=n to MSI package that forces the
installer to run without pop-up message boxes in case
of failure or request to reboot.

Signed-off-by: Yuri Benditovich <[email protected]>
  • Loading branch information
ybendito authored and YanVugenfirer committed Apr 15, 2019
1 parent 4c33964 commit 7ad99b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tools/Installer/UsbDkInstaller.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,11 @@
</Directory>
</Directory>

<Property Id="MSGBOX" Value=" " />

<CustomAction Id="InstallDriver"
Directory="UsbDk_Directory"
ExeCommand="[UsbDk_Directory]\UsbDkInstHelper.exe i"
ExeCommand="[UsbDk_Directory]\UsbDkInstHelper.exe i[MSGBOX]"
Execute="deferred"
Impersonate="no"
Return="check">
Expand Down

0 comments on commit 7ad99b0

Please sign in to comment.