cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Hurricane766
Pilgrim

Prevent Uninstall from Removing Certain Files or File Types?

Hey,

This is for an Installscript project.

I'm wondering if it's possible to prevent the uninstall from removing certain files or file types? Or (even better) to ignore an entire folder while uninstalling?

I know that I can mark a component's "Uninstall" property as "No", but that's not enough. During my install, I detect an outdated version of the program and copy over various user files etc. for the newer version of the program. These user files need to stick around, even if the new version of the program gets uninstalled.

Thanks
Labels (1)
Tags (2)
0 Kudos
1 Reply
rrinblue22
Pilgrim

Re: Prevent Uninstall from Removing Certain Files or File Types?

you can call Disable(LOGGING) beforehand your copy script triggers and then Enable(LOGGING) after that and this should stop the files from uninstallation.
0 Kudos