Author: nextgens
Date: 2007-09-07 18:43:41 +0000 (Fri, 07 Sep 2007)
New Revision: 15010

Modified:
   trunk/apps/installer/installclasspath/windows/update.cmd
Log:
update.cmd: don't re-register registry entries on each run

Modified: trunk/apps/installer/installclasspath/windows/update.cmd
===================================================================
--- trunk/apps/installer/installclasspath/windows/update.cmd    2007-09-07 
18:42:21 UTC (rev 15009)
+++ trunk/apps/installer/installclasspath/windows/update.cmd    2007-09-07 
18:43:41 UTC (rev 15010)
@@ -111,6 +111,7 @@
 :pwupdated

 :: Register .fref file extention
+if exist fref.ref goto regupdated
 echo - Registering .fref file extention

 echo Windows Registry Editor Version 5.00 >> fref.reg
@@ -126,7 +127,7 @@
 echo @="Open" >> fref.reg
 regedit /s fref.reg > NUL
 FTYPE fref_auto_file=start javaw -cp "%LOCATION%\freenet.jar" 
freenet.tools.AddRef "%%1" > NUL
-del /F fref.reg
+:regupdated

 echo -----
 echo - Checking for Freenet JAR updates...


Reply via email to