简体   繁体   中英

After new version is updated using WinSparkle it doesn't launch app automatically

I'm using WinSparkle (latest version 0.5.3) framework in my Qt C++ app for auto-update. It works perfectly with detecting new version, downloading and installing the new version automatically.

But I found after the new version is installed, it doesn't launch the app automatically, and users have to launch it manually.

I checked the WinSparkle API reference , but didn't find any settings related to this. I think it should have built-in support for auto-launching the app after update?

Is there a way in WinSparkle to handle it in the same way as Sparkle does?

I've got my answer from this Github issue: https://github.com/vslavik/winsparkle/issues/132

Bascially WinSparkle cannot do this at the moment, we should implement the auto-launching function in the Windows app installer itself.

But it would be nice to allow WinSparkle to update from a ZIP file, and then take the control of launching app automatically after update. Any relevant PRs are welcome.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM