Studio:Desktop Installation

From STRIDE Wiki
Revision as of 00:09, 10 December 2008 by Stevel (talk | contribs) (New page: == Getting Started == STRIDE software, which is typically provided either via an FTP site or on a CD, contains STRIDE Studio and the STRIDE Runtime, as well as other software and utilities...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Getting Started

STRIDE software, which is typically provided either via an FTP site or on a CD, contains STRIDE Studio and the STRIDE Runtime, as well as other software and utilities.

To install and use STRIDE, your Windows-based PC must have the following minimum configuration:

  • 30 GB hard disk
  • Windows® XP SP2 or greater
  • 512 KB RAM (recommended: 1 GB )
  • Pentium 4 CPU 2 GHz (recommended: 3.20 GHz)
  • 1024 x 768 display (1280 x 1024 recommended)

Obtaining a license and a copy of STRIDE

STRIDE is a license-controlled product. If your company already has a license, then it will also have an internal STRIDE Lead, an employee of your company who is responsible for coordinating access to licenses and the STRIDE installer image (StrideSetup.exe). Download instructions are provided with all new licenses.

If you are not yet a customer of S2 and would like to obtain an evaluation license, email S2 Sales or call our offices at 760-635-2345.

Third Party Components

Perl

Many of our additional test utilities and libraries require perl support on the host. In particular, we require:

  • Distribution of ActiveState perl 5.8.8.822 or newer (download from here). This distribution includes the PerlScript engine that is required for use with STRIDE.
  • The following additional perl packages, which can all be installed using the Perl Package Manager (PPM) that comes with ActiveState perl.
    • Win32::API
    • Win32::GUI
    • Win32::GuiTest
    • Win32::ToolHelp
    • XML::DOM
    • Config::IniFiles
    • Getopt::Long
    • NET::DNS
    • Log::Handler

The simplest way to install these packages is via the command line interface to PPM, e.g

 CMD> ppm install win32-api

(change the last argument accordingly for each required package)

Note: Due to bandwidth issues at ActiveState, PPM attempts may fail intermittently. If so, please re-try. You may also try adding a ppm repository:

 CMD> ppm repo add http://www.bribes.org/perl/ppm

(change the last argument by specifying any other repository)

Note: PPM uses HTTP to communicate with repositories -- if your HTTP connections require a proxy server, refer to the PPM documentation for information about setting the proxy.

Verify all the packages have been installed via PPM

 CMD> ppm list

We provide a perl script, TestInstallOfPerl.pl, that can be used to validate the version and packages that you have installed. This script is available in %STRIDE_DIR%/Scripts folder. Run this script from a command prompt by typing perl TestInstallOfPerl.pl. On a properly configured system, it will produce results like:

 ************************************************************
 Perl/System prerequisites check
 ************************************************************
 OK: Perl version looks good (5.010000).
 OK: Package Win32::API looks good.
 OK: Package Win32::GUI looks good.
 OK: Package Win32::GuiTest looks good.
 OK: Package Win32::ToolHelp looks good.
 OK: Package XML::DOM looks good.
 OK: Package Config::IniFiles looks good.
 OK: Package Getopt::Long looks good.
 OK: Package NET::DNS looks good.
 OK: Package Log::Handler looks good.
 OK: Prerequisites validation successful.
 ************************************************************

You should address any errors that are reported before proceeding. If you prefer to install perl after installing STRIDE, you must run this script after both are installed to verify the packages and perform the necessary STRIDE component registrations.

Desktop Installation

STRIDE is usually installed in the C:\STRIDE directory. Installing the default components will provide everything needed to run STRIDE on the host.

Step-by-step instructions:

  1. Exit all other Windows applications prior to beginning the STRIDE installation.
  2. Connect to the STRIDE FTP site as directed by your STRIDE lead, or insert the STRIDE CD into your PC's CD drive.
  3. Select and open StrideSetup.exe.
  4. When the Install Wizard appears, click Next.
  5. On the License Agreement screen, click I Agree if you agree with the terms of the license and to continue the installation.
    Note: Clicking No will terminate the installation process.
  6. Select the type of installation you want to perform from the list. Standard installs the most commonly used STRIDE components, but does not install the STRIDE Runtime or other utilities and samples. If you want to install these components, choose Custom and select the components you want to install.
  7. Once you have chosen the type of installation you want, click Install.
  8. When the installation is complete, click Finish.

Once the installation is complete, you must have your license information ready before starting STRIDE. If you have an evaluation or node-locked license, place the license file in C:\STRIDE\lic before launching STRIDE Studio. If you are using a floating license, you will be prompted for the location of the license server when you first start STRIDE. After your license setup is complete, you are ready to begin Integrating STRIDE into your Target environment.

It is highly recommended to run through the Hello Stride Sample after completing the Desktop installation.

Conducting an unattended installation

The STRIDE installer supports silent (unattended) installation and uninstallation. To silently install STRIDE, complete the following steps:

  1. Open a DOS window.
  2. Type start /WAIT /D"C:\TEMP" C:\TEMP\StrideSetup.exe /S

Note: The statement above assumes that StrideSetup.exe resides in C:\TEMP; you may need to change this path to match your actual StrideSetup.exe location.

Updating Desktop Installation

If you have previously installed STRIDE and want to add components (e.g., the STRIDE Runtime, Training, etc.), complete the following steps:

  1. Exit all other Windows applications prior to beginning the STRIDE update.
  2. Connect to the STRIDE FTP site as directed by your systems engineer, or insert the STRIDE CD into your PC's CD-ROM drive.
  3. Select and open StrideSetup.exe.
  4. When the Install Wizard appears, click Next.
  5. On the License Agreement screen, click I Agree if you agree with the terms of the license and to continue the installation. Note: Clicking No will terminate the installation process.
  6. A list of STRIDE components appears with check marks next to components you have already installed; you can now select additional components. When you have checked the components you want, click Install.
  7. Your installed copy of STRIDE will be updated. When the update is complete, click Finish. To open STRIDE immediately, check Run Stride 3.0.

Note: If you have previously installed STRIDE and want to remove components (e.g., the STRIDE Runtime, Training, etc.), you must first uninstall STRIDE, then do a fresh installation with the components you want.

Uninstalling Host

Method 1 (via Control Panel)

  1. From the Start menu, select Control Panel.
  2. Double-click Add or Remove Programs.
  3. Select Stride, then click Change/Remove.
  4. When prompted, click Yes.
  5. When the uninstall is complete, click Close.

Method 2 (via STRIDE Program Folder)

  1. From the Start menu, go to STRIDE 3.0 Program folder.
  2. Select STRIDE Uninstall.
  3. When prompted, click Yes.
  4. When the uninstall is complete, click Close.

Method 3 (via STRIDE Installation Folder)

  1. Open the STRIDE installation folder (typically C:\STRIDE).
  2. Go to uninstall folder.
  3. Select and open STRIDEUninstall.exe.
  4. When the Install Wizard appears, click Yes.
  5. When the uninstall is complete, click Close.

Conducting an unattended uninstallation

The STRIDE installer supports silent (unattended) installation and uninstallation. To silently uninstall STRIDE, complete the following steps:

  1. Open a DOS window.
  2. Type start /WAIT /D"C:\STRIDE\uninstall" C:\STRIDE\uninstall\StrideUninstall.exe "/S _?=C:\STRIDE"