Edited by overlordchin, 31 January 2011 - 15:24.

Installer leaves components on uninstall
Posted 31 January 2011 - 15:18
Posted 02 February 2011 - 11:49
Stefan Krüger
InstallSite.org twitter facebook
Posted 11 February 2011 - 15:34
Posted 15 February 2011 - 10:48
Open the msi in direct edit mode or in InstaEd or Orca to double check that the permanent flag is really gone.
Clear the "shared" flag. Does the component properly uninstall then (on a clean machine)?
Check the value to the SharedDll count in registry for the files in question. Check them before install, after instalm and after uninstall.
Generate a log of the uninstall to see why Widows Installer doesn't remove the files.
Where do you install those files? Somewhere under Program Files or maybe in Windows or System32 folder?
Did you run validation for your build in InstallShield? It can detect a number of potential problems.
Stefan Krüger
InstallSite.org twitter facebook
Posted 28 February 2011 - 14:44
QUOTE |
Clear the "shared" flag. Does the component properly uninstall then (on a clean machine)? Check the value to the SharedDll count in registry for the files in question. Check them before install, after instalm and after uninstall. |
QUOTE |
Where do you install those files? Somewhere under Program Files or maybe in Windows or System32 folder? |
The components that fail to remove get installed under "C :\Program Files\Common Files\targetdir"
QUOTE |
Did you run validation for your build in InstallShield? It can detect a number of potential problems. |
That sounds promising. How on earth do I do that?
Posted 28 February 2011 - 14:48
Posted 28 February 2011 - 15:18
Posted 28 February 2011 - 19:13
Stefan Krüger
InstallSite.org twitter facebook
Posted 28 February 2011 - 20:45
Posted 28 February 2011 - 20:47
QUOTE (Stefan Krueger @ 2011-02-28 19:13) |
The registry key is only created if you set the "shared" flag to yes. It is used for compatibility with legacy setups. Windows Installer has its own method of reference counting. |
if the windows installer has it's own method of ref counting how can I be sure it is working correctly? Is there some way to influence it through component settings in IS 2009?
Posted 01 March 2011 - 16:13
To validate an update, you must first specify the older setup in the Updates view. Then you should be able to perform update validation.
Stefan Krüger
InstallSite.org twitter facebook
Posted 01 March 2011 - 18:44
I have tried un-setting the shared flag. Saving and starting a build. Then going back and resetting it back to shared and rebuilding again. The problem still persists. I do not understand why only this particular installer seems to have a problem with the shared component (there are actually about 5 shared components in this installer that have this problem). While the others seem to work as expected with the same settings.
Posted 02 March 2011 - 18:29
Stefan Krüger
InstallSite.org twitter facebook