[Patches] [ python-Patches-628301 ] Experimental Inno Setup Win32
installer
SourceForge.net
noreply at sourceforge.net
Tue Oct 28 21:29:43 EST 2003
Patches item #628301, was opened at 2002-10-24 19:59
Message generated for change (Comment added) made by bdodson_esrican
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: Martin v. Löwis (loewis)
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.
----------------------------------------------------------------------
>Comment By: Bruce Dodson (bdodson_esrican)
Date: 2003-10-28 22:29
Message:
Logged In: YES
user_id=533196
Exactly. Some people might find the script useful in the real
world (including me!), but the same would be true of any
good sample.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2003-10-28 16:28
Message:
Logged In: YES
user_id=21627
Thanks for the clarification; unfortunately, I still don't
understand: All you suggest is that your file replaces the
one in CVS? That sounds fine to me.
----------------------------------------------------------------------
Comment By: Bruce Dodson (bdodson_esrican)
Date: 2003-10-28 00:40
Message:
Logged In: YES
user_id=533196
Thank you for the response. I don't expect Inno to replace
the WISE installer as the official Python distribution for
Windows; I hope I did not give that impression.
To clarify: what I've done is merely an enhanced / updated
version of the Inno Setup sample that appears in the Python
source tree on CVS (dist/PCBuild/python.iss).
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2003-10-27 20:37
Message:
Logged In: YES
user_id=21627
I'm tempted to reject this on the grounds that Inno setup is
likely not being used in the future to build Python
distributions; it's more likely to be WISE until that gets
replaced with MSI.
That said, it might be useful to merely distribute the files
with Python; if you think it is, please indicate so.
Consider that there might be nothing wrong with maintaining
your own installer, as a separate project.
I assign this to Thomas Heller, who is the current manager
of the Windows packaging; Thomas, feel free to either reject
or accept this - I see little point in keeping it open.
----------------------------------------------------------------------
Comment By: Bruce Dodson (bdodson_esrican)
Date: 2003-07-31 21:26
Message:
Logged In: YES
user_id=533196
I've enhanced this further, to include the vcredist stuff, and
to account for the directory tree changes in Python 2.3 (IDLE
moved, etc). If you're interested in checking it out, I've
compiled an experimental installer and published it at
http://sourceforge.net/projects/avpython/, in the
pythonsetup package. The updated source script is there as
well.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=628301&group_id=5470
More information about the Patches
mailing list