WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

DLLs

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

How to Register DLLs

Keywords: 	 Register DLLs

Question:

Basically we want to run a script to register DLL files the way setup files register all new DLL files. Is this possible in Winbatch

Answer:

  1. Yes. WinBatch can make all the necessary registry modificates. Probably the only function you need for this is the RegSetValue function.

  2. However we don't tell you exactly what registry keys to modify. You will have to track that one down on your own.

  3. Hint. The NT Resource kit has a "sysdiff" utility. Basically you take a snapshot of a test system before adding something, then install a copy the usual way, then take the after snapshot and let sysdiff find the changes. Then you can write a script to replicate the changes. Or else you get to do digging thru Microsoft documentation.

  4. Or you might pick up RegMon for 95 or NT, from what is now SysInternals I think. (www.sysinternals.com?) Very nice for tracking registry operations, and watching mean programs that mess up your registry entries.

  5. You could also call regsvr32.exe with the /s (run silent) parameter for each DLL you are trying to register.

Article ID:   W13178
Filename:   Register DLL Files.txt
File Created: 1999:04:15:16:52:16
Last Updated: 1999:04:15:16:52:16