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

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?
Labels (1)
0 Kudos
(1) Reply
MarkEarle
Level 6

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
0 Kudos