Module: wine Branch: master Commit: c0b3f3f2e8ebc17b68ce31af7d02fb1a2ef9de6e URL: http://source.winehq.org/git/wine.git/?a=commit;h=c0b3f3f2e8ebc17b68ce31af7d...
Author: Hans Leidekker hans@codeweavers.com Date: Tue Oct 6 00:29:13 2015 +0200
msiexec: Add support for /passive.
Signed-off-by: Hans Leidekker hans@codeweavers.com
---
programs/msiexec/msiexec.c | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/programs/msiexec/msiexec.c b/programs/msiexec/msiexec.c index bb5c931..b7999d1 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;