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: Files not deleted after 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
Nov 26, 2008
04:44 AM
Files not deleted after uninstall
Hello All,
I am using InstallShield 2009 to develop a setup file for my application. The default installation directory is set as "C:\Program Files\My Application".
Observation 1: The installation is successful. But after running un-installation, only some of the files are deleted, but not all the files and folders are deleted.
Observation 2: If I change the installation directory to some other location, the files are folders are deleted as expected.
Observation 3: Another observation is that, if I perform un-installation with same default directory in a PC which does not have InstallShield 2009, the un-installation deletes all files and folders as expected.
Do I need to any setting while creating the setup? Have anyone faced similar problem?
Could anyone please suggest inputs to resolve this issue?
Best Regards,
Alex.
I am using InstallShield 2009 to develop a setup file for my application. The default installation directory is set as "C:\Program Files\My Application".
Observation 1: The installation is successful. But after running un-installation, only some of the files are deleted, but not all the files and folders are deleted.
Observation 2: If I change the installation directory to some other location, the files are folders are deleted as expected.
Observation 3: Another observation is that, if I perform un-installation with same default directory in a PC which does not have InstallShield 2009, the un-installation deletes all files and folders as expected.
Do I need to any setting while creating the setup? Have anyone faced similar problem?
Could anyone please suggest inputs to resolve this issue?
Best Regards,
Alex.
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 26, 2008
07:45 AM
I guess... the install location C:\Program Files\My Application is being shared across other applications which you might have created using installshield...
Can you please check whether all the application related files are getting uninstalled from the install folder?
Also, check whether there are any other applications refers to the same install folder.
Thanks
Can you please check whether all the application related files are getting uninstalled from the install folder?
Also, check whether there are any other applications refers to the same install folder.
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 26, 2008
08:05 AM
Thanks for your suggestions. Actually there is no other application shared in this folder and I noticed that only the files of type .exe and .dll are not deleted.
Best Regards,
Alex.
Best Regards,
Alex.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 01, 2008
11:55 AM
I've seen this problem on machines where many installs and uninstalls have been done, and it's caused by the reference counts getting corrupted.
Look at this registry key after your uninstall and see if your files are listed there:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs
If so, there's your problem. Delete the keys for your files that should be deleted and see if the problem goes away.
Cheers,
David
Look at this registry key after your uninstall and see if your files are listed there:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs
If so, there's your problem. Delete the keys for your files that should be deleted and see if the problem goes away.
Cheers,
David
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 10, 2008
11:28 AM
Hi David,
Thank you very much for your inputs.
I was able to see the registry contents remain even after un-installation in:
“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs”.
I removed all the registry keys and repeated installation and un-installation once again. Now all the files and folders are removed as expected.
Thanks very much for your help once again.
Best Regards,
Alex.
Thank you very much for your inputs.
I was able to see the registry contents remain even after un-installation in:
“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs”.
I removed all the registry keys and repeated installation and un-installation once again. Now all the files and folders are removed as expected.
Thanks very much for your help once again.
Best Regards,
Alex.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 10, 2008
02:19 PM
Alex,
Glad you got it working. You may want to consider whether you realy need to specify components as shared or not.
Cheers,
David
Glad you got it working. You may want to consider whether you realy need to specify components as shared or not.
Cheers,
David
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 21, 2008
09:35 PM
Hi David,
Thanks very much for your suggestions. I will relook into that...
Best Regards,
Alex.
Thanks very much for your suggestions. I will relook into that...
Best Regards,
Alex.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)