I am new to SAS environment, I don't know much and I don't want to mess up with the entire system. We are running SAS 9.4 on linux servers and about couple days ago I have received the new SID files with sas software license renewal order email. I have been reading through the instructions for renewing software, the admin guide and what not.
SAS 9.4 Installation Instruction
- You can install this software from media or from the ISO files (v9.4 only). In addition to the media set or ISO files (you must download all of the ISO files to have a complete installer set) you will also need the license file. You can retrieve these files by logging into the WebStore and clicking on Order History. The download links are on this page. Choose the license file that matches your version of SAS and bit of Windows.
- In order to prevent wasting time make sure you reboot your computer before starting this installation. Otherwise you may spend an hour going through the installation process only to see the below screen later in that process.
- Installing from DVD, insert disk 1 into the DVD drive of your computer and double click setup.exe.
Installing from a downloaded ISO, right click each of the ISO files and choose Mount from the menu. Double click the ISO DSK1 and then double click setup.exe.
- The SAS Deployment Wizard will open.
- Choose a language and click on OK.
- The SAS Deployment Wizard will appear again. In our test installation this window may appear for 15+ minutes.
- Select Install SAS Software and click on Next.
- Select a destination location for the installation and click on Next.
- Select Install Foundation and Related Software and click on Next.
- Select the products you wish to install and click on Next. In our example we are installing the default selection.
- Select the foundation software you wish to install and click on Next.
- Select a sid file. Click on Browse. See step one for instructions on retrieving this file.
- Browse to the file on your computer and click on Open. Click on Next.
- Select the languages you wish to install and click on Next. English is set by default. You can click on Clear All and only install the English language support.
- Select the regional settings and click on Next.
- Select the default product for SAS file types and click on Next.
- The install packages will load.
- Your system will be checked.
- Click on Next
- Review your installation and click on Start.
- The installation will begin and will take several hours.
- At some point during the installation you will be prompted to insert another disk or to indicate the location of the next mounted ISO file. Manually eject Disk 1. Insert Disk 2 and click on OK. If using the mounted ISO files browse to the drive letter of the next disk. The installation will continue. During the installation process you will be asked to switch disk back and forth multiple times. There are server disks or files in this set.
- Select Do Not Send and click on Next.
- Click on Finish.
- Your default web browser will open with a deployment Summary. You may close this window.
- You are now ready to use SAS 9.4.
Please reference the SAS Deployment Wizard and SAS Deployment Manager 9.4 Users's Guide for tips on deploying SAS. The sections relevant to sccm deployment are the Quiet Installation as well as the Record and Playback section.
The following assumes you already have a copy of the SAS 9.4 Software Depot.
Creating the SAS response file
Perform the following to create a record file on a test system without SAS installed.
- Copy the SAS 9.4 Software Depot to c: on the test workstation.
- Open a command prompt and type the following command to start creating a response file
- 'c:SAS Software Depotsetup.exe' -record -responsefile 'c:SAS Software Depotsdwresponse.properties'
- Following are the SAS installation options I selected, but this will vary depending on your environment
- Select Deployment Task
- Select Install SAS Software, Next.
- Specify SAS Home
- Keep Default (C:Program FilesSASHome), Next.
- Select Deployment Type
- Select Install SAS Foundation and Related Software, Next.
- Select Products to Install (* Default Selection)
- SAS Deployment Tester – Client*
- SAS Enterprise Guide*
- SAS Enterprise Miner Workstation Configuration*
- SAS Foundation*
- SAS Integration Technologies Client*
- SAS Providers for OLE DB*
- SAS/GRAPH ActiveX Control*
- SAS/IML Studio*
- SAS PC Files Server
- Select Next.
- Select SAS Enterprise Guide Mode
- Select 64-bit Native, Next.
- Select SAS Foundation Products
- Check all products (checked by default), Next.
- Specify SAS Installation Data File
- Select your sid file. This should be found under the sid_files directory in your Software Depot. If there is one in the sid_files directory the SAS deployment wizard should see it there by default. Next.
- Select Language Support
- Select clear All (only English is selected), Next.
- Select Regional Settings
- Select English (United States) en_US, Next.
- Default Product for SAS File Types
- Select Use existing default product for SAS file types, Next.
- Select SAS PC Files Server System Service Option
- Check Start Service Now and Automatically when Windows Starts, Next.
- Specify SAS PC Files Server Port
- Port Number 9621, Next. (This can be changed if you have security concerns)
- Deployment Summary, Next.
- Select Support Option
- Select Do Not Send, Next.
- Additional Resources, Finish.
- Copy the sdwresponse.properties file in the root of your Software Depot to the root of the Software Depot that will be the source for your package.
Note that due to the large deployment size of SAS it is not being installed from cache and instead run directly from the distribution point.
- Go to Software Library, Packages, and select Create Package
- Package
- Name = SAS 9.4 64Bit
- Description = EXPIRE=28FEB2015 (put whatever you want here, i put expiration for reference)
- Manufacturer = SAS
- Language = English
- Version = 9.4
- Check this package contains source file. Then select the path to your SAS Software Depot.
- Next.
- Program Type
- Select Standard Program, Next.
- Standard Program
- Name = SAS 9.4 64Bit
- Command line = setup.exe -quiet -responsefile 'sccmdp.fqdnSMSPKGG$packageIDsdwresponse.properties'
- Note that you need a full path to the response file which is why i place the full path to the file on the distribution piont. Another method would be to precopy the response file to a known location on the endpoint and then reference that locations. The important thing is that the full path to the file is needed
- Startup folder = (blank)
- Run = Normal
- Program can run = Whether or not a user is logged on
- Drive mode = Runs with UNC name
- Next
- Requirements
- Platform Requirements. Select this program can run only on specified platforms
- All Windows 8 (64-bit)
- All Windows 8.1 (64-bit)
- All Windows Server 2012 R2 (64-bit)
- All Windows Server 2012 (64-bit)
- Windows 7 SP1 (64-bit)
- Windows Server 2008 R2 SP1 (64-bit)
- Windows Server 2008 SP2 (64-bit)
- Estimated disk space = Unknown
- Maximum allowed run time = Unknown
- Next.
- Summary, Next.
- Close
Creating an Uninstall Package
If you have the need to silently uninstall SAS 9.4 you can create a program with the following command line to silently uninstall SAS 9.4
'C:Program FilesSASHomeSASDeploymentManager9.4sasdm.exe' -quiet -uninstallall
Updating SAS with a new license file
The following command can be used to update your SAS instance:
- 32Bit Version Renewals
- 'C:Program FilesSASHomex86SASRenewalUtility9.4sasrenew.exe' -s 'datafile:%cd%SAS94_9B7QDC_70007566_Win_Wrkstn.txt'
- 64Bit Version Renewals
- 'C:Program FilesSASHomeSASRenewalUtility9.4sasrenew.exe' -s 'datafile:%cd%SAS94_9B7QDC_70083910_Win_X64_Wrkstn.txt'
One thing to note is that the above command doesn't seem to play well when called directly from the program command line. For this reason, i actually put this command into a .cmd or .bat file and then setup my program to call the .cmd or .bat file.
Also, if you have an environment where users may not have a consistent SASHome directory (Ex: SASHome2), you may want to copy the contents of the SASRenewalUtility directory to a source location and run the sasrenew.exe from their.
Other comments and considerations
In some scenarios you may not want to do a silent install and instead all the user to select the options they want to install. If this is the case there are some issues I ran into in my deployment testing
- If the program calls setup.exe and the environment is set to Administrative Rights with the option Allow users to interact with this program some functions may not work correctly. Specifically if users do a full installation it will prompt at some point for the location of the browser and will not allow the user to select or manually enter the location.
- To work around the issue noted above the program needed to be set to run with user rights. This means the user will need to be a member of the administrators group on the system. The user will also need read/execute rights to the content location on your distribution point.
Most Popular Pages
laserqdy.netlify.app© 2020