[Distutils] Re: custom install directory with bdist_wininst
Thomas Heller
theller at python.net
Tue Jul 1 18:44:13 EDT 2003
"M.-A. Lemburg" <mal at lemburg.com> writes:
> Jeremy Hylton wrote:
>> On Tue, 2003-07-01 at 10:53, Juergen Hermann wrote:
>>
>>> --install-data should work on Windows (while --home is Unix
>>> centric). That is out of the box, and of course you can always
>>> overload the command class for more complex things.
>> I'm not sure if I understand. Is this an argument that the user
>> passes
>> to the Windows installer upon execution? I'm not interested in
>> arguments to install, but in allowing user similar control using a
>> binary installer.
>
> While the source code for the wininst installer is available, I'm
> not sure whether it would be easy to add this kind of functionality.
Correct.
>
> You will probably want to use a different installer on Windows for
> these things, such as InnoSetup -- a bdist_inno would be *really*
> nice to have, because Inno offers so much more flexibility.
This is one possibility, another one is to treat the bdist_wininst
created installer as a zipfile, and use a Python script to extract
the files and install them.
I have no need for either of them, and no time (not motivation) to write
them.
Thomas
More information about the Distutils-SIG
mailing list