8.4 Saving and testing the configured image

Make a copy of config\configure.lisp called C:\temp\my-configuration.lisp . When you have made any desired changes in my-configuration.lisp you can save a new LispWorks image. To do this, follow the instructions below.

  1. Create a configuration and saving script C:\temp\save-config.lisp , containing:
  2. (load-all-patches)
    (load "C:/temp/
    (save-image "my-lispworks")
  3. Change directory to the LispWorks installation directory, for example:
  4. C: cd C:\Program Files\LispWorks
  5. Start the supplied image using the configuration script as the build file. For example:
C:\Program Files\LispWorks>lispworks-5-1-0-x86-win32.exe -siteinit - -build C:\temp\save-config.lisp

If the image will not run at this stage, it is probably not finding a valid key.

Note that the command line also suppresses the siteinit because this will be loaded automatically when you start the configured image.

Saving the image takes some time.

You can now use the new my-lispworks.exe image from the Windows Explorer, or you may choose to add a shortcut. The supplied image is not required after the configuration process has been successfully completed.

Do not try to save a new image over an image that is currently running. Instead, save an image under a unique name, and then, if necessary, replace the new image with the old one after the call to save-image has returned.

8.4.1 Testing the newly saved image

8.4.2 Saving a non-windowing image

LispWorks Release Notes and Installation Guide - 18 Mar 2008