From 07888bca3dda1fbb030235138038c69890b143d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20B=C3=A9ron?= Date: Fri, 23 Jul 2004 23:17:31 +0000 Subject: [PATCH] Dump (via TRACEs) all the arguments of msiexec. --- programs/msiexec/msiexec.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/programs/msiexec/msiexec.c b/programs/msiexec/msiexec.c index bc5e9e70bb6..2ca7072bc77 100644 --- a/programs/msiexec/msiexec.c +++ b/programs/msiexec/msiexec.c @@ -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], "/?"))