This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Basic MSI registry key is not deleted on uninstall
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 12, 2015
10:29 AM
Basic MSI registry key is not deleted on uninstall
Hi all
I have Basic MSI Project where I used Registry view in InstallShield (System Configuration -> Registry) to create key with values. Now I am facing an issue that registry key is not deleted during uninstall on some machines.
It works fine on my machine and one other test VM we have, but it doesn't delete on several other VM's we have. I am not sure why this is happening.
I already spend two days trying to find what I am doing wrong, I tried setting registry flag to Automatic or Install if absent, Uninstall if present (*) nothing works.
I also tried to create separate Basic MSI test with similar registry entry and it works on the VM that my installer doesn't work.
If anybody here had similar situation, I would appreciate the help.
I have Basic MSI Project where I used Registry view in InstallShield (System Configuration -> Registry) to create key with values. Now I am facing an issue that registry key is not deleted during uninstall on some machines.
It works fine on my machine and one other test VM we have, but it doesn't delete on several other VM's we have. I am not sure why this is happening.
I already spend two days trying to find what I am doing wrong, I tried setting registry flag to Automatic or Install if absent, Uninstall if present (*) nothing works.
I also tried to create separate Basic MSI test with similar registry entry and it works on the VM that my installer doesn't work.
If anybody here had similar situation, I would appreciate the help.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 13, 2015
05:13 PM
Not sure what was the issue, but I changed Component Code that was tide to registry creation and it solved the problem.
Steps:
Go to Organization -> Setup Design -> (locate component that is associated with registry creation look in System Configuration -> Registry) -> Change Component Code
Steps:
Go to Organization -> Setup Design -> (locate component that is associated with registry creation look in System Configuration -> Registry) -> Change Component Code
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 14, 2015
10:24 AM
My guess is that the component is flagged as shared and that the code matched something else using the same GUID. Therefore the counter for the component code was greater than zero and the registry entry is not removed.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 25, 2015
10:23 PM
DLee65 wrote:
My guess is that the component is flagged as shared and that the code matched something else using the same GUID. Therefore the counter for the component code was greater than zero and the registry entry is not removed.
I had exactly the same issue and it took me the whole morning to find this post and fix it :mad: