msiexec: Recognize /uninstall as alias for /x [resend].

This commit is contained in:
Detlef Riekenberg 2010-04-21 10:44:10 +02:00 committed by Alexandre Julliard
parent e560e2ead5
commit 5c02e3f8b5
1 changed files with 3 additions and 3 deletions

View File

@ -660,11 +660,11 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
WINE_TRACE("argvW[%d] = %s\n", i, wine_dbgstr_w(argvW[i])); WINE_TRACE("argvW[%d] = %s\n", i, wine_dbgstr_w(argvW[i]));
PackageName = argvW[i]; PackageName = argvW[i];
} }
else if(msi_option_prefix(argvW[i], "x")) else if(msi_option_prefix(argvW[i], "x") || msi_option_equal(argvW[i], "uninstall"))
{ {
FunctionInstall = TRUE; FunctionInstall = TRUE;
PackageName = argvW[i]+2; if(msi_option_prefix(argvW[i], "x")) PackageName = argvW[i]+2;
if (!PackageName[0]) if(!PackageName || !PackageName[0])
{ {
i++; i++;
if (i >= argc) if (i >= argc)