Adding missing Registry Keys to your project
Previous Top Next


This page is useful for developers who need to determine which registry keys are required by an application, DLL, or OCX.

COM Controls, ActiveX controls, and ActiveX EXEs

Thinstall has support for automatically determining which Registry keys are needed for most COM / ActiveX DLL, OCX, and "Out of Process COM EXE files".
To obtain a list of registry keys required by these objects automatically, use the Record Registry Script feature.


Determining Registry keys manually

Some Programs and some DLLs and OCX Libraries add registry keys at install-time to the user's computer and try to reference these registry keys while running. Registry keys not captured via Record Registry Script feature can be added manually using the tools below.

Suggested tools:
Total Uninstall (Freeware)

Regmon from SysInternals (Freeware)



Total Uninstall

Total Uninstall allows you to gather a list of all registry keys and files added to system during install or registration. Once you have collected the list of registry keys by profiling an application's installer, you can use regedit to export .reg files and then Thinstall's "Import .reg file" to convert these registry keys to Thinstall's native format.

Keys the should be added for COM controls will be found under the following registry base keys:

HKEY_CLASSES_ROOT\CLSID
HKEY_CLASSES_ROOT\TypeLib
HKEY_CLASSES_ROOT\Interface

Potentially other keys will be added in the base HKEY_CLASSES_ROOT directory and some keys may be found under HKEY_LOCAL_MACHINE\Software\MYSOFTWARENAME


Regmon

Regmon allows you to record a runtime log of registry keys accessed by an application. Thinstall provides the same functionality by enabling the Registry Logging Options, rebuilding the EXE, and running it.