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: Running Windows installer with LauncherOnly=1 should not register the version as installed
Type: behavior Stage:
Components: Installation, Windows Versions: Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: steve.dower Nosy List: paul.moore, steve.dower, tim.golden, uranusjr, zach.ware
Priority: normal Keywords:

Created on 2017-10-04 18:52 by uranusjr, last changed 2022-04-11 14:58 by admin.

Messages (3)
msg303727 - (view) Author: Tzu-ping Chung (uranusjr) * Date: 2017-10-04 18:52
After running

    python-3.6.2-amd64.exe /quiet LauncherOnly=1

Python 3.6.2 is registered as installed, even though nothing is actually installed.

Running the installer again at this point shows an error indicating “this product is already installed”, and does not show me the usual repair/modify/uninstall options.

I have to run uninstallation with Control Panel before the installer works again.
msg303742 - (view) Author: Tzu-ping Chung (uranusjr) * Date: 2017-10-05 06:37
The “this product is already installed” error is a mistake on my part. I was actually using 3.6.3 (released literally during I was testing this!) to install the launcher, and using 3.6.2 afterwards, hence the error message (because I was trying to modify using an older version).

The main issue however stays. The installer still shouldn’t register the main Python distribution as installed when only the launcher was selected.
msg303774 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2017-10-05 15:07
Agreed, and the underlying cause is also linked to the registration being wrong in some other ways.

The fix requires rearchitecting the installer again, though less dramatically than last time. Won't happen for3.6.4, but we might get 3.7.
History
Date User Action Args
2022-04-11 14:58:53adminsetgithub: 75875
2017-10-05 15:07:43steve.dowersetmessages: + msg303774
versions: + Python 3.7, - Python 3.6
2017-10-05 06:37:25uranusjrsetmessages: + msg303742
2017-10-04 18:56:48zach.waresetassignee: steve.dower

components: + Windows
nosy: + paul.moore, tim.golden, zach.ware, steve.dower
2017-10-04 18:52:39uranusjrcreate