Gerhard Hofmann
2010-08-20 15:14:29 UTC
Hi all,
I have updated appsonly.bat in the SVN.
Only a small change: in the past, I have checked for an already existing
Perl installation like this:
...
if exist %SystemDrive%\perl\bin\perl.exe goto runperlscript
call %z%\scripts\perl.bat
...
Now:
...
assoc | find ".pl=Perl" > NUL
if errorlevel 1 call %z%\scripts\perl.bat
if errorlevel 0 goto runperlscript
...
That should detect an already installed Perl no matter which path it was
installed to.
Regards
Gerhard
I have updated appsonly.bat in the SVN.
Only a small change: in the past, I have checked for an already existing
Perl installation like this:
...
if exist %SystemDrive%\perl\bin\perl.exe goto runperlscript
call %z%\scripts\perl.bat
...
Now:
...
assoc | find ".pl=Perl" > NUL
if errorlevel 1 call %z%\scripts\perl.bat
if errorlevel 0 goto runperlscript
...
That should detect an already installed Perl no matter which path it was
installed to.
Regards
Gerhard