Hi everyone, I am a newbie here (just took CCA a couple weeks ago) and still learning how to script as well.
I am wondering if you can suggest the best way to deploy SPSS21 on the Mac. I have been following the suggestion by the IBM SPSS by using the silent install dmg and just run it using sudo ./*.bin and I was able to put the .bin and .properties of the silent install pkg under /Users/ and deploy it via policy and then run a script to install it and plan to write another script to remove .bin and .properties after successful installation. However, I run into problem when I tried to run the licenseactivator (under SPSS.app/Contents/bin) with the site license that I have saying that java can't open it. If I double click the licenseactivator.jar then I am able to activate the license. But when I try to check by clicking the license activation wizard then it would just give me a blank window.
Any ideas?
Thank you.
SPSS21 deployment package for Mac OS X 7 and 8 (site license)
Best answer by mattosaur4
I've just setup SPSS 22 in JSS. To clarify I used rhys steps with some changes, as below:
Downloaded a silent installer from the IBM portal. This contains SPSS_Statistics_Installer.bin and installer.properties.
Edit the installer.properties file (remove the # comment markers & add details) to include whether you're doing a site or network license install - your serial goes in here too. (remove the ###)
The .bin and .properties files get placed into a holding area, I used /Library/Application Support/SPSS22-TEMP/. This folder is dragged into Composer and captured as a .dmg.
When creating your policy you add the SPSS.dmg under Packages, in Casper 9.21 it's then "Files & Processes" on the left and click the + in the last box Execute Command, put /Library/Management/Temp/SPSS_Statistics_Installer.bin (Noting this works as a policy but if I choose this in Casper Remote to deploy that way the Execute Command field doesn't get populated under the advanced tab, probably a Casper 9.21 bug. So I later changed this to a package as below)
I also needed to add Java for OS X 2013-005 and have it run prior to the dmg, used the Priority field to make this happen. (without this SPSS prompted during it's 'silent' install on 10.9 for it & then failed)
I also made a payload free package to run last with
#!/bin/sh
sudo /Library/Application Support/SPSS22-TEMP/SPSS_Statistics_Installer.bin (-f stuff doesn't seem necessary if the files in the same folder)
#some commands to add firewall exceptions
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblockapp /Applications/IBM/SPSS/Statistics/22/SPSSStatistics.app
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /Applications/IBM/SPSS/Statistics/22/SPSSStatistics.app
#then some cleanup.
sudo rm -r /Library/Application Support/SPSS22-TEMP
It's also not completely silent some run / java type icons will appear in the Dock when it runs. Works for me under 10.8 / 10.9 so far with my basic testing.
Matt
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
