This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to delete additional folders on uninstall in Basic MSI
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 05, 2009
09:09 AM
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?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 05, 2009
09:52 AM
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.