Update NVivo 12.munki.recipe
Added postinstall
<string>NVivo 12</string>
<key>name</key>
<string>%NAME%</string>
+ <key>postinstall_script</key>
+ <string>#!/bin/bash
+#
+# Copyright (c) 2020, dataJAR Ltd. All rights reserved.
+#
+# The activationFile var needs to be amended & licenseKey var supplied as per:
+# http://techcenter.qsrinternational.com/desktop/nm12/nm12_mass_deployment.htm
+#
+
+activationFile="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; standalone=&quot;yes&quot;?&gt;
+&lt;Activation&gt;
+ &lt;Request&gt;
+ &lt;FirstName&gt;John&lt;/FirstName&gt;
+ &lt;LastName&gt;Sysadmin&lt;/LastName&gt;
+ &lt;Email&gt;admin@yourorg.com&lt;/Email&gt;
+ &lt;Phone&gt;+1-555-555-5555&lt;/Phone&gt;
+ &lt;Fax&gt;+1-555-555-5555&lt;/Fax&gt;
+ &lt;JobTitle&gt;Your Job Title&lt;/JobTitle&gt;
+ &lt;Sector&gt;Your Sector&lt;/Sector&gt;
+ &lt;Industry&gt;Your Industry&lt;/Industry&gt;
+ &lt;Role&gt;Your Role&lt;/Role&gt;
+ &lt;Department&gt;Your Department&lt;/Department&gt;
+ &lt;Organization&gt;Your Organization&lt;/Organization&gt;
+ &lt;City&gt;Boston&lt;/City&gt;
+ &lt;Country&gt;USA&lt;/Country&gt;
+ &lt;State&gt;Massachusetts&lt;/State&gt;
+ &lt;/Request&gt;
+&lt;/Activation&gt;"
+
+licenseKey=""
+
+# Proceed only if variable(s) have a value
+if [ -n "${licenseKey}" ]
+then
+ /bin/echo "Creating activation file /tmp/activation.xml..."
+ /bin/echo -n "${activationFile}" > /tmp/activation.xml
+ /bin/echo "Licensing NVivo..."
+ '/Applications/NVivo 12.app/Contents/MacOS/NVivo 12' -initialize "${licenseKey}" -activate /tmp/activation.xml
+ /bin/rm /tmp/activation.xml
+fi
+
+/bin/echo "Disabling Automatic updates..."
+/usr/bin/defaults write /Library/Preferences/com.qsrinternational.NVivo-12.plist SUEnableAutomaticChecks -bool NO
+/usr/bin/defaults write /Library/Preferences/com.qsrinternational.NVivo-12.plist SUAutomaticallyUpdate -bool NO</string>
<key>unattended_install</key>
<true/>
+ <key>unattended_uninstall</key>
+ <true/>
</dict>
</dict>
<key>MinimumVersion</key>
