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.

classification
Title: Add accelerator "F" to button "Finish" in all MSI installers made by bdist_msi
Type: enhancement Stage: resolved
Components: Distutils2 Versions: Python 3.3
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: tarek Nosy List: alexis, cool-RR, eric.araujo, tarek, thomas.holmes
Priority: normal Keywords:

Created on 2011-06-30 07:31 by cool-RR, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (12)
msg139463 - (view) Author: Ram Rachum (cool-RR) * Date: 2011-06-30 07:31
I noticed that in MSI installers downloaded from PyPI don't have an accelerator on the Finish button. Please add an accelerator on it. (I think that "F" is the accepted one.)
msg139479 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-06-30 14:03
As a new feature, this cannot go into distutils.

Would you like to contribute a patch?  I have currently no idea about the workings of the MSI code.
msg139538 - (view) Author: Ram Rachum (cool-RR) * Date: 2011-07-01 00:44
I can only do wxPython, I have no idea how Python's MSI installers work. I did a quick search for "Finish" in the codebase but could find any obvious place to add the accelerator.

"As a new feature, this cannot go into distutils."

Seriously? Why?
msg139657 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-07-02 14:34
Distutils is frozen.  New features go into distutils2.
msg140045 - (view) Author: Thomas Holmes (thomas.holmes) Date: 2011-07-09 01:34
bdist does not appear to be enabled in 3.3 development branch, is this correct?
msg140119 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-07-11 13:06
What do you mean with disabled?  There is a bdist_wininst command in packaging.  Use “pysetup run bdist_wininst” to call it.
msg140124 - (view) Author: Thomas Holmes (thomas.holmes) Date: 2011-07-11 13:58
I was having a separate difficulty with bdist. Apparently -m packaging.run and pysetup3 run don't perform identically, but that isn't relevant for this bug.

Regarding bdist, I got bdist_wininst to work but I had to modify the code in place, it did not work by default. It also creates an exe installer, not an MSI.

bdist_msi is not set as a valid command to run inside the commands package __init__.py.
msg140129 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-07-11 15:28
> Apparently -m packaging.run and pysetup3 run don't perform
> identically, but that isn't relevant for this bug.
That’s very surprising, given that they have the same one-line code.  Please file that bug.

> Regarding bdist, I got bdist_wininst to work but I had to modify the
> code in place, it did not work by default.
Can you report that too, if there is no existing bug?  (Maybe it’s #10945 or another one.)

> It also creates an exe installer, not an MSI.
Why would you think it creates an MSI?  bdist_wininst is not bdist_msi.

> bdist_msi is not set as a valid command to run inside the commands
> package __init__.py.
Is it a problem?  In distutils too, bdist_msi is not registered in command.__init__, as it can’t run on non-Windows, but the bdist command knows that it exists and can run it.  IOW, there are two registries of bdist commands: in command.__init__, which is used by --help-commands and others, and in bdist.  In distutils, calling bdist --formats=msi or directly bdist_msi works (on Windows); if it doesn’t work with packaging, this is another bug to report.
msg140199 - (view) Author: Thomas Holmes (thomas.holmes) Date: 2011-07-12 14:48
> > It also creates an exe installer, not an MSI.
> Why would you think it creates an MSI?  bdist_wininst is not bdist_msi.

My concern for MSI is that this issue is referencing a change to MSI generation. I never had any expectation for wininst to generate an MSI.

If I remember correctly from trying the other day --formats=msi fails because bdist_msi is set as a valid format.

I have begun work on fixing these problems, as I've encountered them, and will be writing up issues for them soon.
msg140200 - (view) Author: Thomas Holmes (thomas.holmes) Date: 2011-07-12 14:53
I mean that msi is _not_ set as a valid format. I will verify this evening.
msg140597 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-07-18 15:48
> My concern for MSI is that this issue is referencing a change to MSI
> generation. I never had any expectation for wininst to generate an MSI.
I’m sorry, it was me that first talked about wininst by mistake, the bug report always was about msi.

> If I remember correctly from trying the other day --formats=msi fails
> because bdist_msi is set as a valid format.
Also bdist_msi is only enabled on Windows.

> I have begun work on fixing these problems, as I've encountered them,
> and will be writing up issues for them soon.
Great!  Can you open bugs as soon as encountered?  Just say that you’re working on a patch to avoid work duplication.
msg213364 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2014-03-13 08:33
distutils2 is no more and the feature freeze for distutils was lifted.  However, this does not strike me as an important feature to add.
History
Date User Action Args
2022-04-11 14:57:19adminsetgithub: 56658
2014-03-13 08:33:32eric.araujosetstatus: open -> closed
resolution: rejected
messages: + msg213364

stage: needs patch -> resolved
2011-07-18 15:48:12eric.araujosetmessages: + msg140597
2011-07-12 14:53:16thomas.holmessetmessages: + msg140200
2011-07-12 14:48:45thomas.holmessetmessages: + msg140199
2011-07-11 15:28:39eric.araujosetmessages: + msg140129
2011-07-11 13:58:38thomas.holmessetmessages: + msg140124
2011-07-11 13:06:17eric.araujosetmessages: + msg140119
2011-07-09 01:34:32thomas.holmessetmessages: + msg140045
2011-07-02 14:34:02eric.araujosetmessages: + msg139657
2011-07-01 00:44:29cool-RRsetmessages: + msg139538
2011-06-30 17:04:14thomas.holmessetnosy: + thomas.holmes
2011-06-30 14:03:27eric.araujosettype: behavior -> enhancement
components: + Distutils2, - Distutils
versions: - Python 3.4
nosy: + alexis

messages: + msg139479
stage: needs patch
2011-06-30 07:31:58cool-RRcreate