We have an app which I've coded up and for ages now I've pushed updates to it through ClickOnce. The app sits on our main file server. But every time I push out an update I get asked what I've changed! Is there any way to provide a personalised description of an update with ClickOnce which would be user-friendly? For example, when the user launches their application, ClickOnce asks "A new version is available. Would you like to update?", below which I could have a description of what I've updated? Or is this impossible with ClickOnce?
Here's how I do it. I call this method in my startup code, in Release mode:
using System.Deployment.Application;
...
private void DisplayChangeLog()
{
if (!ApplicationDeployment.IsNetworkDeployed)
return;
if (!ApplicationDeployment.CurrentDeployment.IsFirstRun)
return;
ThreadPool.QueueUserWorkItem(state =>
Execute.OnUIThread(() => <Pop up window with latest changes> ));
}
I know this isn't precisely what you want, as it displays the first time the user runs the app but after they've already installed the update. In our environment users don't have a choice whether they update or not, so it makes no real difference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With