In the absence of any other option to msiexec, treat the commandline
as a package name to install.
This commit is contained in:
parent
37cc006083
commit
fdda7e7d6c
@ -32,7 +32,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msiexec);
|
|||||||
static const char UsageStr[] =
|
static const char UsageStr[] =
|
||||||
"Usage:\n"
|
"Usage:\n"
|
||||||
" Install a product:\n"
|
" Install a product:\n"
|
||||||
" msiexec {package|productcode} [property] (UNIMPLEMENTED)\n"
|
" msiexec {package|productcode} [property]\n"
|
||||||
" msiexec /i {package|productcode} [property]\n"
|
" msiexec /i {package|productcode} [property]\n"
|
||||||
" msiexec /a package [property]\n"
|
" msiexec /a package [property]\n"
|
||||||
" Repair an installation:\n"
|
" Repair an installation:\n"
|
||||||
@ -563,6 +563,17 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
ShowUsage(0);
|
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] == ' ')
|
if(Properties[strlen(Properties)-1] == ' ')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user