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
- :
- Delete an installation directory upon uninstall
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
‎Dec 05, 2011
08:17 AM
Delete an installation directory upon uninstall
Hello all,
I was wondering what the best practice was for deleting an installation directory upon uninstall. The directory contained a VM that was installed via a Basic MSI project and extraneous files are left in the directory after I uninstall.
Thanks!
I was wondering what the best practice was for deleting an installation directory upon uninstall. The directory contained a VM that was installed via a Basic MSI project and extraneous files are left in the directory after I uninstall.
Thanks!
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 05, 2011
05:44 PM
If the extraneous files are generated at application runtime, uninstallation will not remove them unless explicitly instructed to do so. If they should be removed, please refer to RemoveFile Table.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 16, 2011
12:47 PM
So I would like to delete a directory using "DeleteDir" but the directory I want to delete is dynamic and can be chosen at install time. Specifically it is: [INSTALLDIR]
How can I reference this in the script to be whatever install directory the user chooses at install time?
How can I reference this in the script to be whatever install directory the user chooses at install time?