msiexec: Recognize /uninstall as alias for /x [resend].
This commit is contained in:
parent
e560e2ead5
commit
5c02e3f8b5
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue