Windows install to custom location after building from source

Tim Golden mail at
Sun Mar 8 21:43:54 CET 2009

Martin v. Löwis wrote:
>> What does the merge do? I can't find mention of it
>> in the docs.
> It merges the msvcrt merge module into the installer (and then
> monkey patches it, to revert the msm decision of setting
> ALLUSERS). I tried to integrate it originally as a step
> after creating the msi. Unfortunately, the merge object refused
> to open the database, claiming that the file is in use (even
> though I had closed it). Hence I need to processes. If you
> can figure out how to combine them into one, again, that
> would be much appreciated.

At the moment, I'm struggling to make it work at all :)

First, it relies on whose existence
optionally ignores. I've created a dummy, based on the
settings in Then I get a COM error, reproduced
below. I've got to go and do something else at the moment
but I'll look into it afterwards. I'll dump the traceback
here in case it rings any bells.


Opened Log
Traceback (most recent call last):
  File "", line 79, in <module>
    merge(msi, "SharedCRT", "TARGETDIR", modules)
  File "", line 27, in merge
  File "<COMObject Msm.Merge2.1>", line 2, in OpenDatabase
pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2147024786), None)
[33419 refs]



More information about the Python-list mailing list