Author: toad
Date: 2008-04-21 13:57:18 +0000 (Mon, 21 Apr 2008)
New Revision: 19476

Modified:
   trunk/apps/new_installer/res/windows/bin/install_plugins.cmd
Log:
Fix reinstalls, and use \ not /

Modified: trunk/apps/new_installer/res/windows/bin/install_plugins.cmd
===================================================================
--- trunk/apps/new_installer/res/windows/bin/install_plugins.cmd        
2008-04-21 13:51:29 UTC (rev 19475)
+++ trunk/apps/new_installer/res/windows/bin/install_plugins.cmd        
2008-04-21 13:57:18 UTC (rev 19476)
@@ -12,7 +12,8 @@
 @set PLUGINS=JSTUN;%PLUGINS%
 @if exist offline goto end1
 @java -jar bin\sha1test.jar plugins/JSTUN.jar.url plugins > NUL
- at rename plugins/JSTUN.jar.url plugins/JSTUN.jar
+ at del plugins\JSTUN.jar > NUL
+ at rename plugins\JSTUN.jar.url plugins\JSTUN.jar > NUL
 :end1
 @del /F stun > NUL
 :nostun
@@ -22,7 +23,8 @@
 @set PLUGINS=MDNSDiscovery;%PLUGINS%
 @if exist offline goto end2
 @java -jar bin\sha1test.jar plugins/MDNSDiscovery.jar.url plugins > NUL
- at rename plugins/MDNSDiscovery.jar.url plugins/MDNSDiscovery.jar
+ at del plugins\MDNSDiscovery.jar > NUL
+ at rename plugins\MDNSDiscovery.jar.url plugins\MDNSDiscovery.jar > NUL
 :end2
 @del /F mdns > NUL
 :nomdns
@@ -32,7 +34,8 @@
 @set PLUGINS=UPnP;%PLUGINS%
 @if exist offline goto end3
 @java -jar bin\sha1test.jar plugins/UPnP.jar.url plugins > NUL
- at rename plugins/UPnP.jar.url plugins/UPnP.jar
+ at del plugins\UPnP.jar > NUL
+ at rename plugins\UPnP.jar.url plugins\UPnP.jar
 :end3
 @del /F upnp > NUL
 :noupnp
@@ -42,7 +45,8 @@
 @set PLUGINS=XMLLibrarian;%PLUGINS%
 @if exist offline goto end4
 @java -jar bin\sha1test.jar plugins/XMLLibrarian.jar.url plugins > NUL
- at rename plugins/XMLLibrarian.jar.url plugins/XMLLibrarian.jar
+ at del plugins\XMLLibrarian.jar > NUL
+ at rename plugins\XMLLibrarian.jar.url plugins\XMLLibrarian.jar
 :end4
 @del /F xmllibrarian > NUL
 :nolibrarian


Reply via email to