Ticket #281 defect closed fixed

Opened 11 years ago

Last modified 11 years ago

Windows installer fails on Python 2.3 "Non-admin" install

Reported by: mboersma Owned by:
Priority: highest Milestone:
Component: conch Keywords:
Cc: moonfallen, mboersma Branch:
Author: Launchpad Bug:

Description


Attachments

win32.diff Download (6.1 KB) - added by moonfallen 11 years ago.

Change History

1

Changed 11 years ago by mboersma

On Windows, run the python 2.3 binary installer, choosing
the "Advanced Options" button and specifying a "Non-admin
install".
After python's install completes, run the Twisted 1.0.7
python 2.3 windows installer (with or without docs, makes no
difference).
The installer then copies files to the mythical "ACK"
directory, failing at the end when it tries to exec
ACK\pythonw.exe.
The difference seems to be that the installer expects to
find certain registry keys under the HKLM hive, but in a
"Non-admin" install, those same keys are placed only under
HKEY_CURRENT_USER.  Checking first one, then the other,
should fix this.

2

Changed 11 years ago by moonfallen

Workaround, as noted by the mboersma on twisted-python, as
follows:

Prior to installing:
1. Launch regedit (Start>Run...>"regedit")
2. Navigate to HKEY_LOCAL_MACHINE\Software

If the Python key is missing, create the following keys
(Edit>New>Key, once for each of the following):
Python\PythonCore\2.3\InstallPath

3. Change the <default> key to the path where Python 2.3 is
installed, usually C:\python23

4. Run the Twisted installer as usual.

3

Changed 11 years ago by moonfallen

The 1.0.8alpha2 installer which I will build on Monday will
be the first release with this fix.

Attaching the diff so I can apply it to the tag on Monday.

Changed 11 years ago by moonfallen

4

Changed 3 years ago by <automation>

  • owner moonfallen deleted
Note: See TracTickets for help on using tickets.