I have a .NET ClickOnce application. Sometimes the installation of a new version fails and user cannot launch the application any more.
When the failing app is uninstalled on a local computer and installed anew, then everything is ok.
When I rollback to the previous version (from Windows control panel) it is also working, but after the rollback I am unable to retry the installation of the failed update. It means, that after a rollback the newer version (that is actually published on server) is ignored by the client even if I try to update it explicitly by the code. The code I use is similar to this example http://msdn.microsoft.com/en-us/library/ms404263.aspx.
Is there any way how to retry the installation of a previously rolled back update?
I have tested it now with another application that is also deployed with ClickOnce to IIS server directly from Visual Studio. The behavior was little different. When I rolled the app back then after launching it, it did offer an update once but after refusing the update then it is not offered during startup any longer.
So it seems to me now that perhaps launching the app from the installation URL and not from the shortcut might do the trick. But to be sure I will wait until the update fails again.