View Full Version : Can't remove file created during install?

07-16-2004, 01:44 PM

I created a file ([INSTALLDIR]Setup\test.txt) during installation, with IS script (CA), I want it to be uninstalled, and I would like to do it with Direct Edit.

In RemoveFile table, I have the following entry with reference to "How do I remove files that were created by my product?" in ISDev help:

FileKey - Component - FileName - DirProperty - InstallMode -
FileKey1 ProgramFiles test.txt SETUP 2

My test project only has 'test' component under 'main' feature', so I also tested 'test' as Component. But no luck so far.

Any idea?


07-16-2004, 06:10 PM
If the component exists in MSI file, and the property in DirProperty column contains a valid path, I don't see why it wouldn't work.