Pre-event before installation/update takes place. #675
Closed
Minisaints
started this conversation in
General
Replies: 2 comments
-
Found a way around it. I parse the manifest, re-check the versions and down the service. Not ideal as I have to restart the service elsewhere but it's a solution for now. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can just handle the update flow manually as shown here. You can stop the service if update is found and then start the Download. I think it will be better idea to create a separate exe to update the servcie that can handle the stopping and starting the service. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm looking to update a windows service (.exe) along with the automatic update as part of the update ZIP. However, I have to stop the service, replace the executable and start it.
Where can I trigger stopping and starting the windows service if an update is found? I don't see any pre-events such as "beforeUpdateEvent" etc.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions