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: Making sure not to delete particular directory while uninstalling
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Feb 25, 2008
05:50 AM
Making sure not to delete particular directory while uninstalling
When I uninstall my application some of directories and their some of contents get deleted while some still stays there. I want to customise it means I want some particular directory and all its contents do not get deleted while uninstalling and all other which i have not selected should get deleted. How to do so?
(1) Reply
Feb 27, 2008
11:05 AM
varunthukral,
Why would you want to not remove files you installed?:confused:
The simplest way to do this is, if your files are in a specific component, set the uninstall property to 'no'. If it is not in a specific component then during OnMaintUIBefore rename the particular folder. The uninstallation process will not remove a folder it does not know about. Then in OnMaintUIAfter rename the folder back to the original.
Cheers,
ME
Why would you want to not remove files you installed?:confused:
The simplest way to do this is, if your files are in a specific component, set the uninstall property to 'no'. If it is not in a specific component then during OnMaintUIBefore rename the particular folder. The uninstallation process will not remove a folder it does not know about. Then in OnMaintUIAfter rename the folder back to the original.
Cheers,
ME