How to register a DLL with a command

How to register a DLL within Wise Package Studio

Should I register a DLL during or after SetupCapture?


To register a DLL with a command line change to the directory where your DLL is and run:

regsvr32 mydll.dll


Please note, however, that if you copy that DLL into C:\Windows\System , Windows will register the DLL automatically.


Frame34


You can also make a DLL self-register within WPS like this:

While in Installation Expert in Feature Details section

-Select Files and browse for the DLL.

-Right-click on it and select Details

-Click on the Self-Registration tab

-Select Unordered


This will work and make for a smaller MSI than registering the DLL during SetupCapture but looking up the SelfReg table in the SDK (click ) it says that it is not Strongly not recommended:Frame33

The SDK then proceed giving 6+ examples of why not to use Self-registration.


Frame35