The application (.NET C#) I'm working on is being deployed at our customer's own servers, on their IIS, so we can use ClickOnce to install the application on the customers work computers. Since it's the customer's own servers the IPs are never the same. This is a problem for standard ClickOnce update mechanism. Here's the scenario I'd like to end up with:
- Remove the "The application should check for updates" from the project.
- After start-up the application fetches application settings from the server (this is already implemented) and in those settings the update URL is provided.
- Using the update URL the application uses ClickOnce to check for an update.
- The application is updated and restarted.
Is this possible? And how?
I've read How to move a ClickOnce deployment package and this might work, but sometimes the customer decides to change the server IP.