1
Hi.
Please follow this article to create setup and here you can add your database also,
http://www.c-sharpcorner.com/uploadfile/cb88b2/simple-steps-to-create-setup-file-using-install-shield-le-fr/
otherwise without adding your database you can directly connect to a server database with in App.config as connectionstring. In the above case no need to add the db in setup file.
thanks.
1
Share the details of the database. Which database are you using?
0
Hi,
Once you go to create exe,you need to add prequsitics of sql server,
after that when you will go to install on other system ,that will create database in your local system and will work fine.
0
Hello everyone,
I am thinking. You have to use WebService for access your mysql database in Window Applicaiton. Then Install mysql in Admin computer and access that database through the webservice.
And I also have a question also. How can I install mysql database automatically when installing my WPF Windows application? For example, If we are installing adobe and like that then installing, supporting file automation like that.
Thanks,
Abhilash.J.A
0
Hi.
I got your point. When you created the setup file in your local and you gave the connectionstring of your local.After your setup file created and now you are trying to install the setup file in another pc and at that time the connectionstring of your pc and that pc is different. So when you run the setup file and try to do any operation in other pc then it will show error. For this you can use a server then that will be better otherwise you can embed the db also . see that below article. Let me know if you need anything else.
thanks.
0
salman jiger yeh mai nay dekha pehlay bhi padha tha, yeh to apnay pc may kaam krta hai dosray may nai karta, mai chahta hoon keh hr pc kaam karay chahay us pc may sql server install ho ya na ho, agr kuch pata ho then tell me
0
hi shekar,
i.m using mysql, and i want to embed db in my project which work in any other simple pc, mera mtlb hai keh agr dosray pc pay sql server install na bhi ho tab bi yeh kaam karay, aisa ho sakta hai kiya ??? and sorry for writing in hindi, i'm also very new with english :)