Uninstall Python 2.5.1 Silent

Discussion created by FedMRLocator on Sep 6, 2012

I started a similar thread regarding Python 2.7 which I found to be very helpful.  Hoping this thread can shine some light on another issue we are working on for our migration from ArcGIS Desktop 9.3.1 to 10.1.

Does anyone have any experience or ideas for silently uninstalling Python 2.5.1?  This Python version comes installed by default with our old ArcGIS 9.3.1 installation.  The automatic uninstall options do a great job of cleaning up ArcGIS 9.3.1, however they do not appear to touch the old Python install at all.

Here is the uninstall string I am currently using for ArcGIS 9.3:
WshShell.Run("msiexec.exe /x " & IDNumber & " REMOVE=ALL /qb", 1, TRUE)

Digging through the registry I found some uninstall strings for Python 2.5.1 and NumPy 2.5.1 that have mixed results.  These uninstall strings appear to work however they leave the C:\Python25 folder behind.  My attempts to automatically cleanup that folder are thwarted by a Permission Denied error message from VBScript.

Here are the uninstall strings for Python and NumPy:
WshShell.Run("C:\Python25\UNWISE.EXE /S C:\Python25\INSTALL.LOG",True,0)
WshShell.Run("C:\Python25\UNWISE.EXE /S C:\Python25\Lib\site-packages\INSTALL.LOG",True,0)

Any ideas or suggestions?