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

Implement proper properties handling on the commandline in msiexec.

parent 4ce6ee1b
......@@ -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 Bron\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;
......
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