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.

Author gr-dexterl
Recipients Max Bowsher, gr-dexterl, paul.moore, steve.dower, tim.golden, zach.ware
Date 2018-11-12.10:02:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542016939.15.0.788709270274.issue35203@psf.upfronthosting.co.za>
In-reply-to
Content
Sadly due to the secure environment I'm unable to attach the log. The exact error is:

"You must be an Administrator to remove this application. To remove this application you can log on as an Administrator, or contact your technical support group for assistance."

This is when installing to an arbitrary folder under my control. This is exactly what happens with the 3.5 installer which I also need because of third party apps with hard coded pyenv versions. The difference is that I can simply un-tick the launcher for all users box to allow the install. Given that this is for a specific third party app I don't actually have any need of the launcher knowing about this version at all.

If you can tell me what part of the installer log is of interest I may be able to send an anonymised snippet.

The error code is: 0x80070643 - Fatal Error During Installation.

The point in the log where I see an error is:
Error 0x80070643: Failed to uninstall MSI package.
Error 0x80070643: Failed to execute MSI package.
Error 0x80070643: Failed to configure per-machine MSI package.
Applied execute package: core_AllUsers, result: 0x80070643, restart: None
Error 0x80070643: Failed to execute MSI package.

This is just after: "Verified existing payload: pip_JustForMe"

I'm not quite sure what you mean though. What is the difference between "the launcher will be installed at the end of setup" and "the installer is going to try and install the launcher" if you mean it's a separate process that'll still never work for a restricted environment like this.

It's basically a problem that the "for all users (requires elevation)" tickbox is selected. The launcher but not for all users might work but the fact that I can't un-tick something that says it requires elevation when I can't have elevation is a full blocker no matter what. Also under advanced options for Python itself I can un-tick the for all users just not for the launcher.

The specific fail point is not exactly an upgrade it claims it doesn't have permission to uninstall something. Given that the launcher is the only thing I can't un-tick and launcher only fails in the same way I'm assuming it's the all-users launcher.

But yeah I'm in a situation where I will never have permission to uninstall nor upgrade nor modify that file in any way so having it force an upgrade means I can't install the newer Python versions. I had the same issue in 3.5 but there the InstallLauncherAllUsers=0 InstallAllUsers=0 flags were sufficient to allow an isolated install.
History
Date User Action Args
2018-11-12 10:02:19gr-dexterlsetrecipients: + gr-dexterl, paul.moore, tim.golden, zach.ware, steve.dower, Max Bowsher
2018-11-12 10:02:19gr-dexterlsetmessageid: <1542016939.15.0.788709270274.issue35203@psf.upfronthosting.co.za>
2018-11-12 10:02:19gr-dexterllinkissue35203 messages
2018-11-12 10:02:18gr-dexterlcreate