Author: toad
Date: 2008-05-06 01:22:33 +0000 (Tue, 06 May 2008)
New Revision: 19782

Modified:
   trunk/apps/new_installer/res/windows/browse.cmd
Log:
Don't put %FIREFOX% in quote marks.
But do include quotes when writing the path.

Modified: trunk/apps/new_installer/res/windows/browse.cmd
===================================================================
--- trunk/apps/new_installer/res/windows/browse.cmd     2008-05-06 01:00:09 UTC 
(rev 19781)
+++ trunk/apps/new_installer/res/windows/browse.cmd     2008-05-06 01:22:33 UTC 
(rev 19782)
@@ -34,14 +34,14 @@
 :: Try to detect firefox by checking standard locations.
 @if not exist "c:\Program Files\Mozilla Firefox\firefox.exe" goto noff
 @set FIREFOX=c:\Program Files\Mozilla Firefox\firefox.exe
- at echo c:\Program Files\Mozilla Firefox\firefox.exe > firefox.location
+ at echo "c:\Program Files\Mozilla Firefox\firefox.exe" > firefox.location

 :foundff
 :: creation of the profile
 @echo Creating a Firefox profile for freenet
- at start "" /B "%FIREFOX%" "file:///%INSTALL_PATH%\dont-close-me.html"
-@"%FIREFOX%" -no-remote -CreateProfile "freenet 
%INSTALL_PATH%\firefox_profile" > NUL
- at start "" /B "%FIREFOX%" -no-remote -P freenet "%URL%"
+ at start "" /B %FIREFOX% "file:///%INSTALL_PATH%\dont-close-me.html"
+@%FIREFOX% -no-remote -CreateProfile "freenet %INSTALL_PATH%\firefox_profile" 
> NUL
+ at start "" /B %FIREFOX% -no-remote -P freenet "%URL%"
 @goto end

 :: Firefox hasn't been detected at all


Reply via email to