Administrator Guide for SAS 9.1.3 Foundation for Microsoft Windows 75
How to Remove or Uninstall SAS Software
There are two ways to uninstall SAS 9.1.3 Foundation. Using one of these methods instead of
manually deleting SAS files ensures that the Windows registry will be properly updated.
Remove SAS Interactively via the Control Panel
For an end user, the process of removing or uninstalling SAS software works just as it does for
any other Windows software. The user clicks on My Computer, then Control Panel, and
then Add/Remove Programs. Select SAS 9.1.3 Foundation from the list, and then OK
to remove SAS from your computer.
Use Silent Uninstall at the Command Line
An administrator who has created a deployable image for SAS Foundation can chose to
remove SAS software via the silent uninstall program command that follows this structure:
"...\sas\setup.exe" uninstall -s -f1"<full path to uninst.iss>"
f2"<full path to log file>"
Here is an example:
m:\MyNetDrive\Disk1\SAS\setup.exe uninstall -s -
f1"m:\MyNetDrive\disk1\sas\uninst.iss" -f2"c:\unset.log"
An administrator who does not have a deployable image for SAS Foundation can use the SAS
Setup CD to remove SAS software via the silent uninstall program command that follows this
structure:
"e:\sas\setup.exe" uninstall -s -f1"e:\sas\uninst.iss" -
f2"c:\uninstall.log"
In this example, e:\ is assumed to be the CD-ROM drive.
If You Uninstall SAS from a Side-by-Side Configuration
If you have two versions of SAS installed on one PC (a side-by-side configuration) and you
uninstall one of them, you will need to run setup -register against the server/media of
the remaining SAS version. The setup -register command fixes an issue that may be
present in your file associations after SAS software is uninstalled.
Submit the following command:
<drive letter and full path to SAS setup.exe file>setup.exe -register
Here is an example of how the command might be used if SAS 9.1.3 remains after a different
version of SAS is removed from the PC:
o:\SAS Server\9.1\sas\setup.exe –register
For more information about installing multiple releases of SAS software, please see Updating
Your SAS I
nstallation on page 22.