.pkg installations should support asynchronous installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sparkle |
Fix Committed
|
Low
|
Unassigned |
Bug Description
Right now, they're synchronous only. Original user question:
"It takes about 1-2 minutes to finish installing the .pkg update to my application, and I'd like to allow the user to continue using it during the update. Right now, when the user clicks 'Install and Restart', the application "freezes" while the installer does its thing. After Installer.app exits, the user gets a quit confirmation dialog (from my app, not Sparkle). This seems to be by design since the app is waiting for the exit:
Is there a switch to make this async, or should I file a bug report about that?
Thanks."
Changed in sparkle: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in sparkle: | |
status: | Confirmed → Fix Committed |
milestone: | none → 1.5 |
This is relatively easy to fix, following the procedure of SUPlainInstaller. Attached a patch to fix this problem.
Better solution would be to make the SUInstaller an instance and run the NSTask async, so you don't need to pass along the info all the time. However that requires more changes.