(This is cross posted on the glx app google grouphttps://groups.google.com/g/glxapp/c/SALeTzIg_gU)
Hi all
I created a new version of my application and have it working on macOS Catalina when I install the full application as created by the glxApplicationPackager stack from a DMG.
The application is of course signed, notarized and stapled so it can open according to Catalina's new requirements.
I suspected that the update feature of glxApplicationFramework would not work because the updater would alter the signed application package or the updater itself and its files are not signed.
I thought I would try to use the update feature and update using the Update files created by the glxApplicationPackager. When I ran the update it failed giving the following error message.
-----------------
Error: 465,978,21
587,978,21
235,978,21
241,972,1,_replaceOldApplicationWithNew
353,0,0,stack "glxappUpdater"
573,756,1,_replaceOldApplicationWithNew
253,756,12
241,755,1,_ValidateAndInstallPackages
353,0,0,stack "glxappUpdater"
573,518,1,_ValidateAndInstallPackages
253,518,1
241,508,1,DownloadNextPackage
353,0,0,stack "glxappUpdater"
-------------------
I had to just cancel the updater dialog and then the current version of the app installed on the Mac opened.
So my questions are:
- Is it still possible to use the Update feature of glxApplicationUpdater if I sign, notarize and staple the update files after they are created?
- Would I have to do that to all of the files?
- If I can no longer use auto update is there another way to update the app short of installing a full new version.
The users of the application are working at home with Macs for which they don't have admin access and their employers haven't set up remote management of the Macs.
With the glx Update feature the users did not need admin access to install an update. Now I wonder if that is possible.
Thanks for any help with this.
Martin Koob
Using glxappUpdater on macOS Catalina fails with errors.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 256
- Joined: Sun May 27, 2007 8:19 pm
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Location: Overland Park, Kansas
- Contact:
Re: Using glxappUpdater on macOS Catalina fails with errors.
@martin - I don't remember the specifics of how GLX auto update worked. I would be surprised if it works with signed and notarized apps though. You would need to get into the debugger or generate some log files to troubleshoot further though.
Sorry I can't be of more help, but I haven't looked at the GLX code in years.
Sorry I can't be of more help, but I haven't looked at the GLX code in years.
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
-
- VIP Livecode Opensource Backer
- Posts: 256
- Joined: Sun May 27, 2007 8:19 pm
Re: Using glxappUpdater on macOS Catalina fails with errors.
Hi @trevor
Thanks for your response. This is another reason for me to make the transition from glxApplcationFramework to Levure for my project.
I see that Levure has an AppUpdater Helper https://github.com/trevordevore/levureh ... pp_updater and that is uses Sparkle. https://sparkle-project.org/
I see that it is possible to use Sparkle to update apps on macOS Catalina using Sparkle, however I assume this example is using X Code.
https://dev.to/prashant/how-to-add-auto ... art-2-4p2e
Can the Levure AppUpdater Helper be used to create updaters for Catalina?
How would the updater be signed and notarized?
Do the users need to be Admin users to run the updates with Levure AppUpdater or can Standard users run updates like they could with glxApplicationFramework updaters?
Thanks
Martin Koob
Thanks for your response. This is another reason for me to make the transition from glxApplcationFramework to Levure for my project.
I see that Levure has an AppUpdater Helper https://github.com/trevordevore/levureh ... pp_updater and that is uses Sparkle. https://sparkle-project.org/
I see that it is possible to use Sparkle to update apps on macOS Catalina using Sparkle, however I assume this example is using X Code.
https://dev.to/prashant/how-to-add-auto ... art-2-4p2e
Can the Levure AppUpdater Helper be used to create updaters for Catalina?
How would the updater be signed and notarized?
Do the users need to be Admin users to run the updates with Levure AppUpdater or can Standard users run updates like they could with glxApplicationFramework updaters?
Thanks
Martin Koob
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Location: Overland Park, Kansas
- Contact:
Re: Using glxappUpdater on macOS Catalina fails with errors.
Yes, you can use the AppUpdater Helper to update apps on Catalina. We use it at my company to update our desktop application. If the user has permission to update the app then the AutoUpdater will work.
Signing is built into Levure and there is a helper for notarizing. Just add your certificate name to the app.yml file. Here are the docs:
https://github.com/trevordevore/levure/ ... -in-appyml
You will find links to all of the helpers you need on this page:
https://github.com/trevordevore/levure/ ... ty-helpers
- AppUpdater provides the Sparkle/WinSparkle integrations that will download a DMG or .exe that you point it at.
- dropDMG creates a DMG during the Levure packaging process when running on macOS. If you don't use dropDMG then you could create your own helper based off of this one that creates a DMG using the command line tools that come with macOS.
- Inno Setup will create a script that can be compiled using Inno Setup to create your installer exe.
- macOS Notary handles notarization.
Signing is built into Levure and there is a helper for notarizing. Just add your certificate name to the app.yml file. Here are the docs:
https://github.com/trevordevore/levure/ ... -in-appyml
You will find links to all of the helpers you need on this page:
https://github.com/trevordevore/levure/ ... ty-helpers
- AppUpdater provides the Sparkle/WinSparkle integrations that will download a DMG or .exe that you point it at.
- dropDMG creates a DMG during the Levure packaging process when running on macOS. If you don't use dropDMG then you could create your own helper based off of this one that creates a DMG using the command line tools that come with macOS.
- Inno Setup will create a script that can be compiled using Inno Setup to create your installer exe.
- macOS Notary handles notarization.
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder