Author: Zero3
Date: 2009-01-31 00:20:04 +0000 (Sat, 31 Jan 2009)
New Revision: 25425

Modified:
   
trunk/apps/wininstaller/src_freenetinstaller/FreenetInstaller_Include_Helpers.inc
Log:
Added checking for freenet.jar.new as well when validating install dir

Modified: 
trunk/apps/wininstaller/src_freenetinstaller/FreenetInstaller_Include_Helpers.inc
===================================================================
--- 
trunk/apps/wininstaller/src_freenetinstaller/FreenetInstaller_Include_Helpers.inc
   2009-01-31 00:17:29 UTC (rev 25424)
+++ 
trunk/apps/wininstaller/src_freenetinstaller/FreenetInstaller_Include_Helpers.inc
   2009-01-31 00:20:04 UTC (rev 25425)
@@ -223,7 +223,7 @@
                        GuiControl, Text, _cInstallDirStatusText, Not enough 
free space on installation drive!
                        GuiControl, +Disabled, _cInstallButton
                }
-               Else IfExist, %_InstallDir%\freenet.jar
+               Else If (FileExist(_InstallDir . "\freenet.jar") || 
FileExist(_InstallDir . "\freenet.jar.new"))
                {
                        GuiControl, +cRed, _cInstallDirStatusText
                        GuiControl, Text, _cInstallDirStatusText, Freenet 
already installed! Please uninstall first or choose another directory!

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to