Posted on 12-16-2021 02:53 PM
I'm trying to set up Nudge which is a program that pings users to update their computer. I have everything in the JSON file setup, but I can't seem to find a way to create a URL for the button "Update Now" to take them to software update. The default uses "munki://updates" and the instructions take you to Jamf Self Service for macOS URL Schemes which seems to only take the user to Self Service? Would you have to make the button point to Self Service and create a link in Self Service that takes the user to Software Preferences?
Forgive me if this is simple, I'm new to Jamf (and IT) and Google doesn't seem to have an answer.
Thanks!
Posted on 12-16-2021 06:01 PM
Maybe something like this would work:
file:///System/Library/PreferencePanes/SoftwareUpdate.prefPane
I believe that should open the SoftwareUpdate.prefpane in the System Preferences app.
Posted on 12-17-2021 01:43 AM
Hi @edelfert, here is a good article regarding Making Links Launch Mac Apps & Preferences (And a Script to List URL-Callable PrefPanes & Their Addresses)
https://www.linkedin.com/pulse/creating-web-links-launch-mac-apps-preferences-script-nick-tong/
You can create a hyperlink to x-apple.systempreferences:com.apple.preferences.softwareupdate on a web page or in an e-mail like this:
<a href="x-apple.systempreferences:com.apple.preferences.softwareupdate">Click to be taken to Software Update on Your Mac</a>.
12-17-2021 06:46 AM - edited 12-17-2021 06:46 AM
The default is supposed to be blank, according to the wiki. For my instance, I left all of the elements blank and used the stock Simple Mode UI. Clicking on the update button would bring up the Software Updates window. It is worth noting I did this with a Configuration Profile, not a JSON schema.
Might be worth a shot leaving actionButtonPath unconfigured in your schema.
Posted on 12-18-2021 02:09 PM
When we run this command, it pops open the update page.
open "x-apple.systempreferences:com.apple.preferences.softwareupdate?client=softwareupdateapp"
BUT I would like to get into the More Info Page. How do we get it to pop up that window??
Posted on 12-20-2021 01:23 PM
@swapple It would be nice if we could direct users to that sheet in Software Update, but I sincerely doubt that's going to be possible to do in a scripted/automated way.
You can thank Apple for making it so things like available updates are now basically hidden behind a link, instead of keeping it simple like it used to be in older versions of Software Update. Each time Apple touches the software update process, they manage to screw it up even more than the last time. It's already at the point of being nearly unusable as it is.
Apparently someone at Apple is convinced that complete and utter morons use their computers and they must dumb things down lest they confuse the poor befuddled simpletons with something like a simple list of available updates for their computer. 🙄
Posted on 10-26-2022 08:51 AM
Hi
Is it possible to force Software Update to open a specific AppStore link?
For example, I want Software Update to open Monterey app installer link instead of showing the latest available
Best regards
02-02-2023 07:19 AM - edited 02-02-2023 07:20 AM
i was able to find the correct URIs for several versions of MacOS
macOS Catalina
open "x-apple.systempreferences:com.apple.preferences.softwareupdate?client=bau&installMajorOSBundle=com.apple.InstallAssistant.Catalina"
macOS Ventura
open "x-apple.systempreferences:com.apple.preferences.softwareupdate?client=bau&installMajorOSBundle=com.apple.InstallAssistant.macOSVentura"
macOS Big Sur
open "x-apple.systempreferences:com.apple.preferences.softwareupdate?client=bau&installMajorOSBundle=com.apple.InstallAssistant.macOSBigSur"
macOS Monterey
open "x-apple.systempreferences:com.apple.preferences.softwareupdate?client=bau&installMajorOSBundle=com.apple.InstallAssistant.macOSMonterey"
i was able to find these based on what i read here https://pspdfkit.com/guides/ios/faq/finding-the-app-bundle-id/
hope this helps
08-17-2023 06:30 AM - edited 08-17-2023 06:33 AM
/usr/bin/osascript -e 'display dialog "University Regulation 08.0.14 requires all computer OS updates to be installed. Please install the waiting updates now to remain secure." with title "SECURITY UPDATES REQUIRED!!" with icon stop giving up after 60' && /usr/bin/open x-apple.systempreferences:com.apple.Software-Update-Settings.extension
Posted on 05-13-2024 11:45 PM
thanks I was looking to open the prefs pane ASU directly.