How to register a com exe without admin rights?
-
Hi, I have a scenario where i should copy and register a com exe but the problem is i don't have admin rights on that pc. I know that if it is a com dll then using manifest file i can use it without even registering. Can someone suggest me if there is a way to register com exe without admin rights or use a unregistered com exe using the manifest file? Thanks in Advance, Hari krishna
-
Hi, I have a scenario where i should copy and register a com exe but the problem is i don't have admin rights on that pc. I know that if it is a com dll then using manifest file i can use it without even registering. Can someone suggest me if there is a way to register com exe without admin rights or use a unregistered com exe using the manifest file? Thanks in Advance, Hari krishna
-
You can use the CoLoadLibrary()[^] function to load and use an unregistered COM library.
One of these days I'm going to think of a really clever signature.
I don't think CoLoadLibrary would work with out-of-proc COM servers. If you don't have admin rights you could probably use registration-free COM activation[^].
-
I don't think CoLoadLibrary would work with out-of-proc COM servers. If you don't have admin rights you could probably use registration-free COM activation[^].
-
Sorry, for the misunderstanding, it wasn't for you, it was for the OP.