Click here to Skip to main content
15,899,935 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hey ppl,can ny1 suggest me hw to go bout the following.
I'm creating a simple application which includes 3 forms,which takes i/p,stores in the database(i'm using sql server 2008) and display back the searched item,now my problem is tat i want to create a setup file for the above application,in which my application should do the following..
->it shud include the database wich im usin in sql server 2008 in the setup file
->the setup shud successfully be installed on ny othr machine wich doesn't hav the sql server
Posted
Comments
Dalek Dave 10-Mar-11 18:43pm    
Not worth improving this question

If you don't have sql server in your other machine, you could install the DB using a sql script and pointing to another machine (instance of sql server)

script[^]

Depends if you are going to use installshield, VisualStudio, or another how you will do it.
 
Share this answer
 
Comments
luisnike19 10-Mar-11 16:36pm    
http://kb.flexerasoftware.com/doc/Helpnet/InstallShield2011/SQL-CreatingSampProjSQLServer.htm
Dalek Dave 10-Mar-11 18:44pm    
Good attempt at an answer, but you didn't type in txtspk, so he won't understand you! but 5 for trying
luisnike19 10-Mar-11 20:48pm    
lol, I really hate that term "txtspk". In fact it's a new word for me in english. Thanks
You asked this question in the VB Forum.
Do not cross post.
Also, do not speak like a child.

If you feel only able to communicate in the digital equivalent of clicks and grunts then try another developer site.

Txtspk is for insolent teenage girls and morons who cannot be bothered to type on a keyboard properly with their fat simian fingers.
 
Share this answer
 
Look at the answers given for the similar question asked here[^].

Various article links are present in it that will help you achieve the same.

Have a look at these too:
Creating setup With support for database creation Using VS.NET[^]
Create database during installation of a .NET application [^]
Deploy your Application and Database[^]
 
Share this answer
 

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