Implement proper properties handling on the commandline in msiexec.
This commit is contained in:
parent
4ce6ee1b31
commit
9cb68a7626
|
@ -54,7 +54,6 @@ static const char UsageStr[] =
|
|||
" msiexec /z module\n"
|
||||
" Display usage and copyright:\n"
|
||||
" msiexec {/h|/?}\n"
|
||||
"NOTE: Properties on commandline unimplemented as of yet\n"
|
||||
"NOTE: Product code on commandline unimplemented as of yet\n"
|
||||
"\n"
|
||||
"Copyright 2004 Vincent Béron\n";
|
||||
|
@ -563,6 +562,18 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
ShowUsage(0);
|
||||
}
|
||||
else if(strchr(argv[i], '='))
|
||||
{
|
||||
TempStr = HeapReAlloc(GetProcessHeap(), 0, Properties, HeapSize(GetProcessHeap(), 0, Properties)+strlen(argv[i])+1);
|
||||
if(!TempStr)
|
||||
{
|
||||
WINE_ERR("Out of memory!\n");
|
||||
ExitProcess(1);
|
||||
}
|
||||
Properties = TempStr;
|
||||
strcat(Properties, argv[i]);
|
||||
strcat(Properties, " ");
|
||||
}
|
||||
else
|
||||
{
|
||||
FunctionInstall = TRUE;
|
||||
|
|
Loading…
Reference in New Issue