Posted 17 May 2004 - 22:26
I have just reported a bug to Microsoft with the Visual Studio Installer v1.1 in which files designated as permanent were being correctly left on the system during a program removal, but in repair mode were being deleted! (Since repair is the default in the Add/Remove tool, it may be run by mistake easily.)
I don't know what program you are using to create your MSI files, but perhaps the problems are related. Using the following properties for a component (file) in VSI would replicate the problem:
DoNotUninstall: True
Condition: NOT Installed
Transitive: True
These are all the right settings, but VSI was saving the component attributes as 80 instead of 128 (which is 80 hex)
To resolve the issue, Microsoft Support suggested using the Orca editing tool to change the component's attribute of any files intended to be permanent to 128. This works fine and may solve your problem regardless of which installer authoring tool you use. Hope this helps.