PDA

View Full Version : Why is there no attempt to uninstall a file when REMOVE=ALL



sgoldstein
10-04-2010, 03:39 PM
During uninstall, a particular file is not being removed. I see the following evidence:

1. REMOVE=ALL
2. During the RemoveFiles action, I don't see any attempts to uninstall this file
3. During InstallValidate, I see the following messages for this component:
Component: __compname65; Installed: Null; Request: Absent; Action: Null

and

Component: compname; Installed: Local; Request: Absent; Action: Null

Couple of questions around this:
1. In the second message during InstallValidate, why does it state "Action: Null"? If it's Installed, why does it not plan to remove it? Is this because it can't find the file?
2. What is "__compname65"? Why is this component autogenerated? What does it indicate? Does it provide a clue why the file is not being removed?

Thanks for the help!

Scott

Ivan_mysammy
10-05-2010, 01:14 PM
is this file copied to target machine by installer or generated by application?
you can try to edit removefile table in direct editor if you know the name of the file to be removed.

sgoldstein
10-06-2010, 03:40 PM
This file is copied by the installer. Here is some other interesting information:

1. The file is deleted sometimes, but not always. Therefore, I don't think I need to add it to the RemoveFile table
2. The target directory for these is dynamically set during install time before CostFinalize

Would #2 lead to the generated components with the "_" in the name?