Hans Leidekker : msiexec: Command line option '!' is used to hide the cancel button.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Sep 2 14:30:37 CDT 2014


Module: wine
Branch: master
Commit: f5d916db0641a5d3cb0007b21251c423d6f64d9a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f5d916db0641a5d3cb0007b21251c423d6f64d9a

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon Sep  1 16:02:57 2014 +0200

msiexec: Command line option '!' is used to hide the cancel button.

---

 programs/msiexec/msiexec.c | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/programs/msiexec/msiexec.c b/programs/msiexec/msiexec.c
index e76b526..1c42e90 100644
--- a/programs/msiexec/msiexec.c
+++ b/programs/msiexec/msiexec.c
@@ -912,13 +912,18 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
 			}
 			else if(msi_strequal(argvW[i]+2, "b+!"))
 			{
-				InstallUILevel = INSTALLUILEVEL_BASIC|INSTALLUILEVEL_ENDDIALOG;
-				WINE_FIXME("Unknown modifier: !\n");
+				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!"))
 			{
-				InstallUILevel = INSTALLUILEVEL_BASIC;
-				WINE_FIXME("Unknown modifier: !\n");
+				WINE_FIXME("Unhandled modifier: !\n");
+				InstallUILevel = INSTALLUILEVEL_BASIC|INSTALLUILEVEL_HIDECANCEL;
 			}
 			else
 			{




More information about the wine-cvs mailing list