This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2015年09月18日 11:18 by chrullrich, last changed 2022年04月11日 14:58 by admin.
| Messages (11) | |||
|---|---|---|---|
| msg250962 - (view) | Author: Christian Ullrich (chrullrich) * | Date: 2015年09月18日 11:18 | |
A system-wide installation on Windows (using InstallAllUsers=1) still places the uninstall executable into the profile (%LOCALAPPDATA%) of the installing user. If that user profile is deleted, the (system-wide) installation cannot be removed anymore. Ceterum censeo: This bug would have been avoided by using MSI as the distribution package format. |
|||
| msg251384 - (view) | Author: Steve Dower (steve.dower) * (Python committer) | Date: 2015年09月23日 01:16 | |
Burn is always started in the per-user scope so that we can do per-user installs without elevating, but it looks like we need to manually change this once we know it's an all-users install. |
|||
| msg251395 - (view) | Author: Eryk Sun (eryksun) * (Python triager) | Date: 2015年09月23日 02:17 | |
Where is the API documented to change the install scope dynamically? I see where it's apparently defined in the burn manifest (extracted from the executable) as PerMachine="no": <BurnManifest xmlns="http://schemas.microsoft.com/wix/2008/Burn"> <....> <Registration Id="{e599f76f-2b95-44da-a280-77548b1b2a21}" ExecutableName="python-3.5.0-amd64.exe" PerMachine="no" Tag="" Version="3.5.150.0" ProviderKey="{e599f76f-2b95-44da-a280-77548b1b2a21}"> <Arp Register="yes" DisplayName="Python 3.5.0 (64-bit)" DisplayVersion="3.5.150.0" Publisher="Python Software Foundation" AboutUrl="http://www.python.org/" DisableModify="button"/> </Registration> |
|||
| msg251396 - (view) | Author: Steve Dower (steve.dower) * (Python committer) | Date: 2015年09月23日 02:23 | |
Not sure yet :) There are a lot of undocumented (or not-yet-documented) APIs accessible from the bootstrap app and I haven't gone through them yet - see https://github.com/wixtoolset/wix3/tree/develop/src/libs, probably dutil. It may also be something that we have to request or contribute to WiX. |
|||
| msg251878 - (view) | Author: Steve Dower (steve.dower) * (Python committer) | Date: 2015年09月29日 19:26 | |
After discussing it on the WiX mailing list, this definitely requires a change to WiX. Currently, as soon as you include any per-user packages in your bundle the entire registration is forced to per-user regardless of whether or not they are ever installed. I'm going to propose a change where the bootstrap application can assert that the bundle should be registered for the whole machine, so that when we start installing we can correct it. Can't be sure it'll be available for 3.5.1, but some time in 3.5's lifetime we should get this fixed. |
|||
| msg251882 - (view) | Author: Steve Dower (steve.dower) * (Python committer) | Date: 2015年09月29日 19:58 | |
WiX issue is http://wixtoolset.org/issues/4914/ |
|||
| msg279451 - (view) | Author: Christian Ullrich (chrullrich) * | Date: 2016年10月25日 19:49 | |
This bug has been open for over a year and two subsequent releases, and its planned resolution depends on a change to WiX. The related WiX bug (see comment above) is scheduled to be implemented in WiX 4.0, which has no prospective release date. According to <https://github.com/wixtoolset/issues/milestone/4>, only 27 percent of the issues currently planned for this release are resolved. In my opinion, this is an important bug that cannot wait indefinitely. Ceterum censeo (yes, there had to be one): This is particularly true when considering that a (relatively) simple fix exists that can be done by the Python project alone, with no external dependencies. I am referring, of course, to dropping the burn bundle entirely and shipping a single MSI package again, rather than 43 (!) of them (across x86 and amd64) with an average of ~190 and a median of 8 (eight) installed files per package in 3.5.2, counting pip. |
|||
| msg279453 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2016年10月25日 20:05 | |
Christian, your desire for a single MSI is well known, and repeatedly stating that desire is far more likely to raise ire rather than spur change. No, you did not need to include "ceterum censeo". The installer system that Steve created for us has many features that I and many others would be very sad to see disappear again, and which cannot be supported by a single MSI distribution. In particular, selecting which components to install and only downloading those components is a wonderful feature for anyone with a low-bandwidth or metered internet connection. If the current installer is unusable to you, feel free to forward-port the old 3.4 installer system and create your own installers. Alternately, feel free to provide patches to resolve this or any other issues you have with the current installer. |
|||
| msg279454 - (view) | Author: Steve Dower (steve.dower) * (Python committer) | Date: 2016年10月25日 20:10 | |
I won't be changing the official releases to be a single MSI again - the experience is too hostile towards regular users. As my (volunteer) time allows, I've been working on resolving the issue in WiX and we are totally capable of moving to a private build of WiX that includes a fix. There is no need to wait for 4.0. If you would like a single MSI installer, I'd suggest offering some time (or paying someone to spend their time) to develop one and distribute it independently. The old installer might be a good starting point, but it had a range of issues that have been resolved by the new installer. There are also a number of features available in the new installer that are not available under a single MSI (such as per-user installs, installing/skipping the CRT, and disabling MAX_PATH limitations). However, if your installer becomes more popular than the official one, it will be strong evidence that people would rather have one monolithic installer with less reliable options, and we can consider switching back to that format. |
|||
| msg300371 - (view) | Author: Steve Dower (steve.dower) * (Python committer) | Date: 2017年08月16日 15:54 | |
There are no more binary installers for 3.5, so updating the target versions. I have some ideas about how to do this and will hopefully get time at the dev sprints to try them out. |
|||
| msg385907 - (view) | Author: James Russell (beefy80) | Date: 2021年01月29日 13:15 | |
I have been reviewing the Install process as we need to start installing / patching Python and I have seen the same issue as mentioned below however the difference for me is I am running the install on a Silent command line. I cannot seem to override "AllUsers" Property using the command line as WiX logs the following: "Ignoring attempt to set non-overridable variable: 'AllUsers'." If this parameter was made overridable I believe this would then allow the Bootstrapper to be listed under all users Uninstall area rather than the current user (or in my case it gets written to HKEY_USERS\.Default\... (which is really unhelpful) as the installer is being run under the system context). |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:21 | admin | set | github: 69353 |
| 2022年02月10日 20:54:28 | steve.dower | link | issue46714 superseder |
| 2021年09月06日 19:00:09 | steve.dower | link | issue29232 superseder |
| 2021年04月24日 18:48:28 | xmha97 | set | title: Windows AllUsers installation places uninstaller in user profile -> Windows All Users installation places uninstaller in user profile |
| 2021年04月19日 19:56:08 | steve.dower | link | issue43866 superseder |
| 2021年03月13日 18:49:44 | eryksun | set | versions: + Python 3.9, Python 3.10, - Python 3.6, Python 3.7 |
| 2021年01月29日 13:15:31 | beefy80 | set | nosy:
+ beefy80 messages: + msg385907 versions: + Python 3.8 |
| 2018年02月08日 19:34:02 | steve.dower | link | issue32791 superseder |
| 2017年08月16日 15:54:23 | steve.dower | set | type: behavior stage: needs patch messages: + msg300371 versions: + Python 3.6, Python 3.7, - Python 3.5 |
| 2017年02月03日 18:25:44 | steve.dower | link | issue29437 superseder |
| 2016年10月25日 20:10:25 | steve.dower | set | messages: + msg279454 |
| 2016年10月25日 20:05:07 | zach.ware | set | messages: + msg279453 |
| 2016年10月25日 19:49:07 | chrullrich | set | messages: + msg279451 |
| 2016年02月22日 22:08:10 | eryksun | link | issue26413 superseder |
| 2015年09月29日 19:58:09 | steve.dower | set | messages: + msg251882 |
| 2015年09月29日 19:26:32 | steve.dower | set | messages: + msg251878 |
| 2015年09月23日 02:23:20 | steve.dower | set | messages: + msg251396 |
| 2015年09月23日 02:17:13 | eryksun | set | nosy:
+ eryksun messages: + msg251395 |
| 2015年09月23日 01:16:32 | steve.dower | set | assignee: steve.dower messages: + msg251384 |
| 2015年09月23日 01:08:14 | steve.dower | link | issue25162 superseder |
| 2015年09月18日 11:18:10 | chrullrich | create | |