From 58722d6f9e0aead49b77cf5017775c4ed4d6559d Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 20 Sep 2004 21:49:42 +0000 Subject: [PATCH] Added /regserver and /unregserver options. --- programs/msiexec/msiexec.c | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/programs/msiexec/msiexec.c b/programs/msiexec/msiexec.c index 5516eccd6c8..c92b5cddf00 100644 --- a/programs/msiexec/msiexec.c +++ b/programs/msiexec/msiexec.c @@ -179,6 +179,8 @@ int main(int argc, char *argv[]) BOOL FunctionPatch = FALSE; BOOL FunctionDllRegisterServer = FALSE; BOOL FunctionDllUnregisterServer = FALSE; + BOOL FunctionRegServer = FALSE; + BOOL FunctionUnregServer = FALSE; BOOL GotProductCode = FALSE; LPCSTR PackageName = NULL; @@ -209,7 +211,15 @@ int main(int argc, char *argv[]) { WINE_TRACE("argv[%d] = %s\n", i, argv[i]); - if(!strncasecmp(argv[i], "/i", 2)) + if (!strcasecmp(argv[i], "/regserver")) + { + FunctionRegServer = TRUE; + } + else if (!strcasecmp(argv[i], "/unregserver") || !strcasecmp(argv[i], "/unregister")) + { + FunctionUnregServer = TRUE; + } + else if(!strncasecmp(argv[i], "/i", 2)) { char *argvi = argv[i]; FunctionInstall = TRUE; @@ -619,6 +629,14 @@ int main(int argc, char *argv[]) { DllUnregisterServer(DllName); } + else if (FunctionRegServer) + { + WINE_FIXME( "/regserver not implemented yet, ignoring\n" ); + } + else if (FunctionUnregServer) + { + WINE_FIXME( "/unregserver not implemented yet, ignoring\n" ); + } else ShowUsage(1);