Connection string during installation
- by anon2009
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.