I initially deployed Python 3.8.1 in our org (through WSUS Package Publisher if relevant) using the MSI's found here. I installed these MSI's using WSUS Package Publisher with the following command for each MSI:
msiexec.exe /i core.msi /qn /norestart ALLUSERS=1
Unfortunately for some reason this was causing a number of issues for me which all seemed to point to the ALLUSERS=1 being ignored, possibly due to lack of elevation of the installer (not appearing in the Installed Applications list, not appearing through the py -0 list). Frustratingly these were all accidentally deployed to everyone before we realised these issues.
To clean up, I now need to uninstall these MSI's. Right clicking these MSI's on the affected machine and clicking "Uninstall" works - I get presented a "Are you sure you want to uninstall?" prompt, followed by elevation request, and then it uninstalls as expected.
However, as I'm trying to do this silently so that I can roll this out. This is the command I'm trying to run through an elevated shell:
msiexec.exe /x .\core.msi /qn
Nothing happens. I can see in Task Manager that msiexec.exe is running with no activity, so my feeling is that it's reaching the "Are you sure?" prompt and getting stuck on that prompt.
How do I bypass this prompt during silent uninstallation?