Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SPSS installer.properties for munki
<key>postinstall_script</key>
<string>#!/bin/sh
USER_INSTALL_DIR="/Applications/SPSS 20/"
# Create installer.properties
cd /var
echo "INSTALLER_UI=silent
USER_INSTALL_DIR="$USER_INSTALL_DIR"
LICENSE_ACCEPTED=true
#For network license
network=1
LSHOST=spss-lic.domain.edu
COMPANYNAME=Foo University" &gt; installer.properties
# Now we can install SPSS silently.
./SPSS_Statistics_Installer_Silent.bin -f installer.properties
# Fix permissions on root folder
chmod 755 "/Applications/SPSS 20/"
# Run license installer
/Applications/SPSS\ 20/SPSSStatistics.app/Contents/bin/licsilent.sh
# Clean up
rm SPSS_Statistics_Installer_Silent.bin
rm installer.properties
exit 0
</string>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.