summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Benditovich <yuri.benditovich@daynix.com>2019-03-18 14:57:58 +0200
committerYan Vugenfirer <yan@daynix.com>2019-04-15 11:02:48 +0300
commit7ad99b074c91428a5e7eab9eb1ada8288606036b (patch)
tree6a701ad7fc22c04ef6094a943d6eeff18d9d51b5
parent4c339641580897be151657ea097739b0d2188e91 (diff)
MSI installer: add ability to suppress message boxes
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 <yuri.benditovich@daynix.com>
-rw-r--r--Tools/Installer/UsbDkInstaller.wxs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/Installer/UsbDkInstaller.wxs b/Tools/Installer/UsbDkInstaller.wxs
index 677060f..3c3105f 100644
--- a/Tools/Installer/UsbDkInstaller.wxs
+++ b/Tools/Installer/UsbDkInstaller.wxs
@@ -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">