My setup using distutils, which works fine on Windows XP, doesn't work on Windows 7. Here are some features:
There are many configuration files in my package that I install in% APPDATA%. On Windows, I run setup.py with the bdist_wininst option to create an installer. In Win7, the installation program is then run as Administrator so that the module can be installed in% PROGRAMFILES% \ Python, etc. The installation does not report any errors, but, as you might have guessed, the configuration files will not be installed in% APPDATA% and nowhere (I searched for them).
If I open cmd as Administrator and install my package with the installation option directly (setup.py install), everything works fine, however.
So what am I missing here? Is this a limitation in the graphical installer, or am I doing something wrong?
source share