description "Installs the organisational license for iShowU Instant" \ This is nice and straightforward, and can be done with a command like this: munkiimport \ ![]() Now we need to import this package to Munki. Optionally sign the package: productsign -sign "$Your_signing_identity" iShowUInstant-license.pkg iShowUInstant-license-signed.pkg identifier my.org.ishowuinstant-license \ Then we can build a package with a command like this: /usr/bin/pkgbuild -root Payload \ bin/cp /Library/Management/ishowuinstant-license/paddata.padl "$HOME/Library/Application Support/iShowU Instant/paddata.padl"Įlse echo "License present in $HOME/Application Support - nothing more to do." bin/cp /Library/Management/ishowuinstant-license/$Purchase_specific_integer.padl $HOME/$Purchase_specific_integer.padlĮlse echo "License present in $HOME - proceeding."Įcho "License missing from $HOME/Application Support - copying." If ] thenĮcho "License missing from $HOME - copying." Then created this script: touch /path/to/ishow-instant-license/Payload/usr/local/outset/login-everyĬhmod x /path/to/ishow-instant-license/Payload/usr/local/outset/login-every I copied the license files to the required directory: cp /path/to/paddata.padl /path/to/ishowu-instant-license/Payload/Library/Management/ishowu-instant-license/paddata.padlĬp /path/to/.$Purchase_specific_integer.padl /path/to/ishowu-instant-license/Payload/Library/Management/ishowu-instant-license/.$Purchase_specific_integer.padl ![]() I then changed to that directory: cd /path/to/ishowu-instant-license I ensured I had copies of the license files locally, then created a suitably structured project directory: mkdir -p /path/to/ishowu-instant-license/Payload/ To do so, we'll build a package that delivers to the system both the license files and a script to handle the copying. We're going to use the login-every feature of outset to ensure that the license files are present for each user on each login. $Purchase_specific_integer.padl needs to be delivered to:Īs mentioned previously, as iShowU Instant does not read from system locations, these files must be present in the home directories of every user who wishes to use the software. $HOME/Library/Application Support/iShowU Instant/paddata.padl Note that the second file is a hidden file, as denoted by the prefixing. This should be provided by the vendor, and comes in the form of the following two files: We can't deploy without a license, so in this post, I'll look at how this can be done with a package, and Joseph Chilcote's outset. In my previous posts on iShowU Instant, I've looked at how I went about preparing a workflow for importing the software to my Munki repo and keeping it updated.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |