Patches item #1806435, was opened at 2007-10-02 18:17
Message generated for change (Comment added) made by rlangmeier
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551956&aid=1806435&group_id=78018
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Robert Langmeier (rlangmeier)
Assigned to: Nobody/Anonymous (nobody)
Summary: registring a win32com server with non admin privilges only
Initial Comment:
I produced this patch to be able to register and use a COM server with insufficient privileges.
A little explanation:
- As a non admin user, you cannot write HKEY_CLASSES_ROOT, but you can register a COM server into HKEY_CURRENT_USER
- HKEY_CLASSES_ROOT is a consolidated view of HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER (see MSDN)
- The client can always read the registry keys in HKEY_CLASSES_ROOT
It would be great if it can be integrated in a future build. Some check has to be done for parts i'm not using. Registring and unregistring "Standard" servers is correct and functionning.
----------------------------------------------------------------------
>Comment By: Robert Langmeier (rlangmeier)
Date: 2007-10-11 23:00
Message:
Logged In: YES
user_id=75471
Originator: YES
just corrected a bug in _get_classe_hkey and modified RegisterServer
File Added: register-patch.py
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551956&aid=1806435&group_id=78018
|