Skip to content

Instantly share code, notes, and snippets.

@flammable
Created November 6, 2015 18:24
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/d69d3608712c93b89251 to your computer and use it in GitHub Desktop.
Save flammable/d69d3608712c93b89251 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-06-26T20:52:21Z</date>
<key>munki_version</key>
<string>2.2.4.2431</string>
<key>os_version</key>
<string>10.10.3</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 Concurrent</string>
<key>icon_name</key>
<string>SPSS-23.png</string>
<key>installer_item_hash</key>
<string>e1d023d61b2039d4b25b03a5fc1a328dba8f8d8284d6fa0ba916b74a4bf5e1c3</string>
<key>installer_item_location</key>
<string>apps/SPSS-23.0.0.0.dmg</string>
<key>installer_item_size</key>
<integer>766835</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.0</string>
<key>CFBundleName</key>
<string>SPSS Statistics</string>
<key>CFBundleShortVersionString</key>
<string>23.0.0.0</string>
<key>CFBundleVersion</key>
<string>23.0.0.0</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.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 Concurrent</string>
<key>postinstall_script</key>
<string>#!/bin/sh
COMPANYNAME="YOURORGHERE"
# Create installer.properties
cd /tmp
echo "INSTALLER_UI=silent
LICENSE_ACCEPTED=true
#For concurrent license
network=1
LSHOST=your.org.edu
COMPANYNAME=${COMPANYNAME}" &gt; installer.properties
/bin/chmod +x /tmp/SPSS_Statistics_Installer.bin
JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true"
export JAVA_OPTS
# Now we can install SPSS silently.
/tmp/SPSS_Statistics_Installer.bin -f /tmp/installer.properties
# Clean up
rm SPSS_Statistics_Installer.bin
rm installer.properties
exit 0</string>
<key>requires</key>
<array>
<string>JavaForOSX</string>
</array>
<key>unattended_install</key>
<true/>
<key>unattended_uninstall</key>
<true/>
<key>uninstall_method</key>
<string>uninstall_script</string>
<key>uninstall_script</key>
<string>#!/bin/bash
rm="/bin/rm"
rmdir="/bin/rmdir"
find="/usr/bin/find"
xargs="/usr/bin/xargs"
${rm} -rf "/Applications/IBM/SPSS/Statistics/23/"*
${rm} -rf "/Applications/IBM/SPSS/Statistics/23/"
${find} /Applications/IBM/ -name ".DS_Store" | ${xargs} ${rm}
${rmdir} -p "/Applications/IBM/SPSS/Statistics/"
exit 0
</string>
<key>uninstallable</key>
<true/>
<key>version</key>
<string>23.0.0.0</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment