Author: nextgens
Date: 2006-03-31 13:22:42 +0000 (Fri, 31 Mar 2006)
New Revision: 8389

Added:
   trunk/apps/installer/installclasspath/windows/update.cmd
   trunk/apps/installer/installclasspath/windows/wget.exe
Modified:
   trunk/apps/installer/build.xml
Log:
installer: first unoptimized version of the windows updater

Modified: trunk/apps/installer/build.xml
===================================================================
--- trunk/apps/installer/build.xml      2006-03-31 13:04:46 UTC (rev 8388)
+++ trunk/apps/installer/build.xml      2006-03-31 13:22:42 UTC (rev 8389)
@@ -143,6 +143,10 @@
                <replace file="${installDir}/stop.cmd">
                        <replacefilter token="@serviceName@" 
value="freenet-${freenetWorkingMode}"/>
                </replace>
+               <copy file="${basedir}/windows/update.cmd"  
tofile="${installDir}/update.cmd"/>
+               <replace file="${installDir}/update.cmd">
+                       <replacefilter token="@serviceName@" 
value="freenet-${freenetWorkingMode}"/>
+               </replace>
                <copy file="${basedir}/windows/freenet.ico"  
tofile="${installDir}/freenet.ico"/>
                <echo message="Creating shortcuts"/>
                <exec executable="cscript" dir="${basedir}/windows" >

Added: trunk/apps/installer/installclasspath/windows/update.cmd
===================================================================
--- trunk/apps/installer/installclasspath/windows/update.cmd    2006-03-31 
13:04:46 UTC (rev 8388)
+++ trunk/apps/installer/installclasspath/windows/update.cmd    2006-03-31 
13:22:42 UTC (rev 8389)
@@ -0,0 +1,7 @@
+ at echo "Stopping Freenet"
+ at net stop freenet- at serviceName@
+ at echo "Updating Freenet"
+bin\wget.exe -o NUL -N 
http://downloads.freenetproject.org/alpha/freenet-cvs-snapshot.jar.url
+bin\wget.exe -o NUL -i freenet-cvs-snapshot.jar.url -O freenet-cvs-snapshot.jar
+ at echo "Restarting Freenet"
+ at net start freenet- at serviceName@

Added: trunk/apps/installer/installclasspath/windows/wget.exe
===================================================================
(Binary files differ)


Property changes on: trunk/apps/installer/installclasspath/windows/wget.exe
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream


Reply via email to