[Patches] [ python-Patches-628301 ] Experimental Inno Setup Win32 installer
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 25 Oct 2002 02:21:32 -0700
Patches item #628301, was opened at 2002-10-24 22:59
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=628301&group_id=5470
Category: Windows
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bruce Dodson (bdodson_esrican)
>Assigned to: Tim Peters (tim_one)
Summary: Experimental Inno Setup Win32 installer
Initial Comment:
I found the Inno Setup script for Python in the Python
2.2.1 source tree, and decided to hack on it a bit.
Since I didn't want to deploy a custom build of Python
(wanted to use the original), one of my changes is
something you won't want: instead of looking in PCBuild
etc. for the files, it expects the files to be laid out the
way the WISE installer does it. However it should be
easy to change this back so it works against the Python
VC source / build tree.
Be that as it may, this version has a few changes that
you may or may not want:
1) incorporates Mark Hammond's win32 libraries (but not
Pythonwin)
2) deletes PYC and PYO files on uninstall, so that the
install directory can be properly removed.
3) uses Inno Setup Extensions
(http://www.wintax.nl/isx) to enable scripted behavior,
e.g. behave differently based on whether an
administrator is running the install.
4) uses wildcards to make the script shorter.
I do like the original author's idea of using a Python
script to generate the ISS script; that would allow the
files to be listed explicitly rather than relying on
wildcards as I did here.
The addition of Mark's stuff is something that interests
me, since I can't redistribute ActivePython and find it
cumbersome to include 2 installers plus my own;
however it is not necessarily something that you are
going to care about. The other changes may be more
interesting to you.
This script is based on the one found in Python 2.2.1
source tree, but I have compiled and tested it against
Python 2.2.2.
To test, run the Python WISE installer and Mark's
win32all installer. Then copy python22.dll etc. from
system32 to Python22\sysdir. Copy the ISS file into the
Python22 directory. Running the ISX compiler against
python.iss.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=628301&group_id=5470