Client Management Suite

 View Only

Significance of the COM Registry Extraction Utility: WiseCOMReg 

Oct 26, 2007 01:19 PM

WiseCOMReg is a tool to find out the registry keys of individual components so that one can specifically remove these from the WSE or REG file which is included with Wise Installer.

Further, this is a command-line tool and should probably be copied into the existing system path (e.g. Windows folder "Windows"), or the WfWI path should be added to the system path.

Command line tool syntax for WiseCOMReg:

Command line usage:

WiseCOMReg.exe [/r][/u] Input_COM_FileName Output_REGFile

/r: Self-register before extraction /u: Self-unregister after extraction

Example Scenario and Solution

Let's consider that, you have an application that has 2 DLLs (C:\Windows\SYSTEM32\abc.dll and C:\Windows\SYSTEM32\xyz.DLL) that are to be replaced by Merge Modules.

You will have to perform these following steps to extract the registry information from the applications to RegFile.REG file.

Step 1: Create the WSE script without removing any registry entries that are related to a DLL that should be replaced.

Step 2: Use RegExtractor to create the "application.reg" file.

Step 3: Use WiseCOMReg.exe to create .REG files that have the information that we want to strip from the "application.reg" file using the following syntax:

WiseCOMReg.exe /r C:\Windows\SYSTEM32\abc.dll C:\Config\abc.reg
WiseCOMReg.exe /r C:\Windows\SYSTEM32\xyz.dll C:\Config\xyz.reg

Step 4: Now using a text file comparison tool such as "Betond Compare" to compare abc.reg and zyz.reg, go into Edit mode and select the lines to remove from application.reg (i.e. all the lines that exist in both .REG files) and delete them.

Step 5: Save the application.reg which now has no references to abc.reg and and then do the same for the xyz.reg file to be certain that every reference to those components are now removed from the "application.reg" file.

Hope this piece of information is useful for all. Cheers' Viju

Statistics
0 Favorited
1 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.