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

How to decide for yourself whether to start #723

Open
pdone opened this issue Nov 15, 2024 · 5 comments
Open

How to decide for yourself whether to start #723

pdone opened this issue Nov 15, 2024 · 5 comments

Comments

@pdone
Copy link

pdone commented Nov 15, 2024

Process.Start(processStartInfo);

@ravibpatel
Copy link
Owner

It launches the installation file for update. If you are using a zip file as an update file, then it will wait for the app to exit before installing the new version. You can handle Application Exit event as shown here to do something before exiting the app for update.

@pdone
Copy link
Author

pdone commented Nov 15, 2024

Are there plans to implement support for single-EXE programs? When a single EXE program is running, update files can only be downloaded to other directories and cannot replace older versions.

@pdone
Copy link
Author

pdone commented Nov 15, 2024

Or add a static variable, can you decide whether you need to start the installer after the download is complete?

@ravibpatel
Copy link
Owner

Can you tell me what is your use case exactly?

@pdone
Copy link
Author

pdone commented Nov 18, 2024

I want to download the update without executing Process.Start(), wait for me to do some processing on the downloaded file, and then decide when to execute Process.Start()
ApplicationExitEvent is not enough for this scenario. #722

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants