Click here to Skip to main content
15,885,998 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello Guys,
Please Help me to create the setup is vs2010 using sql server 2008 database for windows form apllication..step by step....

Thanks For the Answer..
Posted
Comments
[no name] 20-Aug-13 5:40am    
It would really help us help you if you told us why the answers to the exact same question others asked and you are asking now did not help you. So we do not end up repeating ourselves with solutions that you have tried already and they did not work for you.

Hi,
Please clear your question in descriptive, Are you want just make setup of your code develop in vs 2010 which is connected to sql server 2008 then its quite easy.
 
Share this answer
 
Comments
Member 9966221 20-Aug-13 5:35am    
yes i want to just make a setup in vs2010 using sql server 2008 database ..
abhishek_singh 20-Aug-13 6:23am    
send your db file with debug folder content when creating setup and path of db file set appropriate.
ok,
You can follow below steps and create setup for your program
1. right click on solution file in your project and click add new project
2. click on other project tree type on new open panel
3. you find setup and deployment tab click on tree
4. you find two things one InstallerShieldLE and Visual Studio Installer
5. Click on Visual Studio Installer
6. Then their are two way you can generate setup one way to click SetupProject or SetupWizard
7. Click any one as per your requirement
8. Finally You have have found three folder Application Folder, User Desktop and User Program Menu
9. Click on Application Folder and pest all files and exec from your debug folder generated after build your application.
10. then Build all application it will create a setup where you have given path at starting.
 
Share this answer
 
Comments
Member 9966221 20-Aug-13 6:14am    
I knew this steps but how attach sql database ..?
abhishek_singh 20-Aug-13 6:37am    
Also you must have to see that how to that sql database can be run if just attach with your setup because not necessary sql server running on client machine
Member 9966221 20-Aug-13 8:14am    
but i dont know how to attach my sqlServer database into my setup file

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900