Dump (via TRACEs) all the arguments of msiexec.

This commit is contained in:
Vincent Béron 2004-07-23 23:17:31 +00:00 committed by Alexandre Julliard
parent 6dc4e2af82
commit 07888bca3d
1 changed files with 14 additions and 0 deletions

View File

@ -155,6 +155,7 @@ int main(int argc, char *argv[])
i++;
if(i >= argc)
ShowUsage(1);
WINE_TRACE("argv[%d] = %s\n", i, argv[i]);
GotProductCode = GetProductCode(argv[i], ProductCode);
if(!GotProductCode)
{
@ -169,6 +170,7 @@ int main(int argc, char *argv[])
i++;
if(i >= argc)
ShowUsage(1);
WINE_TRACE("argv[%d] = %s\n", i, argv[i]);
PackageName = argv[i];
TempStr = HeapReAlloc(GetProcessHeap(), 0, Properties, HeapSize(GetProcessHeap(), 0, Properties)+strlen(ActionAdmin));
if(!TempStr)
@ -236,6 +238,7 @@ int main(int argc, char *argv[])
i++;
if(i >= argc)
ShowUsage(1);
WINE_TRACE("argv[%d] = %s\n", i, argv[i]);
GotProductCode = GetProductCode(argv[i], ProductCode);
if(!GotProductCode)
{
@ -250,6 +253,7 @@ int main(int argc, char *argv[])
i++;
if(i >= argc)
ShowUsage(1);
WINE_TRACE("argv[%d] = %s\n", i, argv[i]);
GotProductCode = GetProductCode(argv[i], ProductCode);
if(!GotProductCode)
{
@ -291,6 +295,7 @@ int main(int argc, char *argv[])
i++;
if(i >= argc)
ShowUsage(1);
WINE_TRACE("argv[%d] = %s\n", i, argv[i]);
PackageName = argv[i];
}
else if(!strcasecmp(argv[i], "u"))
@ -300,6 +305,7 @@ int main(int argc, char *argv[])
i++;
if(i >= argc)
ShowUsage(1);
WINE_TRACE("argv[%d] = %s\n", i, argv[i]);
PackageName = argv[i];
}
else if(!strcasecmp(argv[i], "m"))
@ -309,6 +315,7 @@ int main(int argc, char *argv[])
i++;
if(i >= argc)
ShowUsage(1);
WINE_TRACE("argv[%d] = %s\n", i, argv[i]);
PackageName = argv[i];
}
else if(!strcasecmp(argv[i], "/t"))
@ -316,6 +323,7 @@ int main(int argc, char *argv[])
i++;
if(i >= argc)
ShowUsage(1);
WINE_TRACE("argv[%d] = %s\n", i, argv[i]);
TempStr = HeapReAlloc(GetProcessHeap(), 0, Transforms, HeapSize(GetProcessHeap(), 0, Transforms)+strlen(argv[i])+1);
if(!TempStr)
{
@ -343,6 +351,7 @@ int main(int argc, char *argv[])
i++;
if(i >= argc)
ShowUsage(1);
WINE_TRACE("argv[%d] = %s\n", i, argv[i]);
Language = strtol(argv[i], NULL, 0);
}
else if(!strncasecmp(argv[i], "/l", 2))
@ -350,6 +359,7 @@ int main(int argc, char *argv[])
i++;
if(i >= argc)
ShowUsage(1);
WINE_TRACE("argv[%d] = %s\n", i, argv[i]);
WINE_FIXME("Logging not yet implemented\n");
ExitProcess(1);
}
@ -358,6 +368,7 @@ int main(int argc, char *argv[])
i++;
if(i >= argc)
ShowUsage(1);
WINE_TRACE("argv[%d] = %s\n", i, argv[i]);
WINE_FIXME("Patching not yet implemented\n");
ExitProcess(1);
}
@ -366,6 +377,7 @@ int main(int argc, char *argv[])
i++;
if(i >= argc)
ShowUsage(1);
WINE_TRACE("argv[%d] = %s\n", i, argv[i]);
WINE_FIXME("User interface not yet implemented\n");
ExitProcess(1);
}
@ -375,6 +387,7 @@ int main(int argc, char *argv[])
i++;
if(i >= argc)
ShowUsage(1);
WINE_TRACE("argv[%d] = %s\n", i, argv[i]);
DllName = argv[i];
}
else if(!strcasecmp(argv[i], "/z"))
@ -383,6 +396,7 @@ int main(int argc, char *argv[])
i++;
if(i >= argc)
ShowUsage(1);
WINE_TRACE("argv[%d] = %s\n", i, argv[i]);
DllName = argv[i];
}
else if(!strcasecmp(argv[i], "/h") || !strcasecmp(argv[i], "/?"))