Author: toad Date: 2008-05-06 02:06:43 +0000 (Tue, 06 May 2008) New Revision: 19785
Modified: trunk/apps/new_installer/res/windows/browse.cmd Log: Use %ProgramFiles% Modified: trunk/apps/new_installer/res/windows/browse.cmd =================================================================== --- trunk/apps/new_installer/res/windows/browse.cmd 2008-05-06 02:00:49 UTC (rev 19784) +++ trunk/apps/new_installer/res/windows/browse.cmd 2008-05-06 02:06:43 UTC (rev 19785) @@ -33,6 +33,11 @@ :maybeff :: Try to detect firefox by checking standard locations. + at if not exist "%ProgramFiles%\Mozilla Firefox\firefox.exe" goto maybe1 + at set FIREFOX="%ProgramFiles%\Mozilla Firefox\firefox.exe" + at echo "%ProgramFiles%\Mozilla Firefox\firefox.exe" > firefox.location +goto foundff +:maybe1 @if not exist "c:\Program Files\Mozilla Firefox\firefox.exe" goto noff @set FIREFOX="c:\Program Files\Mozilla Firefox\firefox.exe" @echo "c:\Program Files\Mozilla Firefox\firefox.exe" > firefox.location
