Click here to Skip to main content
15,867,948 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

I want to create a setup by installshield for my winform c# application.My application works with a sql server database.
Now i have two options to add the database to the destination computer which run my setup :

1)Add the database files to the setup and then paste them in the destination computer after the setup has finished
Or
2)Create it by run some sql scripts again after the setup has finished.

Now the question is that which one is the best?
Posted

1 solution

Hello,

According to me 2nd one is best.

1. If you need to make any DB changes in existing application you simply need to add script for those changes.
2. Upgrade would be easy(If provided).

Thanks,
Hitesh Varde
 
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