[Python-Dev] Packaging and binary distributions
vinay_sajip at yahoo.co.uk
Tue Nov 8 22:42:41 CET 2011
> I'd provide a fixed custom action which gets hold of the installer
> session, and then runs a Python script. IIUC, it should be possible
> to map categories to entries in the Directory table, so that the
> Python script would actually configure the installer process before
> the installer actually starts installing the files. The DLL could be
> part of packaging, similar to how the bdist_wininst executable is
> part of distutils.
Presumably the code in the DLL would need to be independent of
Python, and find the correct Python version to run? Perhaps a
variable in the .MSI could serve to indicate the version dependency.
It's certainly feasible, but needs specifying in more detail ...
More information about the Python-Dev