Installing the ActiveX Control


You can install theSAS/GRAPH Control for ActiveX manually, as described in Manually Installing the ActiveX Control on page 389, or your presentation can prompt the Web user through the installation process, as described in Configuring Your Program to Prompt Users to Install the ActiveX Control on page 389 and Prompting for Installation of the ActiveX Control on page 390.

Manually Installing the ActiveX Control

Follow these steps to manually install the ActiveX Control on a Web browser that uses ActiveX device drivers.

  1. Obtain the installation program, in one of the following ways:

    • Installing SAS/GRAPH software.

    • Copying the program from the SAS Client-Side CD-ROM, which is provided with SAS/GRAPH software.

    • Downloading the program from the SAS Web site, at

      http://www.sas.com/apps/demosdownloads/setupintro.jsp

      and selecting the SAS/GRAPH Software link.

  1. Run the installation program (sasgraph.exe). You will have an opportunity to change the default storage location, which is as follows :

     C:\Program Files\SAS Institute\Shared Files\Graph\V  x  

    Where x is the version number. Installation requires seven megabytes of disk space.

Configuring Your Program to Prompt Users to Install the ActiveX Control

You can set up your SAS/GRAPH program so that the resulting presentation will prompt users to install the ActiveX Control. Note that no files are installed without permission. Users can refuse installation by refusing the licensing agreement at the beginning of the installation process. Also note that the installation program will not run if the control has already been installed.

To be able to access the installation program, Web users must be able to access its storage location. You might need to copy the program to another location to ensure availability.

If you are using ODS to generate your HTML output file, then you can reference the installation program when you open the HTML output file. For example:

 ods html body="myGraph.html"     codebase="http://www.ourco.com/sasweb/graph/sasgraph.exe#version=9,1,0,304"; 

If the program is not stored on a Web ActiveX device driver, then you can use a file specification as the value of the CODEBASE attribute. For example:

 ods html body="myGraph.html"     (codebase="/grsrc/sasgraph.exe#version=9,1,0,304"); 

Prompting for Installation of the ActiveX Control

You can edit an existing ACTIVEX presentation so that it will prompt users to install the SAS/GRAPH Control for ActiveX. If the control is already present, then the component setup program will not run.

Follow these steps to add the installation capability to your ACTIVEX presentation:

  1. In a text editor, open the initial HTML file of your Web presentation.

  2. In the OBJECT tag, insert the CODEBASE= attribute. The attribute references the location of the installation program. The following CODEBASE value references a public directory:

     CODEBASE="file://grsrc/sasgraph.exe" 

    If the installation program is stored on a Web ActiveX device driver, use an HTTP reference:

     CODEBASE="http://www.ourco.com/sasweb/graph/sasgraph.exe#version=9,1,0,304" 
  3. Save the HTML file and close the editor.

Now displaying the HTML file gives users who need it the option of installing the control in the default location on their local computers.

Note that if you want to install the control in a non-default location, you need to install the control manually, as described in Manually Installing the ActiveX Control on page 389.

Uninstalling the ActiveX Control

If you installed the ActiveX Control as a stand-alone component, then you can use the following steps to uninstall the ActiveX Control.

  1. Open the Control Panel window by selecting

    click to expand

  2. Select

    click to expand

  3. Select

    click to expand

  4. Select the button.

Because several different products can install the ActiveX Control, you might need to repeat the install process.




SAS.GRAPH 9.1 Reference, Volumes I and II
SAS.GRAPH 9.1 Reference, Volumes I and II
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 342

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net