Author: akhaldi
Date: Thu Nov 26 22:47:29 2015
New Revision: 70125
URL:
http://svn.reactos.org/svn/reactos?rev=70125&view=rev
Log:
[MSIEXEC] Sync with Wine Staging 1.7.55. CORE-10536
Modified:
trunk/reactos/base/system/msiexec/msiexec.c
trunk/reactos/media/doc/README.WINE
Modified: trunk/reactos/base/system/msiexec/msiexec.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/msiexec/msiexe…
==============================================================================
--- trunk/reactos/base/system/msiexec/msiexec.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/msiexec/msiexec.c [iso-8859-1] Thu Nov 26 22:47:29 2015
@@ -882,10 +882,6 @@
{
InstallUILevel = INSTALLUILEVEL_NONE;
}
- else if(msi_strequal(argvW[i]+2, "b"))
- {
- InstallUILevel = INSTALLUILEVEL_BASIC;
- }
else if(msi_strequal(argvW[i]+2, "r"))
{
InstallUILevel = INSTALLUILEVEL_REDUCED;
@@ -898,28 +894,25 @@
{
InstallUILevel = INSTALLUILEVEL_NONE|INSTALLUILEVEL_ENDDIALOG;
}
- else if(msi_strequal(argvW[i]+2, "b+"))
- {
- InstallUILevel = INSTALLUILEVEL_BASIC|INSTALLUILEVEL_ENDDIALOG;
- }
- else if(msi_strequal(argvW[i]+2, "b-"))
- {
- InstallUILevel = INSTALLUILEVEL_BASIC|INSTALLUILEVEL_PROGRESSONLY;
- }
- else if(msi_strequal(argvW[i]+2, "b+!"))
- {
- WINE_FIXME("Unhandled modifier: !\n");
- InstallUILevel =
INSTALLUILEVEL_BASIC|INSTALLUILEVEL_ENDDIALOG|INSTALLUILEVEL_HIDECANCEL;
- }
- else if(msi_strequal(argvW[i]+2, "b-!"))
- {
- WINE_FIXME("Unhandled modifier: !\n");
- InstallUILevel =
INSTALLUILEVEL_BASIC|INSTALLUILEVEL_PROGRESSONLY|INSTALLUILEVEL_HIDECANCEL;
- }
- else if(msi_strequal(argvW[i]+2, "b!"))
- {
- WINE_FIXME("Unhandled modifier: !\n");
- InstallUILevel = INSTALLUILEVEL_BASIC|INSTALLUILEVEL_HIDECANCEL;
+ else if(msi_strprefix(argvW[i]+2, "b"))
+ {
+ const WCHAR *ptr = argvW[i] + 3;
+
+ InstallUILevel = INSTALLUILEVEL_BASIC;
+
+ while (*ptr)
+ {
+ if (msi_strprefix(ptr, "+"))
+ InstallUILevel |= INSTALLUILEVEL_ENDDIALOG;
+ if (msi_strprefix(ptr, "-"))
+ InstallUILevel |= INSTALLUILEVEL_PROGRESSONLY;
+ if (msi_strprefix(ptr, "!"))
+ {
+ WINE_FIXME("Unhandled modifier: !\n");
+ InstallUILevel |= INSTALLUILEVEL_HIDECANCEL;
+ }
+ ptr++;
+ }
}
else
{
@@ -927,6 +920,14 @@
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;
Modified: trunk/reactos/media/doc/README.WINE
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
==============================================================================
--- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original)
+++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Thu Nov 26 22:47:29 2015
@@ -243,7 +243,7 @@
reactos/base/applications/wordpad # Synced to WineStaging-1.7.55
reactos/base/services/rpcss # Synced to WineStaging-1.7.55
reactos/base/system/expand # Synced to WineStaging-1.7.47
-reactos/base/system/msiexec # Synced to WineStaging-1.7.47
+reactos/base/system/msiexec # Synced to WineStaging-1.7.55
reactos/modules/rosapps/winfile # Autosync
In addition the following libs, dlls and source files are mostly based on code ported