Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have created windows application using windows c#.net and ms sql server 2008. And i am going to build setup file including database. Is that possible to build a setup including DB with out installing MS SQL Server 2008 in my client system?. If possible, this helps no need to install SQL server in my client system or else give a possible feedback. Thanks in advance.
Posted
Comments
CHill60 16-Jul-13 18:33pm    
You can probably include the database but I don't think it's possible to access the database unless you install sql client ... or have all of the sql access server side (web service for example). You could use an alternative to SQL-Server 2008 e.g. MySQL or others
ardeva1201 17-Jul-13 6:05am    
thanks

1 solution

A more suitable way to solve your issue would be to create a Custom Action in your setup right after commit-phase.
Custom Action in Visual Studio setup projects[^]

I did the following steps already: after commit a Form opens, asking for the DB Connection props and the place to install. Afterwards it executes the TSQL commands to create the Table and Data. Works great.
 
Share this answer
 
Comments
ardeva1201 17-Jul-13 6:05am    
thanks

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