Skip to content

Instantly share code, notes, and snippets.

@flammable
Created November 6, 2015 18:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flammable/dcdf37c2fd74d062b1cb to your computer and use it in GitHub Desktop.
Save flammable/dcdf37c2fd74d062b1cb to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>_metadata</key>
<dict>
<key>created_by</key>
<string>mike</string>
<key>creation_date</key>
<date>2015-07-13T23:05:09Z</date>
<key>munki_version</key>
<string>2.2.4.2431</string>
<key>os_version</key>
<string>10.10.4</string>
</dict>
<key>autoremove</key>
<false/>
<key>blocking_applications</key>
<array>
<string>SPSSStatistics</string>
</array>
<key>catalogs</key>
<array>
<string>release</string>
</array>
<key>category</key>
<string>Productivity</string>
<key>description</key>
<string>SPSS is a comprehensive system for analyzing data. SPSS can take data from almost any type of file and use them to generate tabulated reports, charts, and plots of distributions and trends, descriptive statistics, and complex statistical analysis.
This version of SPSS can only be used on campus.</string>
<key>developer</key>
<string>IBM</string>
<key>display_name</key>
<string>SPSS 23 Authorized Update</string>
<key>icon_name</key>
<string>SPSS-23.png</string>
<key>installer_item_hash</key>
<string>9bd9370957e906a280b5e887c6b4ba13e3332f407a41dcde278b54c65e917662</string>
<key>installer_item_location</key>
<string>apps/SPSS Update-23.0.0.2.dmg</string>
<key>installer_item_size</key>
<integer>258504</integer>
<key>installer_type</key>
<string>copy_from_dmg</string>
<key>installs</key>
<array>
<dict>
<key>CFBundleIdentifier</key>
<string>com.ibm.SPSS.Statistics.23.0.0.2</string>
<key>CFBundleName</key>
<string>SPSS Statistics</string>
<key>CFBundleShortVersionString</key>
<string>23.0.0.2</string>
<key>CFBundleVersion</key>
<string>23.0.0.2</string>
<key>minosversion</key>
<string>10.7.4</string>
<key>path</key>
<string>/Applications/IBM/SPSS/Statistics/23/SPSSStatistics.app</string>
<key>type</key>
<string>application</string>
<key>version_comparison_key</key>
<string>CFBundleShortVersionString</string>
</dict>
</array>
<key>items_to_copy</key>
<array>
<dict>
<key>destination_path</key>
<string>/tmp</string>
<key>group</key>
<string>admin</string>
<key>mode</key>
<string>go-w</string>
<key>source_item</key>
<string>SPSS_Statistics_Installer_Mac_Patch.bin</string>
<key>user</key>
<string>root</string>
</dict>
</array>
<key>minimum_os_version</key>
<string>10.8.0</string>
<key>name</key>
<string>SPSS 23 Authorized Update</string>
<key>postinstall_script</key>
<string>#!/bin/sh
COMPANYNAME="YOURORGHERE"
# Create installer.properties
cd /tmp
echo "INSTALLER_UI=silent
LICENSE_ACCEPTED=true
#For authorized license
single=1
AUTHCODE=YOURCODEHERE
COMPANYNAME=${COMPANYNAME}" &gt; installer.properties
/bin/chmod +x /tmp/SPSS_Statistics_Installer_Mac_Patch.bin
JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true"
export JAVA_OPTS
# Now we can update SPSS silently.
/tmp/SPSS_Statistics_Installer_Mac_Patch.bin -f /tmp/installer.properties
# Clean up
rm SPSS_Statistics_Installer_Mac_Patch.bin
rm installer.properties
exit 0</string>
<key>requires</key>
<array>
<string>JavaForOSX</string>
</array>
<key>unattended_install</key>
<true/>
<key>unattended_uninstall</key>
<false/>
<key>uninstall_method</key>
<string>uninstall_script</string>
<key>uninstallable</key>
<false/>
<key>update_for</key>
<array>
<string>SPSS 23 Authorized</string>
</array>
<key>version</key>
<string>23.0.0.2</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment