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:
- Yes. WinBatch can make all the necessary registry modificates. Probably the only function you need
for this is the RegSetValue function.
- However we don't tell you exactly what registry keys to modify. You will have to track that one down
on your own.
- 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.
-
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.
-
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