hey, nice detective work.
You could monkey patch the bdist_msi class in distutils. You save the old class to a variable somewhere, then derive a class from that. Then place your new class where the old distutils one is. There are some examples of doing this in the distutils_mods.py file that you can copy from. cheers, On Tue, May 27, 2008 at 5:38 AM, Brian Fisher <[EMAIL PROTECTED]> wrote: > On Sun, May 25, 2008 at 6:32 PM, Brian Fisher <[EMAIL PROTECTED]> > wrote: >> >> ... I'd go ahead and make a patch, but I don't know how to figure out the >> name of the installer that's created in Setup.py... anybody know how to get >> that from the bdist command or something? >> > ...So for getting the name of the installer that's created when building an > msi installer - the "bdist_msi" class that does the msi work and is derived > from a "distutils.core.Command" class has a "get_installer_filename" > function - so if I could somehow get at the instance of that class that was > used to make the msi, I could get the filename and write a patch to change > the REINSTALLMODE of the built msi and and fix the installer problem in this > thread... > > So anybody know how to get at that thing? (or otherwise find the name of the > built installer) from setup.py? (I'd appreciate help, cause looking at > distutils makes my head hurt, and I'm lazy) >