-
Notifications
You must be signed in to change notification settings - Fork 11
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
Service isn't updating #2
Comments
UPDATE It works now. The problem was due to an incorrect Releases path. The value of the string variable was correct, but I failed to account for it being modified in the code. Once I got that fixed, the service updated as expected. This answers the first three of my questions, however I'm still curious about the intended usage of Here's some updated code (partial credit to Nonobis) to fix the
|
I'm trying to better understand the workings of this rather intriguing piece of code.
As it is, the service isn't updating. I've duplicated your configurations, e.g.
SquirrelAwareApp
, double-check Releases path, etc.I should note that the service is throwing an exception during stop:
Paul recommends keeping
UpdateManager
around only for the duration of the actual updating action, as noted here. (At first I'd thought that thisDisposing
error only occurred during Debug, but now I see that it's happening even during Release.)SquirrelAwareApp
?WithOverlapping
?That said, my test service isn't even acquiring the latest release from the distribution folder. I don't know whether that's related to the
Disposing
error discussed previously, but I probably doubt it.Nice work on this. I'd like to contribute, but I'm not very handy with C# I'm afraid.
The text was updated successfully, but these errors were encountered: