-
Does anybody know how to remotely register a DLL on a server machine. Running Regsvr32.exe on the server will register it on my local machine. I want to be able to register a dll, through vb, on a remote machine, from my desktop machine.
Thanks for your help!!
-
Sorry dude, I odn't think that you can do it ..
it is called "Security Issue" :-)
-
If it's a Win2K server, then you can start a telnet session and use that. Otherwise, I agree with asabi.
-
Must be a way
There has to be a way to do it. If you can log on to a server through a program such as remotely possible and do it, then the commands to do it must be available somewhere. I'm thinking it might involve winsock or remote procedure calls, though i'm not that familiar with them.
Also, I know that you can modify the registry remotely through an API call, and have played around with the idea of doing it manually that way.
Any other ideas???
-
Your first suggestion is a little different because it involves a custom program running on the server. That responds to a request to register a DLL, for example, from another remote program.
So, if you are able to have a program running all the time on your server, that should be all you need.
-
I know I can create an object on the servers that can respond to a request to register a dll through a technology such as DCOM. I want to avoid this if possible, because that causes additional maintenance issues in making sure that the DCOM component is properly installed on the servers to begin with.
The way the registry call works, is it checks the Login ID on the machine that sends the request to view/edit the registry. That is how it handles the security issue.
There must be a similar method that at the very least will let you invoke regsvr32.exe and have it register a DLL a on remote machine. I've searched everywhere and am pretty sure that the solution is not common knowledge, but I am sure it can be done. If you can move/delete files and edit the registry, there must be a way run an executable.
Thanks for all the input!!!
-
Theory says that you might be able to remotely merge a registry file that contains the registration info for the component (all regsvr32 does is create a heap of registry entries for that component).
Just an idea - I've never tried it
- gaffa
-
Is there any way I can find out just what regsvr32.exe enters into the registry, and where it gets items such as class id's from???