cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Superfreak3
Level 11

RemoveRegistry Table Entry Not Doing The Job???

Hi all,

I'm trying to remove a HKCR\CLSID registry key on install. Here is the RemoveRegistry table entry I tried...

RemoveRegistry = RemOldInv2010
Root = 0
Key = CLSID\{D9B72B2C-0F09-48FE-BA87-A275A050AA83}
Name = -
Component = MyComponent.dll

This was tried via Major Upgrade so the MyComponent.dll component should have been marked for uninstall.

Does anyone know what could be wrong?

If all else fails, I'll just run regedit against a cleanup .reg file via custom action, but that seems kind of cheesy.

Any help is greatly appreciated!!
Labels (1)
0 Kudos
(3) Replies
TsungH
Level 12

In which installer is the RemoveRegistry Table entry in? The old (already installed) or the new (currently installing)? It says in the link that "The registry information is deleted from the system registry when the corresponding component has been selected to be installed locally or run from source.
0 Kudos
Superfreak3
Level 11

The entry is in the new installer so it removes a legacy registry entry when the associated component is marked for install.

From everything I've read, all seemed to be setup properly.

For now I just added a custom action to run a .reg file that is installed with our product for other maintenance purposes.
0 Kudos
TsungH
Level 12

Not sure if you still want to spend more time on this.
You may want to verify verbose installation log of major upgrade to confirm if the component is marked for installation.
0 Kudos