Re: [python-win32] check if comserver is registered, no - install it?

2012-12-19 Thread Tom Hawkins
Steffen Fr?mer steffen.froe...@gns-systems.de said: i get following error: Traceback (most recent call last): File C:\Temp\com_tests.py, line 21, in module x = ctypes.OleDLL(os.path.realpath(local_dll)) File C:\Python32_x86_64\lib\ctypes\__init__.py, line 353, in __init__

Re: [python-win32] check if comserver is registered, no - install it?

2012-12-19 Thread Harald Armin Massa[legacy]
Hallo Steffen, Hi i tried to do exactly this. But on executing the line dll = ctypes.OleDLL('myComServer.dll') i get following error: Traceback (most recent call last): File C:\Temp\com_tests.py, line 21, in module x = ctypes.OleDLL(os.path.realpath(local_dll)) File

Re: [python-win32] check if comserver is registered, no - install it?

2012-12-17 Thread Steffen Frömer
Quoting Tim Roberts t...@probo.com: There is no danger in redoing a registration that has already been done. All it does is add some registry keys. Might as well just do it every time. Add /s if you don't want to see the dialog box. Alternatively, assuming you are running a 64-bit Python,

[python-win32] check if comserver is registered, no - install it?

2012-11-13 Thread Steffen Frömer
Hi, i have to check, if a comserver-dll is registered in my system. comserver is registered via command regsvr32.exe /i myComServer.dll My System is Windows 7 64bit or Windows Server 2008 R2 64 bit. Is there a way to check this with python and if the check fails, can i register this? How can

Re: [python-win32] check if comserver is registered, no - install it?

2012-11-13 Thread Tim Roberts
Steffen Frömer wrote: i have to check, if a comserver-dll is registered in my system. comserver is registered via command regsvr32.exe /i myComServer.dll My System is Windows 7 64bit or Windows Server 2008 R2 64 bit. Is there a way to check this with python and if the check fails, can i