Does anyone know how to silently uninstall Python 2.7 - i.e. uninstall it unattended, with no need for user interaction? I need to do it as part of an uninstallation script that installs a bunch of software silently.
I've tried running msiexec with the /x and /qn flags on the msi file that was originally installed, but it fails - it just throws up the general help message, implying that I'm using invalid options.
I've done a Google search, and can find help for earlier versions - they can be uninstalled silently by running the unwise.exe that's installed with them, with the right options. But 2.7 doesn't seem to include an unwise.exe, so I can't do that.
Does anyone know how to do this?
Edit: The answer turned out to be embarrassingly simple. Those were the correct command-line options all along - it's just that the order matters. The correct command was:
msiexec /x python-2.7.3.amd64.msi /qn
The important thing was to have the /qn option after the msi file.