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
- :
- How to selectively uninstall by feature?
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
‎May 15, 2008
02:56 PM
How to selectively uninstall by feature?
I have a VB application with a database. I would like to give the user the option to uninstall and reinstall the program without touching the database. (Usually need to do this because some DLL went missing when another program was removed).
I created the database as a separate feature (not required) which gets installed with a typical installation, but can be omitted with a custom one. However, when I uninstall, the database gets removed with no option to keep it.
Is there a way to leave the database alone when the program is uninstalled?
Crawford
I created the database as a separate feature (not required) which gets installed with a typical installation, but can be omitted with a custom one. However, when I uninstall, the database gets removed with no option to keep it.
Is there a way to leave the database alone when the program is uninstalled?
Crawford
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 15, 2008
03:36 PM
What kind of database is it? If it's a file, you could mark the component as permenant.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 15, 2008
05:03 PM
Yes the database is an Access type file. It's installed into a Database folder of the user's choice (with a default location in the AppData folder), and a Registry key is created so my application can find the database. When I uninstall, the Database folder gets deleted.
I just looked at the Advanced tab of the File properties - looks like I can make it do what I want with these settings. Thanks a bunch Christopher for pointing me in the right direction!
I just looked at the Advanced tab of the File properties - looks like I can make it do what I want with these settings. Thanks a bunch Christopher for pointing me in the right direction!
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)