c# setup project with parameter
<p>I have developed an C# application that connects to a database on a different server. The connection string will be taken from the app.settings file.</p>

<p>Now as the application runs fine, my client (customer) would like to deploy the app to different client computers via a GPO. It is already working on my local computer and I can connect to the server (my server) because the app.settings will be installed correctly in the appropriate installation folder. But the value of the sql server in the app.settings is hardcoded in that file. </p>

<p>And due to the fact that I am not really aware of the SQL server name in the client environment I would like to give the client the possibility to setup and deploy the application with the server name as a parameter in the setup file.</p>

<p>Is that possible like run the setup script as "setup.exe -server 192.168.xxx.xxx"?</p>

<p>Many thanks!</p>