Added windows uninstall actions
This commit is contained in:
@@ -80,18 +80,15 @@ public class SetupAsWindowsService
|
||||
file = new File("c:\\test6.log");
|
||||
fw = new FileWriter(file);
|
||||
|
||||
log("Here we go: " + args.length);
|
||||
for (int i = 0; i < args.length; i++)
|
||||
{
|
||||
log("Arg " + i + " = " + args[i]);
|
||||
}
|
||||
|
||||
// Process the arguments
|
||||
log("Process args");
|
||||
if (ERROR_NO_ERROR == (rc = processArgs(args)))
|
||||
{
|
||||
// Process the properties
|
||||
log("Process properties");
|
||||
if (ERROR_NO_ERROR == (rc = processProperties()))
|
||||
{
|
||||
log("setupService");
|
||||
rc = setupService();
|
||||
}
|
||||
}
|
||||
@@ -156,6 +153,11 @@ public class SetupAsWindowsService
|
||||
log("New arg count " + args.length);
|
||||
for (i = 0; i < args.length; i++)
|
||||
{
|
||||
if (null == args[i])
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
log("arg[" + i + "] = " +args[i]);
|
||||
|
||||
// is this the install dir param?
|
||||
@@ -237,7 +239,6 @@ public class SetupAsWindowsService
|
||||
}
|
||||
|
||||
// Note: the properties file parameter is optional
|
||||
|
||||
return ERROR_NO_ERROR;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user