Connection string during installation

Posted by anon2009 on Server Fault See other posts from Server Fault or by anon2009
Published on 2009-12-28T14:38:41Z Indexed on 2010/05/10 8:04 UTC
Read the original article Hit count: 294

Filed under:
|

Hi,

I've been convinced to use windows setup files(msi) for the installation of my new windows forms application after I asked a question here and got some excellent answers (thank you all): http://serverfault.com/questions/97039/net-application-deployment

Now i have a different question:

My application will need to access a SQL Server to provide users with data, which means that the connection string must be stored in the client's app.config file.

How should I handle this?

During installation, the user enters the connection string to that database? How they get the connection string? In an email from the admin? What if the admin wants to use SQL authentication and need to put the user info at the connection string?

So you know, the app will be sold via the internet, so I don't have any access to the admins or the network.

Any suggestions?

Thanks in advanced.

© Server Fault or respective owner

Related posts about msi

Related posts about connection