hi
can anyone tell me..
how to creat exe file of c# project linked with sql server 2005(file to be installed on other pc).
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jean PaulPosted Feb 8, 2011, 9:48 AM
1) If you wanted just an exe file to be deployed, then you have to embed the sql server files inside your exe
as embedded files. On the first run on client machine you have to extract the sql server files to user machine.
This link could help you: http://jeanpaulva.wordpress.com/2011/01/19/saving-an-embedded-file-in-c/
2) If you wanted to create a setup application, you can add the dependency file into the setup project and bundle it.
3) If you needed sql server installation to happen, then setup pre-requisites should be added for it.