Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to uninstall Python launcher using command line #85530

Closed
hap mannequin opened this issue Jul 21, 2020 · 3 comments
Closed

Unable to uninstall Python launcher using command line #85530

hap mannequin opened this issue Jul 21, 2020 · 3 comments
Labels
3.8 only security fixes OS-windows topic-installation type-bug An unexpected behavior, bug, or error

Comments

@hap
Copy link
Mannequin

hap mannequin commented Jul 21, 2020

BPO 41358
Nosy @pfmoore, @tjguk, @zware, @zooba, @WildCard65

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2020-07-24.06:17:08.191>
created_at = <Date 2020-07-21.10:39:57.823>
labels = ['3.8', 'type-bug', 'expert-installation', 'OS-windows']
title = 'Unable to uninstall Python launcher using command line'
updated_at = <Date 2020-07-24.06:17:08.190>
user = 'https://bugs.python.org/hap'

bugs.python.org fields:

activity = <Date 2020-07-24.06:17:08.190>
actor = 'hap'
assignee = 'none'
closed = True
closed_date = <Date 2020-07-24.06:17:08.191>
closer = 'hap'
components = ['Installation', 'Windows']
creation = <Date 2020-07-21.10:39:57.823>
creator = 'hap'
dependencies = []
files = []
hgrepos = []
issue_num = 41358
keywords = []
message_count = 3.0
messages = ['374063', '374141', '374161']
nosy_count = 6.0
nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'steve.dower', 'WildCard65', 'hap']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue41358'
versions = ['Python 3.8']

@hap
Copy link
Mannequin Author

hap mannequin commented Jul 21, 2020

Trying to create a command line keeping the following in mind, and my script is python-3.8.4.exe" /quiet InstallLauncherAllUsers=0 Include_pip=1 Include_tcltk=1 Include_test=1 PrependPath=1

  1. Python installs in user profile
  2. Install pip as a part of installation
    All good here.
    So, my script installs python and also installs Python Launcher.

So far so good!

The problem is, when uninstall python i use command "python-3.8.4.exe" /quiet /uninstall, it does uninstall python, but this does not uninstall Python Launcher. Therefore, i call msiexec.exe /x {339192BE-2520-4C34-89DF-81CF98EB7E6C} /qn+ and it does remove all components from %localappdata%\Package Cache folder, except that it still keeps launcher.msi (588kb) and also entry in appwiz.cpl (around 7.15 MB).

What i am trying to achieve is,

  1. If user wants to uninstall Python, it should uninstall python and python launcher because i don't want to leave away any installer files which an contribute to my system space.

I have gone through many links with failed help. Any suggestion to save my 7.2 MB space is greatly appreciated.

@hap hap mannequin added 3.8 only security fixes topic-installation type-bug An unexpected behavior, bug, or error labels Jul 21, 2020
@WildCard65
Copy link
Mannequin

WildCard65 mannequin commented Jul 23, 2020

I think on Windows, the Python Launcher is a separate install entity.

You can verify this under Control Panel -> Uninstall Program and Features.

@hap
Copy link
Mannequin Author

hap mannequin commented Jul 24, 2020

Run msiexec.exe /x {339192BE-2520-4C34-89DF-81CF98EB7E6C} /qn+ fixed it

@hap hap mannequin closed this as completed Jul 24, 2020
@hap hap mannequin closed this as completed Jul 24, 2020
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.8 only security fixes OS-windows topic-installation type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant