cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ChristopheOce
Level 7

remove file create after install product !

Hi,

I have a setup basci msi project and at the end of installation a service start and the application is running.

Some file are creates (*.txt) and when i remove my product all this files still on the computer !
All right i can create a installscript or vbscript custom action with a condition => Installed for deleted these files because i know the name of the file.

but is there another way for to delete these files by installshield of course?!

Thanks for all
Christophe
Labels (1)
0 Kudos
(4) Replies
RobertDickau
Flexera Alumni

You might look into using the RemoveFile table; please see, for example, this newsletter tip (PDF warning): http://www.macrovision.com/webdocuments/product_data.pdf.
0 Kudos
ChristopheOce
Level 7

Hi robert,

that's run !

yes...the removefile table is good things and simply to use it !


Thanks for the link to the pdf

Have a nice day
Christophe
0 Kudos
marysix
Level 2

Robert --
I guess there is no way to base this RemoveFiles on a condition, eh? I can't see anything in that table that would accomodate that...
0 Kudos
RobertDickau
Flexera Alumni

Right, each RemoveFile record is tied to a component, and that component being installed or uninstalled is what triggers the removal. So unless you can condition the component, etc.
0 Kudos