Hans Leidekker : msiexec: Add support for /passive.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Oct 6 09:43:59 CDT 2015
Module: wine
Branch: master
Commit: c0b3f3f2e8ebc17b68ce31af7d02fb1a2ef9de6e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c0b3f3f2e8ebc17b68ce31af7d02fb1a2ef9de6e
Author: Hans Leidekker <hans at codeweavers.com>
Date: Tue Oct 6 00:29:13 2015 +0200
msiexec: Add support for /passive.
Signed-off-by: Hans Leidekker <hans at 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;
More information about the wine-cvs
mailing list