-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application fails to update #236
Comments
This is due to an exception: So if it fails to update using the delta, it should download and use the full, but this exception is not being caught gets all the way up to my application. Stefan |
I got this error with the most recent update I published, too. I didn't investigate any further, but simply pulled all delta packages from my feed (forcing users to download the full update). It would be nice if Squirrel automatically fell back to trying the full update if the delta update fails. |
I solved this by never uploading delta packages. Don't do it! Regards, 2014-06-18 22:46 GMT+02:00 Bradley Grainger [email protected]:
|
@peters it works about 90% of time for me. So I'm going to implement a work around where if it fails to use the Delta then it goes back to the full. My app is around 10 MB and if I don't need to download that much data it is better not to. |
Dispose? Yes we can!
For the first time ever I have had a scenario where the application doesn't update. It clearly downloads the update but doesn't install it properly. all I get from the installer log is this:
[INFO][2014-02-10T07:13:25] UpdateManager: Downloading RELEASES file from http://[site].azurewebsites.net/setup
[INFO][2014-02-10T07:13:34] UpdateManager: cleanDeadVersions: for version 1.0.23
[INFO][2014-02-10T07:13:34] UpdateManager: cleanDeadVersions: exclude folder app-1.0.23
Which appears to indicate the installer has started and stopped for an unknown reason.
I'm wondering what the best way to handle this is? Because it is now an out of date release I can't test anything else about the update, but presumably there been an exception in UpdateManager.ApplyReleases? My code is:
using (var updateStatusBarItem = StatusBarTrayManager.CreateNewItem("Updating application"))
{
updateStatusBarItem.Maximum = 100;
var releases = updateInfo.ReleasesToApply;
}
I was wondering if this could potentially be an issue with the diff version only, so maybe I could automatically force it to use the full version if I ever do get an exception in ApplyReleases? I have confirmed that the full version works on the basis of completely reinstalling, which does work (except for the icon never appearing, but that's another post).
Stefan
The text was updated successfully, but these errors were encountered: