Registering PythonCOM22.dll fails?

David LeBlanc whisper at oz.net
Thu May 16 03:12:41 EDT 2002


Can't you install Python and then use it to do the rest? You can do that
with an unattended script to do your remote installation I believe.

David LeBlanc
Seattle, WA USA

> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of
> henk.derudder at barconet.com
> Sent: Wednesday, May 15, 2002 23:15
> To: python-list at python.org
> Subject: Re: Registering PythonCOM22.dll fails?
>
>
> On Wed, 15 May 2002 23:19:52 GMT, Mark Hammond
> <mhammond at skippinet.com.au> wrote:
>
> >henk.derudder at barconet.com wrote:
> >> Hi,
> >>
> >> I am trying to register PythonCOM22.dll through regsvr32.exe. I get
> >> the eroormessage that DllRegisterServer is not exported. Using the
> >> dependency walker learns me that this is indeed the case, however
> >> DllRegisterServerEx *is* exported. Any idea how I can get this dll
> >> registered?
> >
> >This DLL can not be registered with regsvr32.  DllRegisterServerEx() was
> >for an obscure feature of regsvr32 that never turned out to be useful (
> >the idea was you could say "regsvr32 myfile.py" and have it register.)
> >
> >Why do you think you need to register it?
>
> I am trying to prepare an unattended installation of the Python
> runtime environment. Therefore I need to
> a) copy the binaries into the appropriate directories
> b) set the registry
>
> As PythonCOM22.dll is a COM object I thought to let it register
> through regsvr32 (registering it manually by setting all ProgID,
> AppID, and so on by hand was too tedious and cumbersome). Please note
> that at the time I want to let that dll register, the runtime
> environment is not installed yet, so letting the .py file execute
> istself to register will be hard I guess
>
> > You register Python COM
> >objects by executing the .py file that implements the object, not by
> >using regsvr32.exe.
> >
> >Mark.
> >
>
> --
> http://mail.python.org/mailman/listinfo/python-list






More information about the Python-list mailing list