Learning Center
Plans & pricing Sign in
Sign Out



									Installing SAS 9.3 TS1M1

      Raymond R. Balise
  Health Research and Policy
If you are upgrading from an early SAS
• As with any install on Windows, be sure to back-up your
  machine before you install software.
• I use the Windows control panel to remove all SAS
  programs before I upgrade. This gets rid of all the old
  programs that SAS provided but keeps my work intact.
  Rerun the uninstaller repeatedly until there are no
  components of SAS left. After uninstalling everything I
  reboot. After rebooting I find the SAS and also SASHome
  folders in the Programs Folder and delete them and then
  reboot again. You should not have saved into that folder
  but if you saved your work there obviously you want to
  move it before deleting the folder.
• This process takes a while and in theory is not necessary
  but it helps to assure that you have a completely clean
  install of SAS.
• SAS will want to use JAVA. Get it here: If you think that you have the
  latest version (7 Update 5), you can use the Do
  I have Java? hyperlink on the page to double-
               Installing SAS
• The next slides show you how to check what
  version of Windows you are running. Keep in
  mind that SAS only works correctly on
  Windows Professional or better versions of XP,
  Vista or 7. All Home editions of Windows will
  have problems running SAS.
• Use the following notes to check to see if you
  are running 32 bit or 64 bit Windows and then
  download the correct version of SAS 9.3.
Which Windows in Windows 7 OS?
    Go to Start Button > Control Panels look at System:
                                                             This is the
                                                          Professional not
                                                          Home edition of
                                                            Windows 7

                                                                    Look here to
                                                                    see 32 bit vs.
                                                                       64 bit
Which Windows for Vista
Go to Start Button > Control Panels look at System:
Which Windows in Windows XP
   Go to Start Button > Control Panels look at System:

                   32 bit                                64 bit
                 Order SAS
• You can order 32 or 64 bit SAS here:
                                          After paying
    • You will get two emails. The second will have
      the link to download:
                                       Click the real address

                             The download can take HOURS off campus. Use a wired
                                       connection on campus if you can.
                       After step 2… you
                         will hopefully
                        have an icon on
                         your desktop

I downloaded the
file from step 3 to
my desktop. Step
4 is to double click
                                       This is quick….

                                       It will save the

You can double click my computer and
        browse to the folder.

                                          A little file in
       This will run all

This has SAS.
 This has the
 license file.
                             The following slides show
                             you how to install. If you
                            forget to install part of SAS
                              double-click the setup
                            program to add parts later.

With Vista or Windows 7
right click setup.exe and
 Run as administrator….
   Double click in XP.

    If you have
   Office 2007 or

 Check “on” the
 boxes shown in
   this and the
following 2 slides
 before pushing
 next. Some will
 not be checked
  by default so
 check carefully.
If you must run 32 bit
   Office on a 64 bit
   machine add this
   also. See slide 50.
Use 64 bit if and
 only if you are
  sure you are
  using 64 bit
Use 64 bit if and
 only if you are
  sure you are
  using 64 bit

   Quit PowerPoint
before you push Start.
  (Now… go to for a
swim or out to lunch.)
It is your choice
  on if to send
    them your
 hardware info.
 The archive folder will have more than 8 Gig of data. Keep if
until you are certain that you have everything you need. Then
                    delete if you need room.
               After Installing
• The next slides give advice on what to do after
  installing SAS.
  – Patch your software
  – Set your windows so it will show file suffixes.
  – If you use Microsoft Office set it to show you file
                  Getting Patches
• Remember where you save the patch files.
• All SAS patches for 9.3 are here:
• If you are running 64 bit SAS get the Windows for
  x64 versions, otherwise just get the Windows files.
• You want to download files which contain
  these patches G35004, F98002, F67001, F98009,
  F98030, F98037, F98041, H03002, H03003,
  G36004, H28001, F98034. Save the files
  into a directory.
           Installing patches
• After downloading patches. Start the SAS
  deployment Wizard:
Click this.
Browse to the folder
where you saved the
             Stay up to Date
• Ask SAS to email you when they have patched
    Can You Recognize File Types?
• Windows adds a period and a suffix to the
  names of files to indicate what program uses
  the file. By default, the suffix is hidden. Fix that
  and you will be sure to import the right file.

                             No suffix shown.
   Viewing File Types in Windows
• Tell Windows 7 to show you the file suffixes:
  – From the Start button click on the Control Panel

                   1. Type:
                   file type

                  2. Click

                                                3. Uncheck


Follow these steps to show file
extensions (suffixes) in Vista.

                             3. Uncheck

Show File Extensions (Suffixes) in XP


     1                        4

             3. Uncheck

 The Path Says Where Files are Found
When you want to find a file to analyze on your
PC, you need to know the path.

                                              Click here…

              … and the path is shown as: C:\Projects\Talks\R4Clinicians
Click to return
to installer slide.
                      32 bit vs 64 bit Excel
   • Office 2010 can run in 32 bit and native 64 bit
     mode on a machine running 64 bit Windows 7.
   • 64 bit SAS and 32 bit Office do not integrate.
                                          • By default
                                            Office will
                                            install the 32
                                            bit version.
                                          • With 32 bit
                                            office you need
                                            to tweak SAS
                                            to get it to load
                                            Excel files or
                                            run 64 bit
                                            Office instead.
         Installing 64 bit Office
• If you do not use Add-ons to office (like the
  SAM and PAM for microarray analysis plug ins)
  then you can install and run the 64 bit version
  of Excel.
  – If needed uninstall the 32 bit version of Office
  – Find the x64 folder on the Office DVD and run the
    setup program.
Click to return
to installer slide.
               If you must use 32 bit Office
     • If you must use 32 bit office on a 64 bit
       machine send a help request to SAS and they
       will send you advice on how to use the PC
       Files Server to access Excel files:
                 If you plan to use Excel
With XP, click the Windows Start menu and choose Run
     In the dialog type regedit and click ok.
With Vista or Windows 7 search for and open regedit.
1. Open up the tree to this path
HKEY_LOCAL_MACHINE ► SOFTWARE ► Microsoft ► Jet ► 4.0 ► Engines ► Excel
2.   Double click TypeGuessRows.
3.   Type 0, that is zero not the letter o, in the DWORD editor and click ok.
4.   If you can find them, repeat for these paths
HKEY_LOCAL_MACHINE ► Software ► Microsoft ► Office ► 12.0 ► Access Connectivity
   Engine ► Engines ► Excel

HKEY_LOCAL_MACHINE ► Software ► Microsoft ► Office ► 14.0 ► Access Connectivity
Engine ► Engines ► Excel

HKEY_LOCAL_MACHINE ► Software ► Wow6432Node ► Microsoft ► Office ► 12.0 ►
Access Connectivity Engine ► Engines ► Excel

• Microsoft ACCESS will silently change this setting!
     – So watch this setting if you use ACCESS.
               Using File Paths
You can use Windows Explorer to find your files
or you can add a button to MS Office products
to show the path with a single click.
          With Office 2007 or 2010 it is easy to add a button, which will
             show up here, to show you the path when it is pushed.
Here’s how to add that button:



 1                    6
              Once you have the button, push it to get the path to
                                 show here.

The full path includes the path to the folder and the file name with the suffix
using backslashes: C:\Projects\Talks\R4Clinicians\MarriageDev20072009.xls

To top