cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
coreysan
Level 2

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
0 Kudos
(1) Reply
mohit_raghav
Level 4

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
0 Kudos