Install on Quit does not work

Asked by Daniel Drexler

When an update is found, if the user chooses, "Install on Quit," the update is never installed. There seem to be no messages logged in system.log and all other update paths (install now, manual) work without problems.

We are currently not signing our dmg, if that matters.

Question information

Language:
English Edit question
Status:
Answered
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Andy Matuschak (andymatuschak) said :
#1

Is this all users, or just one? 1.5b6 or a build from git?

Revision history for this message
Daniel Drexler (ddrexler) said :
#2

As far as I know, it has never worked. This is based on a build from git.

Revision history for this message
Andy Matuschak (andymatuschak) said :
#3

Which build? Seems to work fine on HEAD.

Revision history for this message
Daniel Drexler (ddrexler) said :
#4

The build was from HEAD, though I don't know what revision it was from. It was re-compiled to avoid https://bugs.launchpad.net/sparkle/+bug/275463 as well as make it backwards-compatible with 10.5.

Is there a way to debug why "Install on Quit" is failing? I don't see anything in the logs that shows when it's triggered.

Revision history for this message
Andy Matuschak (andymatuschak) said :
#5

If the installation is being attempted and has failed, there will be logs.

You should be able to break in [SUAutomaticUpdateDriver applicationWillTerminate] to find out what's going on. Where exactly is it failing?

Revision history for this message
Boris Gougeon (bgougeon) said :
#6

After more investigation, we realized that applicationWillTerminate is never called for us. The issue is probably not is Sparkle but due to the fact that our software is developed in C++/Qt, and somehow Qt will intercept platform application delegates such as applicationWillTerminate.

We followed the good instructions provided by http://el-tramo.be/blog/mixing-cocoa-and-qt, and we will have to spend some more time understanding this specif issues. (In the meantime, we removed the "install on quit" button).

Beside that, Sparkle was successfully integrated into our product and will be officially in our next release, see http://www.orb.com.

Thanks for your time,
Regards,

Boris @ Orb Networks

Can you help with this problem?

Provide an answer of your own, or ask Daniel Drexler for more information if necessary.

To post a message you must log in.