Click here to Skip to main content
15,899,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i have developed winforms application,c# .database is mysql.

how can i make the installer including my database(tables and all.)

plz help me in detail how to do
Posted

Have a look:
http://www.c-sharpcorner.com/UploadFile/87ad51/3/[^]
http://edndoc.esri.com/arcobjects/9.2/NET/0df20605-b457-42d6-b63c-341a3824474a.htm[^]

If you are not restricted to use the VS components. Then I would recommend you to use a third party programm. There are some ones quite good and free, i.e. InnoSetup
Some Help references to InnoSetup
http://www.fredshack.com/docs/inno.html[^]
http://www.innosetup.com/iskb.php[^]
http://www.innosetup.com/ishelp/[^]
 
Share this answer
 
v2
I am not sure what you mean when you say you want to make an installer including database. Ideally, you will create a set up project (using Microsoft setup template) and include the primary output from your source code. On the other hand, you will generate a data base script which you will have to run on your client's MySql database server. You, howerver, can create a batch file which can automate this job for you but it will not go with the installer though.
 
Share this answer
 
Comments
Member 10263519 30-Nov-13 0:58am    
how to generate database script

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