[Unattended] New appsonly.bat in the SVN, changed the way of detecting already installed Perl
Gerhard Hofmann <[email protected]> Fri, 20 Aug 2010 17:14:29 +0200
| Newsgroups | gmane.comp.windows.unattended.general,gmane.comp.windows.unattended.devel |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev