The SelfReg table contains information about modules that need to be self registered. The installer calls the DllRegisterServer function during installation of the module; it calls DllUnregisterServer during Uninstallation of the module. The installer does not self register EXE files.
Steps to follow when a package contains SelfReg entry:
1. Look for WiseComcapture.exe under “%ProgramFiles%\Wise Package Studio\Windows Installer Editor\”.
2. The command line for executing this exe is displayed by double clicking it.
3. Install the application which has SelfReg table entries and locate the path of the file which is self registered. For e.g., If “MMRClientSrcFilter.dll” has an entry in SelfReg table, locate the path where it gets installed say, “C:\Program Files\VMware\VMware VDM\Client\bin”.
4. Now use "WiseComCapture.exe" to get the registry entries associated with the .dll file:
WiseComCapture.exe /r " C:\Program Files\VMware\VMware VDM\Client\bin\MMRClientSrcFilter.dll" “C:\MMRClientSrcFilter.reg”
5. Now the registry entries associated with MMRClientSrcFilter.dll will be captured in “MMRClientSrcFilter.reg” file.
6. Delete the registry entries from "Class" table, "ProgID" Table, "Registry" table, which is associated with ”MMRClientSrcFilter.dll" Component in the package. And also delete the "MMRClientSrcFilter.dll" entry in the SelfReg table.
7. Import “MMRClientSrcFilter.reg” in the package and when prompted with the below screen, click Yes/No.
8. Continue all the above steps for the other SelfReg entries in the package.
No comments:
Post a Comment