|
-
Nov 7th, 2000, 02:33 PM
#1
Thread Starter
New Member
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!!
-
Nov 7th, 2000, 06:38 PM
#2
Hyperactive Member
Sorry dude, I odn't think that you can do it ..
it is called "Security Issue" :-)
In the beginning the universe was created. This has made a lot of people very angry and is generally regarded as a bad idea.
- Douglas Adams
The Hitchhiker's Guide to the Galaxy
-
Nov 7th, 2000, 06:43 PM
#3
Monday Morning Lunatic
If it's a Win2K server, then you can start a telnet session and use that. Otherwise, I agree with asabi.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 7th, 2000, 06:50 PM
#4
Thread Starter
New Member
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???
-
Nov 8th, 2000, 05:31 PM
#5
Monday Morning Lunatic
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 refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 8th, 2000, 05:55 PM
#6
Thread Starter
New Member
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!!!
-
Nov 8th, 2000, 08:48 PM
#7
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
-
Nov 9th, 2000, 11:22 AM
#8
Thread Starter
New Member
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???
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|