From c0b3f3f2e8ebc17b68ce31af7d02fb1a2ef9de6e Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Tue, 6 Oct 2015 00:29:13 +0200 Subject: [PATCH] msiexec: Add support for /passive. Signed-off-by: Hans Leidekker --- programs/msiexec/msiexec.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/programs/msiexec/msiexec.c b/programs/msiexec/msiexec.c index bb5c9315314..b7999d1dd5b 100644 --- a/programs/msiexec/msiexec.c +++ b/programs/msiexec/msiexec.c @@ -924,6 +924,14 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine wine_dbgstr_w(argvW[i]+2)); } } + else if(msi_option_equal(argvW[i], "passive")) + { + static const WCHAR rebootpromptW[] = + {'R','E','B','O','O','T','P','R','O','M','P','T','=','"','S','"',0}; + + InstallUILevel = INSTALLUILEVEL_BASIC|INSTALLUILEVEL_PROGRESSONLY|INSTALLUILEVEL_HIDECANCEL; + StringListAppend(&property_list, rebootpromptW); + } else if(msi_option_equal(argvW[i], "y")) { FunctionDllRegisterServer = TRUE;