I am using a custom action to call an executible and place a file in my installation directory. On uninstall, this custom action is not run (by design).
As it is now, the file is left with the installdir after uninstall. i.e.
"C:\Program Files\Company\Product\Bin\myfile.jim"
I need this file, and the install dir to be removed when the uninstall is run. Any Ideas?
An advanced technique is to populate a row in the RemoveFile table of your MSI database (using, for example, Developer's Direct Editor view); this doesn't require a custom action. For information about the RemoveFile table, see the MSI Help Library.
Robert, I liked the idea of doing the direct edit, and tried to do it, but couldn't seem to get the table entries correct in the remove section. Could you provide some insight using the example above? Remember, this file is installed via a custom action that calls an exe to place the file.