From b99e987d7e7363aeb95cf0dd6817d73993f7cb05 Mon Sep 17 00:00:00 2001 From: Mac Justice Date: Tue, 7 Jul 2015 17:48:37 -0700 Subject: [PATCH] Change msiexec flag to prevent modal dialog In testing Brigadier with W8.1, we found that the modal created by msiexec was halting execution. Following TechNet's msiexec docs (linked below), we found that /qb or another UI level that didn't include a modal dialog would complete successfully. https://technet.microsoft.com/en-us/library/cc759262(v=ws.10).aspx#BKMK_SetUI --- brigadier | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brigadier b/brigadier index a6f59f8..c54989a 100755 --- a/brigadier +++ b/brigadier @@ -114,7 +114,7 @@ def findBootcampMSI(search_dir): def installBootcamp(msipath): logpath = os.path.abspath("/BootCamp_Install.log") - cmd = ['cmd', '/c', 'msiexec', '/i', msipath, '/qr', '/norestart', '/log', logpath] + cmd = ['cmd', '/c', 'msiexec', '/i', msipath, '/qb-', '/norestart', '/log', logpath] status("Executing command: '%s'" % " ".join(cmd)) subprocess.call(cmd) status("Install log output:")