Commit fdda7e7d authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard

In the absence of any other option to msiexec, treat the commandline

as a package name to install.
parent 37cc0060
......@@ -32,7 +32,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msiexec);
static const char UsageStr[] =
"Usage:\n"
" Install a product:\n"
" msiexec {package|productcode} [property] (UNIMPLEMENTED)\n"
" msiexec {package|productcode} [property]\n"
" msiexec /i {package|productcode} [property]\n"
" msiexec /a package [property]\n"
" Repair an installation:\n"
......@@ -563,6 +563,17 @@ int main(int argc, char *argv[])
{
ShowUsage(0);
}
else
{
FunctionInstall = TRUE;
GotProductCode = GetProductCode(argv[i], ProductCode);
if(!GotProductCode)
{
HeapFree(GetProcessHeap(), 0, ProductCode);
ProductCode = NULL;
PackageName = argv[i];
}
}
}
if(Properties[strlen(Properties)-1] == ' ')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment