msiexec: Should recognize /xpackage syntax.

This commit is contained in:
Andrey Turkin 2006-09-22 06:16:52 +04:00 committed by Alexandre Julliard
parent 5537fbbcff
commit d456e9f49f

View File

@ -546,14 +546,18 @@ int main(int argc, char **argv)
WINE_TRACE("argvW[%d] = %s\n", i, wine_dbgstr_w(argvW[i]));
PackageName = argvW[i];
}
else if(msi_option_equal(argvW[i], "x"))
else if(msi_option_prefix(argvW[i], "x"))
{
FunctionInstall = TRUE;
i++;
if(i >= argc)
ShowUsage(1);
WINE_TRACE("argvW[%d] = %s\n", i, wine_dbgstr_w(argvW[i]));
PackageName = argvW[i];
PackageName = argvW[i]+2;
if (!PackageName[0])
{
i++;
if (i >= argc)
ShowUsage(1);
PackageName = argvW[i];
}
WINE_TRACE("PackageName = %s\n", wine_dbgstr_w(PackageName));
StringListAppend(&property_list, RemoveAll);
}
else if(msi_option_prefix(argvW[i], "j"))