Click here to Skip to main content
13,196,730 members (79,246 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I am using InstallShield- 2011 , for setup creation of my product as I have added some registry entry through the same while installing the product and now I want remove these registry entry while uninstalling the product.

I have selected option "Unistall entire Key" from the "System Configuration" in installShield while creating registry. But this doesnt help as installer not able to remove registry while uninstalling.
Posted 11-Nov-12 19:24pm
Updated 13-Nov-12 18:32pm
Pablo Aliskevicius 12-Nov-12 2:13am
Consider adding 'InstallShield' to the tags of your question.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Try to switch this option from 'Uninstall entire key' to 'Install if absent, Uninstall if present' or to 'Automatic'.

Good luck.


Some files were left during uninstallation process and unintsllation script stopped before registry cleanup.
Pintu Reang 14-Nov-12 9:49am
I tried with all these options but not working............
skydger 14-Nov-12 13:16pm
This is wierd.
Are there any permissions set with your registry key? What is the version of target system with this issue?
Pintu Reang 15-Nov-12 0:27am
I have not set any permissions for these registry entry, and iam trying to install the setup in Windows XP as well as Windows 7. (the setup has been created using installShield 2011).
skydger 15-Nov-12 1:36am
Are there any files left after uninstallation on those target systems? Does this key in your setup project exist in separate Component or with some application files? What is the type of your project: 'Basic MSI Project' or 'Install Script Project'?
Pintu Reang 15-Nov-12 7:01am
yeah two files are left after uninstallation , There is no saparate components using those files, and my project type is basic MSI..
skydger 15-Nov-12 8:00am
I suppose your uninstallation process wasn't finished correctly, so the uninstallation sctipt execution stops before the registry cleanup routine starts. Try to check why those files hasn't been removed. I think it is an issue.
Pintu Reang 20-Nov-12 1:19am
Hi as you said uninstallation process wasn't finished correctly that is correct, I re checked all the steps and found that some of dll which installed by application is also used by the other application which also developed by me so, this error persists while removing registry is called. and If I remove the other application and uninstall this new application registry get clear.
skydger 20-Nov-12 2:17am
As far as I know there are settings which allow to inform user when shared libs or other components been used by another process and therefore it asks for the action. But I doubt that this information dialog would appear if other process is not running.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171019.1 | Last Updated 20 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100