mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
Added /regserver and /unregserver options.
This commit is contained in:
parent
233766aafa
commit
58722d6f9e
1 changed files with 19 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue