SCCM Package – SPSS 19

I’m making a series of posts describing the package creation process for the applications in my current lab image. This post is about SPSS 19.


General Info

SPSS uses an MSI file and obeys the /qb switch. I could not get the license to work after a sysprep, so I install SPSS as part of my deployment task sequence rather than my image build-and-capture task sequence. Silly, but it works. Another important note: Microsoft Visual C++ redistributable must be installed before the program will run. I install the x86 and x64 versions of the 2005, 2008, and 2010 C++ redistributables on my image, so I don’t install them again in the script below.

Also, I block SPSS’ java instance so that running the application doesn’t pop up a firewall warning for non-admins. Licensing is done via an executable named “licenseactivator.exe” that’s installed to the program’s directory.


  1. Extract the contents of the SPSS 19 media to C:\temp\spss.
  2. Extract the contents of the SPSS patch media to C:\temp\spss\patch.
  3. Using WinRAR, create a SFX file containing the contents of C:\temp\spss with the following parameters:
    Path to extract — leave blank
    Silent mode – hide start dialog
    Update – overwrite existing files
  4. The final SFX should look like the following image and be named spss19.exe.
  5. Create a batch file with the following contents named “Install-SPSS.cmd”.
    ECHO Installing IBM SPSS
    ECHO Do not close this window. It will close when the install is finished.
    REM Main Install
    start /wait SPSS19.exe
    msiexec /i "IBM SPSS Statistics 19.msi" /qb COMPANYNAME="Your Company" ISX_SERIALNUM="Your Serial" AUTHCODE="Your Auth Code"
    msiexec /i %~dp0patch\SPSSStatistics19.0.1Patch-64bit.msi /qb /norestart
    "C:\Program Files\IBM\SPSS\Statistics\19\licenseactivator.exe" "Your Auth Code"
    REM Config
    netsh advfirewall firewall add rule name="Block SPSS Incoming" dir=in program="c:\program files\ibm\spss\statistics\19\stats.exe" remoteip=localsubnet action=block
    netsh advfirewall firewall add rule name="Block Java Incoming" dir=in program="c:\program files\ibm\spss\statistics\19\jre\bin\javaw.exe" remoteip=localsubnet action=block
    REM Shortcuts
    IF NOT EXIST "%allusersprofile%\Microsoft\Windows\Start Menu\Programs\Chemistry Applications\" MKDIR "%allusersprofile%\Microsoft\Windows\Start Menu\Programs\Chemistry Applications\"
    move "%allusersprofile%\Microsoft\Windows\Start Menu\Programs\IBM SPSS Statistics\IBM SPSS Statistics 19.lnk" "%allusersprofile%\Microsoft\Windows\Start Menu\Programs\Chemistry Applications\"
    rmdir /s /q "%allusersprofile%\Microsoft\Windows\Start Menu\Programs\IBM SPSS Statistics"
    rmdir /s /q "%allusersprofile%\Microsoft\Windows\Start Menu\Programs\Microsoft Visual Studio 2005"
    REM Cleanup
    del /q C:\eula.*.txt
    del /q C:\install.res.*.dll
    del /q C:\globdata.ini
    del /q C:\install.exe
    del /q C:\install.ini
    del /q C:\
    del /q C:\vc_red.msi
    del /q C:\vcredist.bmp
  6. Assemble the files into a single source folder then create a SCCM package and program. The program’s command line action should be “install-SPSS.cmd”. The following is a screen shot of my final source folder:

Thanks for reading.

2 thoughts on “SCCM Package – SPSS 19

  1. Pingback: Table of Contents | windowsmasher

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s