How would I unregister a .DLL and then reregister it during installation?
In the Windows Installer Editor of Wise Package Studio or Wise for Windows Installer:
In the MSI Script, follow the steps below:
The new actions should appear after InstallFinalize in the Execute Immediate tab as shown below:
If NOT Installed then
Execute Program From Installation (UnregisterDLL)
Execute Program From Installation (RegisterDLL)