Skip to content

Instantly share code, notes, and snippets.

@hfike
Created January 15, 2015 14:19
Show Gist options
  • Save hfike/422945cedad4ed94328e to your computer and use it in GitHub Desktop.
Save hfike/422945cedad4ed94328e to your computer and use it in GitHub Desktop.
spss22 pkginfo
<?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>autoremove</key>
<false/>
<key>catalogs</key>
<array>
<string>production</string>
</array>
<key>category</key>
<string>Education</string>
<key>description</key>
<string>Comprehensive statistical data analysis software.</string>
<key>developer</key>
<string>IBM</string>
<key>display_name</key>
<string>IBM SPSS 22</string>
<key>installer_item_hash</key>
<string>c95c68f190294963400b71b2b9eddf1a44d7699c3113821f625dedfb724ac8ef</string>
<key>installer_item_location</key>
<string>Apps/IBM/SPSS_Statistics_22_mac_silent.dmg</string>
<key>installer_item_size</key>
<integer>627513</integer>
<key>installer_type</key>
<string>copy_from_dmg</string>
<key>installs</key>
<array>
<dict>
<key>CFBundleIdentifier</key>
<string>com.ibm.SPSS.Statistics.22.0.0.0</string>
<key>CFBundleName</key>
<string>SPSS Statistics</string>
<key>CFBundleShortVersionString</key>
<string>22.0.0.0</string>
<key>CFBundleVersion</key>
<string>22.0.0.0</string>
<key>path</key>
<string>/Applications/SPSS22/SPSSStatistics.app</string>
<key>type</key>
<string>application</string>
<key>version_comparison_key</key>
<string>CFBundleShortVersionString</string>
</dict>
<dict>
<key>path</key>
<string>/Applications/SPSS22</string>
<key>type</key>
<string>file</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_22_install</string>
<key>user</key>
<string>root</string>
</dict>
</array>
<key>postinstall_script</key>
<string>#!/bin/sh
#USER_INSTALL_DIR="/Applications/SPSS22/"
/bin/chmod +x /tmp/spss_22_install/SPSS_Statistics_Installer.bin
#tell Java to run silently
JAVA_OPTS=&quot;$JAVA_OPTS -Djava.awt.headless=true&quot;
export JAVA_OPTS
# Now we can install SPSS silently.
# -f installer.properties assumed since the install.properties is in the same dir
# -i silent added to force silent
/tmp/spss_22_install/SPSS_Statistics_Installer.bin -i silent
# Fix permissions on root folder
#/bin/chmod 755 $USER_INSTALL_DIR
# Run license installer
#USER_INSTALL_DIR/SPSSStatistics.app/Contents/bin/licsilent.sh
# Clean up
/bin/rm -rf /tmp/spss_22_install
exit 0
</string>
<key>minimum_os_version</key>
<string>10.8.5</string>
<key>name</key>
<string>SPSS22</string>
<key>uninstall_method</key>
<string>uninstall_script</string>
<key>uninstall_script</key>
<string>#!/bin/sh
rm -r /Applications/SPSS22/</string>
<key>uninstallable</key>
<true/>
<key>version</key>
<string>22.0.0.0</string>
<key>requires</key>
<array>
<string>JavaForOSX</string>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment