Author: nextgens Date: 2008-03-16 07:07:02 +0000 (Sun, 16 Mar 2008) New Revision: 18545
Modified: trunk/apps/new_installer/res/windows/browse.cmd Log: new_installer: fix the warning the installer is displaying Modified: trunk/apps/new_installer/res/windows/browse.cmd =================================================================== --- trunk/apps/new_installer/res/windows/browse.cmd 2008-03-15 22:58:05 UTC (rev 18544) +++ trunk/apps/new_installer/res/windows/browse.cmd 2008-03-16 07:07:02 UTC (rev 18545) @@ -3,9 +3,15 @@ @set JAVA_HOME=$JAVA_HOME @cd /D %INSTALL_PATH% +:: Get the URL from the parameters if set @set COUNT=0 - at for %%x in (%*) do ( @set /A COUNT=!COUNT!+1 ) - at if %COUNT% LSS 1 @set URL=http://127.0.0.1:8888/ else @set URL=%1 + at for %%x in (%*) do @( set /A COUNT=%COUNT%+1 ) + at if %COUNT% GEQ 1 goto withURL + at set URL=http://127.0.0.1:8888/ + at goto doneURL +:withURL + at set URL=%1 +:doneURL :: Check the simple case first (FF exists and has been detected) @if not exist firefox.location goto detectff
