You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(currentPath==pathOfService)Logging.WriteMessage("The file is located in {0}, you can not delete it from there after the service installation",currentPath);
29
+
else
29
30
{
30
31
Logging.WriteMessage("Copying file to "+pathOfService);
31
32
File.Copy(currentPath,pathOfService,true);
@@ -34,7 +35,7 @@ static int Main(string[] args)
34
35
Logging.WriteMessage("Service Installed");
35
36
conststringserviceName="NetworkAutoSwitch";
36
37
inttimeout=5000;
37
-
Logging.WriteMessage(String.Format("Starting Windows Service {0} with timeout of {1} ms",serviceName,timeout));
38
+
Logging.WriteMessage("Starting Windows Service {0} with timeout of {1} ms",serviceName,timeout);
0 commit comments