I currently finished writing my application and I wanted to run the application on a different computer. I built the application using InstallShield project. And when I installed the application and I ran it I got a message telling me that it couldn't connect to the database. So the question is, how to copy the database files while building the application so that it would work on another computer. Thanks.
You need to add required Prerequisites during publish/setup of your application. App.config file--> change name and add same code in your connection code as shown below: