Re: Issues with uninstalling python versions on windows server
On 5/10/24 03:39, Tripura Seersha via Python-list wrote: Hi Barry, Automation is using the system account using which the installation is failing with exit code 3. This account has the administrative privileges. Please help me with this issue. Thanks, Seersha You probably have a better chance of finding the attention of people who know about the details either on the Python Discuss board (discuss.python.org), or by filing an issue - after first checking someone else isn't wrestling with the same problem you are - there are a number of uninstall-related issues open (https://github.com/python/cpython/issues) In particular, I see that this part of your issue: > I have observed that uninstallation is working only with the account/login using which the python version is installed seems to be a known problem, where the user who initiated the install has the uninstall registered to their account - see https://github.com/python/cpython/issues/69353 -- https://mail.python.org/mailman/listinfo/python-list
Re: Issues with uninstalling python versions on windows server
Hi Barry, Automation is using the system account using which the installation is failing with exit code 3. This account has the administrative privileges. Please help me with this issue. Thanks, Seersha From: Python-list on behalf of Tripura Seersha via Python-list Sent: 07 May 2024 12:06 To: Barry Cc: python-list@python.org Subject: Re: Issues with uninstalling python versions on windows server 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 Sent: 03 May 2024 22:34 To: Tripura Seersha Cc: 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 > 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 > -- https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list
Re: Issues with uninstalling python versions on windows server
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 Sent: 03 May 2024 22:34 To: Tripura Seersha Cc: 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 > 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 > -- https://mail.python.org/mailman/listinfo/python-list
Re: Issues with uninstalling python versions on windows server
On 5/3/24 05:55, Tripura Seersha via Python-list 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. If you want to automate things properly, you need to control installation as well as uninstallation - if things are just installed via some random user account it's hard to see how you can expect later steps without that knowledge to work out. There's a fair bit of control available; if you haven't already, take a look here: https://docs.python.org/3/using/windows.html#installing-without-ui -- https://mail.python.org/mailman/listinfo/python-list
Re: Issues with uninstalling python versions on windows server
> On 3 May 2024, at 17:43, Tripura Seersha via Python-list > 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 > -- https://mail.python.org/mailman/listinfo/python-list