Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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).



share|improve this question
up vote 1 down vote accepted

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.

share|improve this answer
Needs to be "Run as Admin" when you open command prompt. – NealWalters Dec 18 '09 at 4:32
Forgot about that tidbit, answer updated. Thanks! – John T Dec 18 '09 at 4:34
So why doesn't it just fail instead of creating directories in the wrong place? I hate having to clean them up. – NealWalters Dec 18 '09 at 4:43
Bad installer design I suppose. Revo Uninstaller should take care of it for you: – John T Dec 18 '09 at 4:50

It's sad my memory is so bad. I had the same problem back in July on on Windows Vista 32-bt machine.

The solution was to open command prompt with "RUN AS ADMIN", then do this command: msiexec /i python-2.5.4.msi

I'm not sure why more people aren't having the same problem.


share|improve this answer
It happens to the best of us :P – John T Dec 18 '09 at 4:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .