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
- :
- Prevent Uninstall from Removing Certain Files or File Types?
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
Feb 04, 2013
02:31 PM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 04, 2013
03:32 PM
you can call Disable(LOGGING) beforehand your copy script triggers and then Enable(LOGGING) after that and this should stop the files from uninstallation.