/build/static/layout/Breadcrumb_cap_w.png

RemoveRegistry question

Got an app that leaves behind ARP entries so tried useing RemoveRegistry table to get rid of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{guid} on removal. There's also a sticky services key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services that doesn't go away on removal. Both of these stick around even though I created a standalone component for removing this crap in the MST. About ready to chuck it and use a CA. WTF? that sux. Why can't I use the standard tables? This is what they're supposed to do.

There are not many examples out there of actually using this table/action. Any help appreciated!
TIA, Owen

0 Comments   [ + ] Show comments

Answers (5)

Posted by: anonymous_9363 14 years ago
Red Belt
3
Owen, for uninstalling, only keys and values which were installed originally will be removed by entries in the RemoveRegistry table. If they're not present in the original, one way around would be to create a pre-requisite (or would that be "post-requisite?!?) MSI which "installs" a bunch of RemoveRegistry entries :)
Posted by: timmsie 14 years ago
Fourth Degree Brown Belt
1
I could be wrong here, but I believe the RemoveRegistry table should only be used to remove keys when installing.

details about the RemoveRegistryValues Action are here:

http://msdn.microsoft.com/en-us/library/aa371207(VS.85).aspx

At the end of the first paragraph is this statement:

This action removes a registry value that has been authored into the RemoveRegistry table if the associated component is set to be installed locally or as run from source.
Posted by: zipsantro 14 years ago
Purple Belt
0
RemoveRegistry executes only during installation only.
You can add "-" registry value to your hive which takes care of deleting its subkeys during uninstallation.

Jeeoo!
Santro
Posted by: slb 14 years ago
Purple Belt
0
I hope you would have also checked for Component attributes and whether the service is just marked for deletion and not deleted.

Added to Santro, "*" would also help you to remove the entire hive.
Posted by: aogilmor 14 years ago
9th Degree Black Belt
0
ORIGINAL: VBScab

Owen, for uninstalling, only keys and values which were installed originally will be removed by entries in the RemoveRegistry table. If they're not present in the original, one way around would be to create a pre-requisite (or would that be "post-requisite?!?) MSI which "installs" a bunch of RemoveRegistry entries :)


Thanks Ian, I am thinking you and Timmsie are right and I have to use a deferred CA at the end.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ