Difference between revisions of "SAS license renewal"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Created page with "Deploying a new SAS license file (SID file) silently is described at http://support.sas.com/documentation/installcenter/en/ikwinri/64446/PDF/default/setinit.pdf] The SID file n...")
 
Line 10: Line 10:
 
   <package id="saslicense" name="SAS License file" reboot="false" priority="100" revision="%version%">
 
   <package id="saslicense" name="SAS License file" reboot="false" priority="100" revision="%version%">
 
   <variable name="version" value="20130413" />
 
   <variable name="version" value="20130413" />
 +
  <!-- Current date as version number, just update if a new license file should be applied -->
 
   <variable name="sasversion" value="9.3" />
 
   <variable name="sasversion" value="9.3" />
 
   <variable name="sas_sidfile_x86" value="SAS93_order-number_site-number_host-platform.txt" />
 
   <variable name="sas_sidfile_x86" value="SAS93_order-number_site-number_host-platform.txt" />

Revision as of 13:22, 17 April 2013

Deploying a new SAS license file (SID file) silently is described at http://support.sas.com/documentation/installcenter/en/ikwinri/64446/PDF/default/setinit.pdf]


The SID file name is in the format SAS93_order-number_site-number_host-platform.txt

You can deploy SID files by WPKG using this package:

  <package id="saslicense" name="SAS License file" reboot="false" priority="100" revision="%version%">
  <variable name="version" value="20130413" />
  <!-- Current date as version number, just update if a new license file should be applied --> 
  <variable name="sasversion" value="9.3" />
  <variable name="sas_sidfile_x86" value="SAS93_order-number_site-number_host-platform.txt" />
  <variable name="sas_sidfile_x64" value="SAS93_order-number_site-number_host-platform_X64.txt" />
  <variable name="jmp_sidfile_x86" value="JMP902_order-number_site-number_host-platform.txt" />
  <variable name="jmp_sidfile_x64" value="JMP902_order-number_site-number_host-platform_X64.txt" />
  
  <!-- Create need systemprofile folder if it not exist --> 
  <install cmd='%COMSPEC% /c if not exist "%windir%\system32\config\systemprofile" mkdir "%windir%\system32\config\systemprofile"' />
  
  <install cmd='"%PROGRAMFILES%\SASHome\SASRenewalUtility\%sasversion%\SASRenew.exe" -s "datafile:%SOFTWARE%\sas\renewal\%sas_sidfile_x86%"' />
  <install cmd='"%PROGRAMFILES%\SASHome\SASRenewalUtility\%sasversion%\SASRenew.exe" -s "datafile:%SOFTWARE%\sas\renewal\%jmp_sidfile_x86%"' />

  <upgrade include="install" />
	
  <remove cmd="cmd /c echo off" >
    <exit code="any" />
  </remove>
  
 </package>

Deployment of JMP SID files not tested, but it should work too.