cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Nagash_42
Level 3

How to delete additional folders on uninstall in Basic MSI

The application I install creates additional folders for working data in its install directory. I would like to delete those folders on uninstallation. How can I achieve that? Could I use a Custom Action with something like "DeleteDir(INSTALLDIR^"work", ALLCONTENTS);"? Where would I put that in the sequence?
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

You might see if populating the RemoveFile table will work (the MSI help has details). Otherwise, a deferred custom action scheduled after the RemoveFolders action sounds right.
0 Kudos