Hi,
I know this has been posted before, but I've not been able to find a scenario that works. So, my application runs in eclipse, which at runtime, generates a number of cached files in a sub-folder of the installation folder. We actually create the sub-folder (and place a single file into it) as part of the installation, so the folder is explicitly referred to by AI
Now, when I uninstall it leaves these files behind (as it didn't install them). This is not ideal for me, so I've got a simple EXE that I try and execute that will delete a file/folder (I can't use VB Script as some of our clients disable scripting on their PCs), but I can't for the life of me work out where in the standard action hierarchy to put it? I've tried a number of scenarios, but I can't get it to to work.
I've attached a zip example of the problem - to reproduce, compile & run the MSI. then create a text file (can be empty) in the "config" sub folder. Then uninstall - the file remains.
So, does anyone have any suggestions / pointers as to which standard action I can use?
Thanks in advance,
Brian
FOLLOW US
Get the latest news in Application Packaging