3 # This software is part of the SBCL system. See the README file for
6 # This software is derived from the CMU CL system, which was
7 # written at Carnegie Mellon University and released into the
8 # public domain. The software is in the public domain and is
9 # provided with absolutely no warranty. See the COPYING and CREDITS
10 # files for more information.
12 if test -n "$WIX_PATH"; then
14 elif test -d "$PROGRAMFILES/WiX Toolset v3.7"; then
15 WIX_PATH
="$PROGRAMFILES/WiX Toolset v3.7/bin"
16 elif test -d "$PROGRAMFILES/Windows Installer XML v3.5"; then
17 WIX_PATH
="$PROGRAMFILES/Windows Installer XML v3.5/bin"
19 echo "using $WIX_PATH"
26 "$SBCL_PWD/src/runtime/sbcl" --noinform --core "$SBCL_PWD/output/sbcl.core" \
27 --disable-debugger --no-sysinit --no-userinit \
28 --load ..
/tools-for-build
/rtf.lisp \
29 --load ..
/tools-for-build
/wxs.lisp \
31 (write-rtf (read-text "../COPYING") "License.rtf")
32 (write-wxs "sbcl.wxs")
33 (with-open-file (f "version.txt"
35 :if-exists :supersede)
36 (write-line (lisp-implementation-version) f))
39 "$WIX_PATH/candle" sbcl.wxs
40 "$WIX_PATH/light" sbcl.wixobj \
41 -ext "$WIX_PATH/WixUIExtension.dll" -cultures:en-us \
42 -out sbcl-
`cat version.txt`.msi