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
- :
- Re: How to keep database on uninstall
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page

Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 03, 2017
08:33 AM
How to keep database on uninstall
Hi,
I use installShield limited edition for Visual Studio.
On installation, I place a access database .mdb file into [LocalAppDataFolder]MyProgramName
I application work well, and I can modify data on my database.
If I use Windows uninstall, my database has been removed from my folder [LocalAppDataFolder]MyProgramName
What is the way to keep my database on uninstall process ?
Best regards
Eric
I use installShield limited edition for Visual Studio.
On installation, I place a access database .mdb file into [LocalAppDataFolder]MyProgramName
I application work well, and I can modify data on my database.
If I use Windows uninstall, my database has been removed from my folder [LocalAppDataFolder]MyProgramName
What is the way to keep my database on uninstall process ?
Best regards
Eric
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 13, 2017
03:23 PM
The Limited Edition of doesn't contain built-in functionality to mark a file/component permanent, however if you build it uncompressed (or just build an MSI) you can open the MSI directly in orca and update the component table manually. I believe the setting the Attributes column to 24 should make the file permanent. Here is a link to Microsoft's documentation on the Component table: https://msdn.microsoft.com/en-us/library/windows/desktop/aa368007(v=vs.85).aspx
The full version (Exp/Pro/Pre) do have this functionality.
I hope this helps.
The full version (Exp/Pro/Pre) do have this functionality.
I hope this helps.
