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).
|
The following steps use an Instruction File to produce the same results as Figure 3, DOIT Example 1:
- Create a text file: 'a:\somepath\somefile.txt'.
- Enter the following into the file:
[Dialogic Installation Parameters]
Command Line=COMP (PROGDRV SAMPLES ONLDOC DOCLOCAL) COMP REBOOT
- 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).
|
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).
|