Just replace this with you key LicenseKey="SK3-XXX-XXXX-XXXX-XXXX-XXXX" in the script.Įcho "`date` Adding preferences for all users"ĭefaults write /Library/Preferences/ SUEnableAutomaticChecks -bool NOĭefaults write /Library/Preferences/ SUAutomaticallyUpdate -bool NOĭefaults write /Library/Preferences/ SUHasLaunchedBefore -bool YESĭefaults write /Library/Preferences/ hasShown23Welcome -bool YESĮcho "`date` All preferences are now added"Įcho "`date` Installation is now complete"Įcho "`date` = Installation Ended =" If anyone needs help with Sketch, here is something I wrote to download the latest copy, serialize it and set preferences. PS: But as I can see, this solution might be easier. Rm -Rf /Library/Application Support/JAMF/Waiting Room/Sketch* Hdiutil attach /Library/Application Support/JAMF/Waiting Room/Sketch343.dmgĭitto -v /Volumes/Sketch343/Sketch.app/ /Volumes/Macintosh HD/Applications/Sketch.app To "double check", this policy also creates a hidden file in /var/db/ (for some special ExtensionAttribute-SmartGroups).Ģ) The install policy scopes for the cached "Sketch343.dmg" and as a second prerequisite it's also checking for the hidden file with the help of an EA.ģ) The install policy will start the installation with the following script: #!/bin/sh The problem with Sketch 3.x.x is connected to permission failures.ġ) I've created a "Sketch343.dmg" with Sketch.app (actual version 3.4.3) inside and cache it with a policy. One thing I'm thinking about is a way to Apple Script to automatically enter the License key into the dialog box, but I'm not sure how to attempt that as it's a popup built into the app. If I review the actual license file, it now contains, in the meta-tage of the file, the computer name and a signed hash, plus a license expiry date. The license server is currently unreachable from this computer - if you have already renewed your license, please connect to the internet to allow Sketch to fetch it.Įven though the computer IS connected to the web, I must re-enter the SN for it to take effect. We receive a popup dialog message Your license has expired. However, as of their release last month of 3.2.1, they've changed the way the software checks for registration, so installing updates appears to break the registration and forces the user to have to re-register. As of earlier versions of Sketch 3.2.x that we purchased via credit card from the vendor directly (we bought a 20 user license), I was able to distribute the Application, user prefs and the "hidden".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |