Skip to content
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

#54 Updater flow refactor and improvements #76

Merged
merged 23 commits into from
Feb 18, 2016

Conversation

robinwassen
Copy link
Collaborator

These changes has been code reviewed and QA-tested by @amc0 and @FWennerdahl.

The reason for these changes is that the Updater fail to perform updates with the error message "Could not launch cold update process" as mentioned in #54 .

It is hard to tell if these changes actually will solve the problem, but if they don't we hopefully will get enough details to solve it in the next pass on the problem.

Major changes:

  • Upgraded the project from .NET 2.0 to .NET 3.5
  • Replaced the Win32 interop pipe handling to ordinary .NET code with proper exception handling
  • Removed all exception suppression in the updater and refactored it for easier readability
  • Changed the "AfterRestart" framework check to only run when a command line argument is set instead of always trying to connect to a pipe

robinwassen and others added 23 commits February 4, 2016 17:20
Exceptions will now be presented in a MessageBox even though neither
logging or console is enabled, after they have been presented they will
be rethrown.
Cleaned up error handling and execution flow, also removed some
redundant logic.
Changed it from being dependant on a command line argument passed in by
the updater instead of being dependant on an invalid or timeout of pipe
connection. The latter did not work well with the recent changes in the
pipe management either.
@robinwassen robinwassen added this to the 0.4.0.0 milestone Feb 17, 2016
robinwassen added a commit that referenced this pull request Feb 18, 2016
@robinwassen robinwassen merged commit 14fd0a7 into master Feb 18, 2016
@robinwassen robinwassen deleted the 54-timeout-error-handling branch February 18, 2016 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant