Re: [python-win32] Problem registering COM server at installation time

2016-03-09 Thread Malte Forkel
According to eryk, it might help to "create a context at runtime from the manifest that's embedded in python27.dll". How would I do that? It sounds to me like it requires Windows programming skills (which unfortunately I don't have). Does "later MSVC versions no longer have this stupid requirement

Re: [python-win32] Problem registering COM server at installation time

2016-02-01 Thread Malte Forkel
Am 01.02.2016 um 10:26 schrieb eryk sun: > On Sun, Jan 31, 2016 at 10:42 PM, Mark Hammond > wrote: >> On 17/01/2016 6:51 AM, Malte Forkel wrote: >>> I'm trying the register a COM server using the install script of a built >>> distribution, created with the bdist_wininst format of distutils. But

Re: [python-win32] Problem registering COM server at installation time

2016-02-01 Thread Malte Forkel
Am 01.02.2016 um 05:42 schrieb Mark Hammond: > On 17/01/2016 6:51 AM, Malte Forkel wrote: >> Hi, >> >> I'm trying the register a COM server using the install script of a built >> distribution, created with the bdist_wininst format of distutils. But >> the script fails with a message that MSVCR90.d

Re: [python-win32] Problem registering COM server at installation time

2016-02-01 Thread Mark Hammond
Eryk's reply is right on the money - I'd forgotten about that. IIRC, having that manifest directly in pythoncomxx.dll or pywintypesxx.dll ended up using a different activation context, which had its own problems; that loader module exists purely to work around these problems. I'm still a bit c

Re: [python-win32] Problem registering COM server at installation time

2016-02-01 Thread eryk sun
On Sun, Jan 31, 2016 at 10:42 PM, Mark Hammond wrote: > On 17/01/2016 6:51 AM, Malte Forkel wrote: >> >> I'm trying the register a COM server using the install script of a built >> distribution, created with the bdist_wininst format of distutils. But >> the script fails with a message that MSVCR9

Re: [python-win32] Problem registering COM server at installation time

2016-01-31 Thread Mark Hammond
On 17/01/2016 6:51 AM, Malte Forkel wrote: Hi, I'm trying the register a COM server using the install script of a built distribution, created with the bdist_wininst format of distutils. But the script fails with a message that MSVCR90.dll can't be found. Registering the server after the install

[python-win32] Problem registering COM server at installation time

2016-01-17 Thread Malte Forkel
Hi, I'm trying the register a COM server using the install script of a built distribution, created with the bdist_wininst format of distutils. But the script fails with a message that MSVCR90.dll can't be found. Registering the server after the installer is done works fine. I'm using Python 2.7.1