Author: nextgens
Date: 2008-05-28 08:33:29 +0000 (Wed, 28 May 2008)
New Revision: 20109

Modified:
   trunk/apps/installer/installclasspath/windows/update.cmd
Log:
Fix #2390: update.cmd on Windows FAILS if FMS is installed as a service

Modified: trunk/apps/installer/installclasspath/windows/update.cmd
===================================================================
--- trunk/apps/installer/installclasspath/windows/update.cmd    2008-05-27 
22:26:55 UTC (rev 20108)
+++ trunk/apps/installer/installclasspath/windows/update.cmd    2008-05-28 
08:33:29 UTC (rev 20109)
@@ -158,13 +158,13 @@
 echo - New version found!
 echo -----

-net start | find "Freenet" > NUL
+net start | find "Freenet 0.7 darknet" > NUL
 if errorlevel 1 goto update2 > NUL
 set RESTART=1
 ::Tell the user not to abort script, it gets very messy.
 echo - Shutting down Freenet...   (This may take a moment, please don't abort)
 call bin\stop.cmd > NUL
-net start | find "Freenet" > NUL
+net start | find "Freenet 0.7 darknet" > NUL
 if errorlevel 1 goto update2 > NUL
 :: Uh oh, this may take a few tries.  Better tell the user not to panic.
 echo -
@@ -175,7 +175,7 @@
 echo -
 ::Keep trying until service is stopped for sure.
 :safetycheck
-net start | find "Freenet" > NUL
+net start | find "Freenet 0.7 darknet" > NUL
 if errorlevel 1 goto update2 > NUL
 call bin\stop.cmd > NUL
 goto safetycheck


Reply via email to