Difference between revisions of "SPSS"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Updated for v21)
(V22 update)
Line 1: Line 1:
 
This assumes you have the Site licensed version using an activation code as opposed to a license key.
 
This assumes you have the Site licensed version using an activation code as opposed to a license key.
  
==Version 21==
+
==Version 21 & 22==
 
IBM just gave us the exe file, so I ran it and it dumped the msi file along with the other install files into %temp%/{some random guid}.  Copy that folder first and then cancel the installation.
 
IBM just gave us the exe file, so I ran it and it dumped the msi file along with the other install files into %temp%/{some random guid}.  Copy that folder first and then cancel the installation.
  
Version 21 seems to activate SPSS for you so no need to run a separate activation, however of course if you are just updating the license you will need to run the activator.
+
Version 21 & 22 seem to activate SPSS for you so no need to run a separate activation, however of course if you are just updating the license you will need to run the activator.
 +
 
 +
For version 22, just replace 21 with 22 (doh!).  I also run the uninstall command to remove v21 first.
  
 
=== Unattended install with Activation code===
 
=== Unattended install with Activation code===

Revision as of 01:28, 6 January 2014

This assumes you have the Site licensed version using an activation code as opposed to a license key.

Version 21 & 22

IBM just gave us the exe file, so I ran it and it dumped the msi file along with the other install files into %temp%/{some random guid}. Copy that folder first and then cancel the installation.

Version 21 & 22 seem to activate SPSS for you so no need to run a separate activation, however of course if you are just updating the license you will need to run the activator.

For version 22, just replace 21 with 22 (doh!). I also run the uninstall command to remove v21 first.

Unattended install with Activation code

<packages> 
	<package
	     id="spss"
	     name="SPSS"
	     revision="21.0.0.0"
	     reboot="false"
	     priority="15">
            <variable name="code" value="code-here" />
	     <check type="uninstall" condition="exists" path="IBM SPSS Statistics 21" />
	     <install cmd='msiexec /i "%SOFTWARE%\spss\21\IBM SPSS Statistics 21.msi" /qn AUTHCODE="%code%" COMPANYNAME="Contoso"' />

	     <upgrade include='install' />
	    
             <upgrade cmd='"%PROGRAMFILES%\IBM\SPSS\Statistics\21\licenseactivator.exe" %code%'/>

	     <remove  cmd='MsiExec.exe /X{1E26B9C2-ED08-4EEA-83C8-A786502B41E5} /qn ALLUSERS=1 REMOVE="ALL" ' />

	 </package>
</packages>


Version 20

The MSI IBM provide has associated transform files for each language. The SMS file IBM provide (IBM SPSS Statistics 20.sms) lists the various MST options, pick the relevant option for your location.

To run the activator, we just need to run from the install directory licenseactivator.exe followed by the activation code

Unattended install with Activation code

<packages> 
	<package
	     id="spss"
	     name="SPSS"
	     revision="20.0.0.0"
	     reboot="false"
	     priority="15">
            <variable name="code" value="code-here" />
	     <check type="uninstall" condition="exists" path="IBM SPSS Statistics 20" />
	     <install cmd='msiexec /i "%SOFTWARE%\spss\20\IBM SPSS Statistics 20.msi" AUTHCODE="%code%" COMPANYNAME="" TRANSFORMS="%SOFTWARE%\spss\20\1033.mst" /qn' />

	     <install cmd='"%PROGRAMFILES% (x86)\IBM\SPSS\Statistics\20\licenseactivator.exe" %code%'/>

	     <upgrade cmd='msiexec /i "%SOFTWARE%\spss\20\IBM SPSS Statistics 20.msi" AUTHCODE="%code%" COMPANYNAME="" TRANSFORMS="%SOFTWARE%\spss\20\1033.mst" /qn' />
	     <upgrade cmd='"%PROGRAMFILES% (x86)\IBM\SPSS\Statistics\20\licenseactivator.exe" %code%'/>



	     <remove  cmd='MsiExec.exe /X{2AF8017B-E503-408F-AACE-8A335452CAD2} /qn ALLUSERS=1 REMOVE="ALL" ' />

	 </package>
</packages>