Hi Paul,
Based on my understanding, these four environments have different web service URL settings, database connection settings etc. But you don’t want your user to make these configurations after install the app. You want to pre-set them. Am I misunderstanding you?
If my understanding is correct. I think you will have at least four URLs to hold these deployments. My suggestion is you can make four copies of your solution; set the configuration information in the VS for each of them and publish. That will be easier than use mage.exe to manually deployment your ClickOnce application. Therefore different business purpose users can install the application from different URLs. They don’t need to configure any more.
If I misunderstood you, please feel free to tell me.
Sincerely,
Kira Qian
Send us any feedback you have about the help from MSFT at EMAIL REMOVED
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the
All-In-One Code Framework!