[2/2] msiexec: Add support for /passive.
Hans Leidekker
hans at codeweavers.com
Mon Oct 5 17:29:13 CDT 2015
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..941b7c4 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;
--
2.1.4
More information about the wine-patches
mailing list