Issues with uninstalling python versions on windows server

Barry barry at barrys-emacs.org
Fri May 3 13:04:49 EDT 2024



> On 3 May 2024, at 17:43, Tripura Seersha via Python-list <python-list at 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
> 



More information about the Python-list mailing list