Author: toad Date: 2008-05-14 13:15:31 +0000 (Wed, 14 May 2008) New Revision: 19924
Modified: trunk/apps/new_installer/res/windows/browse.cmd Log: Doh, revert Modified: trunk/apps/new_installer/res/windows/browse.cmd =================================================================== --- trunk/apps/new_installer/res/windows/browse.cmd 2008-05-14 12:14:16 UTC (rev 19923) +++ trunk/apps/new_installer/res/windows/browse.cmd 2008-05-14 13:15:31 UTC (rev 19924) @@ -26,7 +26,7 @@ @regedit /E firefox.reg "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe" :: No I didn't find any better regexp I could do without cote-escaping. :: bin\cat.exe firefox.reg | find "@=" | bin\sed.exe "s/""/|/g" | bin\sed.exe "s/.*|\(.*\)|/\1/" | bin\sed.exe "s/\\\\/\\/g" > firefox.location - at if not exist firefox.reg goto maybeff +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 @if not defined FIREFOX goto maybeff
