Login to participate
Endpoint Management & Virtualization ArticlesRSS

Registering dll Using Wisecomcapture

Deepanshu's picture

Sometimes you get entries in selfreg tables which create issues while installing the MSI. So to resolve these issue you should remove the entries from selfreg table and include the registration information in form of registry.

The following is the procedure which you can follow:

By using comcaptur tool:

You can find wise comcapture tool exe in your wise share point in your local system. Generally it is available at following location:

C:\Program Files\Altiris\Wise Package Studio\Windows Installer Editor

Create a dummy blank registry file for example add.reg. This should be a blank file. Now execute the following command:

WiseComCapture.exe /r {full path of dll or OCX} {full path of add.reg}

This will create a registry file which we can import in msi and this registy will add all the information related to dll in registry.

Eshwar's picture

you can also use RegSpy Tool

Nice article.

You can also try RegSpy. More info is provided by piyushnasa.
Tyr the following link
http://juice.altiris.com/tip/5677/regspy-registry-...

Thanks,
Eshwar

R-Vijay's picture

SelfReg - detailed Steps

For detailed steps and related reading read this below article..

http://juice.altiris.com/article/2593/selfreg-entr...

Also, the selfreg should be avoided bcos, Rollback of an installation with self-registered modules cannot be safely done using DllUnregisterServer because there is no way of telling if the self-registered keys are used by another feature or application.

Cheers'
Vijay

Microsoft MVP [Setup-Deploy]
Weblog: www.msigeek.com

piyushnasa's picture

Rescan advertising

The best way to use WiseComCapture is by using Rescan advertising.
When you have installed your setup.exe on the machine, Open your WSI, go to the component which contains the .dll/.ocx file for which there was a self reg entry. After deleting the self reg entry, right click on this component and click on Rescan advertising. Rescan advertising internally calls WiseComcapture.exe and automatically places the associated registries in this component.
It saves lots of your time..

Hope this helps...

-Piyush

Piyush Nasa
Altiris Certified Professional (ACP)

Deepanshu's picture

Thanks all for this info

This information seems very useful

dergib's picture

Thanks piyushnasa

Your one worked a treat!