Sujet : Re: Issues with uninstalling python versions on windows server
De : tripuraseersha (at) *nospam* outlook.com (Tripura Seersha)
Groupes : comp.lang.pythonDate : 07. May 2024, 08:36:21
Autres entêtes
Message-ID : <mailman.12.1715063786.3326.python-list@python.org>
References : 1 2 3
Hi Barry,
Yes, the install was for specific user. As suggested by you, when I installed a version for all users, I was able to uninstall from the account used for automation successfully.
Thank you for the help on this issue.
However, for installation the account being used in automation has administrative access for the system and yet fails with exit code 3. Installation is working only when we provide a specific user account in automation. Can you please suggest a resolution for this issue.
Also, with the approach of using msiexec.exe to uninstall different components of python version, though all the components are uninstalled successfully(executables, core interpreter, test suite, standard library, etc. ) but still an entry for this version shows in the control panel with the options: Modify, repair and uninstall. I am unable to identify which component has still remained as a part of the installer.
Please help me with this issue.
Thanks,
Tripura
________________________________
From: Barry <
barry@barrys-emacs.org>
Sent: 03 May 2024 22:34
To: Tripura Seersha <
tripuraseersha@outlook.com>
Cc:
python-list@python.org <
python-list@python.org>
Subject: Re: Issues with uninstalling python versions on windows server
On 3 May 2024, at 17:43, Tripura Seersha via Python-list <python-list@python.org> wrote:
Hi Team,
I am working on an automation related to uninstalling and installing python versions on different windows servers.
I have observed that uninstallation is working only with the account/login using which the python version is installed. But for automation, we are not aware which account is being used for installation on different machines.
I would guess that this is because you installed for the user not for all-users.
If true fix your install to do it for all-users and you should be able to uninstall as any user.
But this will require admin privs for both install and uninstall. As assume you can find out how to bet the admin priv required for your automation.
Barry
Also, with the approach of using msiexec.exe to uninstall different components of python version, though all the components are uninstalled successfully but still an entry for this version shows in the control panel with the options: Modify, repair and uninstall. I am unable to identify which component has still remained as a part of the installer.
Could you please help me resolve these issues.
Thanks,
Tripura
--
https://mail.python.org/mailman/listinfo/python-list