Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Uninstall doesn't remove files


1 reply to this topic

Majuer

Majuer
  • Members
  • 4 posts

Posted 24 February 2005 - 17:24

I authored a small Basic MSI project (one componet with 3 files in it and one registry key). One file was set to be the key file. The installation seemed work fine, but the files and registry key were not removed after uninstallation.
I checked the componet and it is not set to Permanent.
Then I cleared the key file, uninstallation started to work. I am still fustrated because I don't know why!
Please help! Thanks!

mandy

mandy
  • Members
  • 121 posts

Posted 24 February 2005 - 19:21

Four questions:

1) Which file were you using as keypath?

2) Is your component incrementing the shared Dll count (msidbComponentAttributesSharedDllRefCount bit set)?

3) Did the file already exist before you installed your package?

4) Does the following registry entry exist when your package is installed (and what's the value)?

"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs\<PathToYourKeyPathFile>"

Edited by mandy, 24 February 2005 - 19:22.