Commit 58722d6f authored by Alexandre Julliard's avatar Alexandre Julliard

Added /regserver and /unregserver options.

parent 233766aa
......@@ -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);
......
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