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: Hide pip install/uninstall windows in setup
Type: behavior Stage: resolved
Components: Windows Versions: Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: steve.dower Nosy List: paul.moore, python-dev, steve.dower, tim.golden, zach.ware
Priority: normal Keywords: patch

Created on 2016-08-29 20:49 by steve.dower, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
installer_1.diff steve.dower, 2016-08-29 20:49 review
installer_2.diff steve.dower, 2016-08-29 21:19 review
Messages (3)
msg273884 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2016-08-29 20:49
The console window for pip that appears during setup prevents us from having a truly silent install.

This patch uses the CAQuietExec task from WiX, extracted and checked in directly (the binary blob is omitted from the patch), to run the pip install/uninstall.

It also makes the task non-vital, which will prevent uninstall from failing when pip cannot be removed.
msg273886 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2016-08-29 21:19
An almost immediate update - this patch also makes COMPILEALL not pop up a window.
msg274164 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-09-01 18:25
New changeset e065aec0e6fa by Steve Dower in branch '2.7':
Issue #27888: Prevent Windows installer from displaying console windows and failing when pip cannot be installed/uninstalled.
https://hg.python.org/cpython/rev/e065aec0e6fa
History
Date User Action Args
2022-04-11 14:58:35adminsetgithub: 72075
2016-11-18 20:22:29steve.dowerlinkissue28687 superseder
2016-09-01 22:44:25steve.dowersetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2016-09-01 18:25:55python-devsetnosy: + python-dev
messages: + msg274164
2016-08-29 21:19:04steve.dowersetfiles: + installer_2.diff

messages: + msg273886
2016-08-29 20:49:35steve.dowercreate