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

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)
0 Kudos
(1) Reply
rrinblue22
Level 9

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