Hi Pat and others The script below improves the install of emacs I think and provides consistency as todo.pl is used to call all commands and therfore check errors.
To run it need the standalone 7za.exe file installed in z:\bin as it is licienced in LGPL it is ok to do so. Have not included as assume whoever checks this in can extract from a 7-zip distribution. Will be helpful if any other programs need to be unzipped as well and saves installing 7-zip just to install a program. Regards Godfrey Livingstone :: OPTIONAL Install Emacs for Windows :: URL|ALL|ftp://ftp.gnu.org/gnu/emacs/windows/emacs-21.3-fullbin-i386.tar.gz|packages/emacs-21.3-fullbin-i386.tar.gz @Echo off set prog=emacs-21.3 :: could use %SYSTEMDRIVE% instead of %PROGRAMFILES% if you wish :: because develop.bat installs check if installed if exist "%PROGRAMFILES%\%prog%" goto done todo.pl "start /wait \"%PROGRAMFILES%\%prog%\bin\addpm.exe\" /q" todo.pl "del \"%TEMP%\%prog%-fullbin-i386.tar\"" todo.pl "7za.exe x \"%TEMP%\%prog%-fullbin-i386.tar\" -o\"%PROGRAMFILES%\"" todo.pl "7za.exe x %Z%\packages\%prog%-fullbin-i386.tar.gz -o\"%TEMP%\"" :done ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ unattended-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unattended-devel
