control the directory installation of files with bdist_wininst?

Thomas Heller theller at python.net
Fri May 30 09:23:38 EDT 2003


davidbertin at yahoo.fr (David) writes:

> I've made a window installer of some files with bdist_wininst. but I
> didn't succeed to control the directory installation.
> The file created with bdist_wininst makes the installation of my files in
> C:\python22.
> I'd like to change this directory installation.
> David.

That's not possible. bdist_wininst created installers read the registry
to find the installation directory of Python, and install in this
directory.

If you absolutely need to do this, you can add a post-install script
which moves the files into a different location afterwards, but why
would you want to do this?. You need to use distutils from Python 2.3 to
build the installer.

Thomas




More information about the Python-list mailing list