Author: nextgens
Date: 2007-09-07 19:59:21 +0000 (Fri, 07 Sep 2007)
New Revision: 15012

Modified:
   trunk/apps/installer/installclasspath/windows/update.cmd
Log:
update.cmd: do things in order

Modified: trunk/apps/installer/installclasspath/windows/update.cmd
===================================================================
--- trunk/apps/installer/installclasspath/windows/update.cmd    2007-09-07 
18:51:39 UTC (rev 15011)
+++ trunk/apps/installer/installclasspath/windows/update.cmd    2007-09-07 
19:59:21 UTC (rev 15012)
@@ -103,13 +103,6 @@
 echo - Freenet installation found at %LOCATION%
 echo -----

-:: Disable password expiration on freenet's account
-if exist bin\netuser.exe goto pwupdated
- at java -cp lib\sha1test.jar Sha1Test installer/netuser.exe bin/ > NUL
-if not errorlevel 0 goto error3
- at bin\netuser.exe freenet /pwnexp:y >NUL
-:pwupdated
-
 :: Register .fref file extention
 if exist fref.reg goto regupdated
 echo - Registering .fref file extention
@@ -137,6 +130,13 @@
 if not exist lib\sha1test.jar bin\wget.exe -o NUL -c --timeout=5 --tries=5 
--waitretry=10  
http://downloads.freenetproject.org/alpha/installer/sha1test.jar -O 
lib\sha1test.jar
 if not errorlevel 0 goto error3

+:: Disable password expiration on freenet's account
+if exist bin\netuser.exe goto pwupdated
+ at java -cp lib\sha1test.jar Sha1Test installer/netuser.exe bin/ > NUL
+if not errorlevel 0 goto error3
+ at bin\netuser.exe freenet /pwnexp:y >NUL
+:pwupdated
+
 if exist freenet-%RELEASE%-latest.jar.new.url del 
freenet-%RELEASE%-latest.jar.new.url
 bin\wget.exe -o NUL -c --timeout=5 --tries=5 --waitretry=10 
http://downloads.freenetproject.org/alpha/freenet-%RELEASE%-latest.jar.url -O 
freenet-%RELEASE%-latest.jar.new.url
 Title Freenet Update Over HTTP Script


Reply via email to