Results 1 to 8 of 8

Thread: HELP!!! remotely register DLL

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    8

    Thumbs up

    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!!


  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Canada
    Posts
    264
    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

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    8

    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???


  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  6. #6

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    8
    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!!!

  7. #7
    Guest
    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

  8. #8

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    8
    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
  •  



Click Here to Expand Forum to Full Width