Click here to Skip to main content
15,886,065 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi am a beginner to .Net...
Am trying to convert a windows application to .exe setup file.
But I can't convert it along with the database...
Can any one help me to convert windows application to a setup file along with the database please.
Posted

There are various ways to setup the basic database. One common approach is to include SQL that will create the database with all the tables, stored procs, views etc. A backup of the default DB is also included in the setup and this backup is then used to restore the database onto the newly created database. You can easily do all this using basic SMO.

Alternatively, you can use functionality provided by installer applications to do this, but that may require you to buy a higher end commercial package like Installshield or Wise.
 
Share this answer
 
You can see this links

Click

Click

Click
 
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