mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
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
1 changed files with 12 additions and 1 deletions
|
@ -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] == ' ')
|
||||
|
|
Loading…
Reference in a new issue