Windows 7 – Python Install Puts All Files/Libs in C: Root Directory

installationpython

Python .msi installer (On Windows 7 64-bit) is installing all files in the root of the c: drive, instead of in c:\Python25 (where I told it).

I have tried creating the c:\Python25 before running the installer, which was no help.

The version of the installer I'm running is python-2.5.amd64.msi (for compatibility with Google App Engine).

Thanks,

Neal

Best Answer

Did you specify C:\Python25 as the install directory in the GUI installer? It should respect that setting. If not, you can specify a target install directory from the command line like this:

msiexec /i python-2.5.amd64.msi TARGETDIR=c:\python25

Ensure you are in the directory containing the msi when you run the command, and that command prompt has been run as administrator.

Related Question