Posted - 12/24/2012 : 21:19:25
I have a small VB.Net application with Visual Studio Express 2005 and MS SQL Server Express 2008. I supply .mdf file in my application to store the data of client.
Problem is :
Now when I am providing new version of my application and installation of this new version removes older .mdf file & and earlier data is lost.
My Query is :
1. How can I automate the data backup process before installing new version of application.
2. How to execute the data backup code before the installation process.( I have the working code for data backup and restore in my application, but the client some time forget to take data backup before installation). So I want to automate this.
I am using Advanced Installer (Free Version) to create .msi package.