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
- :
- Access DB File gets Refreshed Automatically
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
Apr 27, 2011
03:12 PM
Access DB File gets Refreshed Automatically
I'm new to Installshield, learning on the Limited Version that comes with VS 2010.
Here's what I did:
1. Wrote install to place an Access DB File in a subfolder.
2. Used the App to write to the Access DB file.
3. Uninstalled the App.
4. Re-installed the Setup again.
5. I noticed that the Access DB File was not replaced. It had all the original
data in it, from step #2.
Why didn't it completely replace the DB file with a new, empty one?
Thanks for any reaction!
Corey
Here's what I did:
1. Wrote install to place an Access DB File in a subfolder.
2. Used the App to write to the Access DB file.
3. Uninstalled the App.
4. Re-installed the Setup again.
5. I noticed that the Access DB File was not replaced. It had all the original
data in it, from step #2.
Why didn't it completely replace the DB file with a new, empty one?
Thanks for any reaction!
Corey
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 28, 2011
10:00 PM
It was not replaced because the file on the computer would be newer than the one in your installer. Use Always overwrite option if you want to always start with clean database (I will not recommend as you customer may loose all the data).
How to override system file:
1. goto installer designer
2. select AApplication Data -> Files and Folders
3. browser to your access database
4. right click on it and select properties
5. select Always overwrite option
How to override system file:
1. goto installer designer
2. select AApplication Data -> Files and Folders
3. browser to your access database
4. right click on it and select properties
5. select Always overwrite option
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)