From 1acfa21e0796f5d72d776b0fd53645813d5f2d98 Mon Sep 17 00:00:00 2001 From: Nikodemus Siivola Date: Thu, 1 Jun 2006 09:14:25 +0000 Subject: 0.9.13.16: preliminary Windows installer builder * Added "free software & no warranty" summary to top of COPYING. * tools-for-build/rtf.lisp turns COPYING into License.rtf needed for the installer. * tools-for-build/wxs.lisp generates the XML from which the installer is built. * refactor good-for-lisp pathname logic from make-target-contrib.sh to sbcl-pwd.sh. * make-windows-installer.sh builds sbcl.msi into output/, assuming WiX (2.0) is installed in $PROGRAMFILES/WiX or $WIX_PATH. The installer installs sbcl.exe, sbcl.core, and contribs into $PROGRAMFILES/Steel Bank Common Lisp// by default, though the location is configurable. .lisp and .fasl files are associated with the installed SBCL, action being to start SBCL and load the file. The installation directory is added to PATH. SBCL_HOME is set to the installation directory. A shortcut is added to the start-menu. The shortcut refers to the core explicitly, and will continue to work even if a newer SBCL is installed. --- make-windows-installer.sh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 make-windows-installer.sh (limited to 'make-windows-installer.sh') diff --git a/make-windows-installer.sh b/make-windows-installer.sh new file mode 100644 index 000000000..ccfa5f00d --- /dev/null +++ b/make-windows-installer.sh @@ -0,0 +1,31 @@ +#!/bin/sh + +# This software is part of the SBCL system. See the README file for +# more information. +# +# This software is derived from the CMU CL system, which was +# written at Carnegie Mellon University and released into the +# public domain. The software is in the public domain and is +# provided with absolutely no warranty. See the COPYING and CREDITS +# files for more information. + +WIX_PATH="${WIX_PATH:-$PROGRAMFILES\WiX}" + +. ./sbcl-pwd.sh +sbcl_pwd + +cd output + +"$SBCL_PWD/src/runtime/sbcl" --noinform --core "$SBCL_PWD/output/sbcl.core" \ + --disable-debugger --no-sysinit --no-userinit \ + --load ../tools-for-build/rtf.lisp \ + --load ../tools-for-build/wxs.lisp \ + --eval '(progn + (write-rtf (read-text "../COPYING") "License.rtf") + (write-wxs "sbcl.wxs") + (quit))' + +"$WIX_PATH/candle" sbcl.wxs +"$WIX_PATH/light" sbcl.wixobj "$WIX_PATH/wixui.wixlib" \ + -loc "$WIX_PATH/WixUI_en-us.wxl" \ + -out sbcl.msi -- cgit v1.2.3-70-g09d2