PREV TOC HOME INDEX NEXT


5.3. Examples

This section provides examples of the DOIT component tokens and switches.

SETUP COMP(PROGDRV SAMPLES ONLDOC DOCLOCAL)COMP REBOOT -s
This command performs an installation where:
  • The runtime components (PROGDRV) are installed.
  • All sample programs (SAMPLES) are installed.
  • Online documentation is installed locally (ONLDOC DOCLOCAL).
  • The setup program will reboot (REBOOT) if any locked files are encountered during file copying.
  • The setup program executes silently (-s).

Figure 3. DOIT Example 1

The following steps use an Instruction File to produce the same results as Figure 3, DOIT Example 1:

  1. Create a text file: 'a:\somepath\somefile.txt'.
  2. Enter the following into the file:

    [Dialogic Installation Parameters]
    Command Line=COMP (PROGDRV SAMPLES ONLDOC DOCLOCAL) COMP REBOOT

  3. Call the Setup script as follows:

SETUP I_F (a:\somepath\somefile.txt) I_F -s

SETUP DIR(c:\somepath)DIR COMP(PROGDRV SAMPLES ONLDOC DOCLOCAL)COMP REBOOT_ALWAYS -s
This command performs an installation where:
  • The files are installed in the directory c:\somepath (DIR(c:\somepath)DIR) instead of the default installation directory.
  • The runtime components (PROGDRV) are installed.
  • All sample programs (SAMPLES) are installed.
  • Online documentation is installed locally (ONLDOC DOCLOCAL).
  • The setup program reboots at the end of the installation in all cases (REBOOT_ALWAYS).
  • The setup program executes silently (-s).

Figure 4. DOIT Example 2

SETUP COMP(PROGDRV SAMPLES ONLDOC DOCLOCAL)COMP C1(a:\somedir)C1 REBOOT_ALWAYS -s
This command performs an installation where:
  • The runtime components (PROGDRV) are installed.
  • All sample programs (SAMPLES) are installed.
  • Online documentation is installed locally (ONLDOC DOCLOCAL).
  • Immediately after file copying and before component registration with the Windows registry, the script will copy the directory tree beginning at a:\somedir to the Dialogic installation directory (C1(a:\somedir)C1).
  • The setup program reboots at the end of the installation in all cases (REBOOT_ALWAYS).
  • The setup program executes silently (-s).

Figure 5. DOIT Example 3


PREV TOC HOME INDEX NEXT

Click here to contact Telecom Support Resources

Copyright 2003, Intel Corporation
All rights reserved
This page generated January, 2003