Automatic Updates

Got a problem with Viscosity or need help? Ask here!

smulla1

Posts: 1
Joined: Sat May 11, 2024 12:37 am

Post by smulla1 » Sat May 11, 2024 12:50 am
Im having an issue with automatic updates not working. I follow the instructions to bundle in preferences and configs and my package is signed. Deploying via MDM works just fine however when an update rolls around, the automatic update feature I bundled in does not work. So I have to remove Viscosity and reinstall with a new package containing the newest version. Any one have a way to get this update feature to work?

James

User avatar
Posts: 2340
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Sat May 11, 2024 3:45 am
Hi smulla1,

What do you mean by not working?

Are end users not being presented with the update notification? If so, it likely means Automatic Updates have not been enabled in the settings. You'll want to unsure that updates have been enabled by including something like so in your bundled settings:
Code: Select all
<key>SUEnableAutomaticChecks</key>
<true/>
<key>SUHasLaunchedBefore</key>
<true/>
If you mean users are unable to install updates, that likely means they do not have the necessary file permissions to replace the Viscosity.app app bundle. For example, a standard user cannot update Viscosity if it has been replaced in the /Applications folder, as only a user with admin rights can modify this. They'll be prompted for admin rights when attempting to install the update. You'll need to move Viscosity to a location that the user has write permissions on if you want them to be able to update it. This applies if you've enabled background updates as well.

Typically in a managed environment you don't want users updating applications directly themselves, as this doesn't give IT support staff a chance to test software updates before they're pushed out to users. So most enterprise and business users actually disable Viscosity's automatic updates, and then push out updates via their MDM platform (you don't need to uninstall Viscosity first to deploy a newer version). You can also use a platform like Munki which allows users to install and update MDM approved applications:
https://www.sparklabs.com/support/kb/ar ... ing-munki/

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
2 posts Page 1 of 1