Author: toad Date: 2008-05-06 13:37:41 +0000 (Tue, 06 May 2008) New Revision: 19791
Modified: trunk/apps/new_installer/res/windows/browse.cmd Log: Once we have detected Firefox from the registry, check whether it exists before proceding with it. Modified: trunk/apps/new_installer/res/windows/browse.cmd =================================================================== --- trunk/apps/new_installer/res/windows/browse.cmd 2008-05-06 13:11:28 UTC (rev 19790) +++ trunk/apps/new_installer/res/windows/browse.cmd 2008-05-06 13:37:41 UTC (rev 19791) @@ -29,7 +29,9 @@ if not exist firefox.reg goto maybeff @bin\cat.exe firefox.reg | find "@=" | bin\sed.exe s/@="\(.*\)"/\1/ | bin\sed.exe "s/\\\\/\\/g" > firefox.location @set /P FIREFOX=<firefox.location - at if defined FIREFOX goto foundff + at if not defined FIREFOX goto maybeff + at if exist %FIREFOX% goto foundff + at echo Found Firefox in the registry at "%FIREFOX%" but the file does not exist :maybeff :: Try to detect firefox by checking standard locations.
