follow the following steps:::: 1.goto new project in visual studio which you use 2.select the project type as setup and development under the menu other projects ,click ok 3.in the solution explorer right click on the project name and select add file 4. add the your projct.exe file which is present in debug folder of your project and also add the database file. 5.design the window as u wish and finally build the project. 6.goto the setup project solution folder you'll find the setup file within the debug folder,,,
Open the property windows then go to "Publish" tab then go through publish wizard.
Hope this Work...
Use the Publish option provided by Visual Studio or use third party setup file creators like Inno Setup. I like Inno Setup very much. You can consider this software for creating excellent setup files for Windows 2000, XP, Vista and 7.