adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-devel] Windows Installer


From: Kai Sterker
Subject: [Adonthell-devel] Windows Installer
Date: Sun, 15 Sep 2002 23:51:46 +0200

It took a little longer than I thought, but here it is: the windows
installer. Well, at least the script to build the installer. :)

If you do an 'update -d', you'll find a new 'win32' directory in the
wastesedge CVS. Right now it contains three files:

* wastesedge.ico
  A little icon I made. Feel free to make a better one. :)

* prepare.bat
  A little script to byte-compile all python scripts under windows.
  Requires the compileall.py module (or a proper python installation) 
  to work.

* wastesedge.nsi
  The script to create the installer. Requires NSIS 1.98 from
  http://www.nullsoft.com/free/nsis/

To create the installer, create a proper adonthell tree in whatever
subdir you like. Let's call it 'win-adonthell' for now.

In 'win-adonthell' you'd have the .exe, all the .dlls, the 'module' 
and 'games' subdirs. In 'games' you'd have the 'wastesedge' directory.
(Simply unzip a wastesedge tarball and rename it accordingly).

Next, copy stuff from the win32 directory to 'win-adonthell'. Run
prepare.bat to create all the .pyc files. Then run wastesedge.nsi to
create the installer. If all went well, you'll have a
wastesedge-0.3.3.exe file: the installer. Please report any problems :).
Btw, normal gzip compression seems to be more efficient than bz2 in our
case.


So what does the installer do? There's a full install and custom mode.
Full install creates startmenu entries and shortcut on the desktop.
Custom install allows to deactivate either of desktop shortcut and
startmenu entry. No matter what mode, the registry will not be touched!

When uninstalling via uninstall.exe, the user will be asked whether his
or her savegames should be deleted or not. 

That's all,

Kai




reply via email to

[Prev in Thread] Current Thread [Next in Thread]