NEC Express5800/320Fd-MR N8800-123F, EXP320K User Manual page 327

Express5800 series
Hide thumbs Also See for Express5800/320Fd-MR N8800-123F, EXP320K:
Table of Contents

Advertisement

Executing Visual Basic Scripts
By default, the File field on the Custom Actions page accepts only batch files (.bat) and application
files (.exe). If you want to use a Visual Basic script (.vbs) on the Custom Actions page, you need to
specify the command-line based script host (cscript.exe) in which the executable will run.
When performing the procedure in "Configuring Custom Actions" on page 5-123, do the following:
Next to File, type:
%SystemRoot%\system32\cscript.exe
(%SystemRoot% is an environment variable that automatically inserts your system root
directory, typically C:\WINDOWS.)
Next to Arguments, type the full path name and file name of the executable. For instance:
C:\bin\myvbscript.vbs
If applicable, you can type additional arguments that are specific to your script file or options that
are specific to the cscript session.
For example, you might want to specify the //T option for the cscript session to control the
maximum amount of time your executable is allowed to run:
C:\bin\myvbscript.vbs //T:30
The preceding example would terminate the executable and cscript session after 30 seconds. Setting
this type of time limit is a useful way of ensuring that your executable will not delay the upgrade
process.
For more information about the cscript command, open a Command Prompt session and enter
cscript /?
TIPS:
Programming Notes for Custom Actions, page 5-126
Configuring Custom Actions, page 5-123
Installing and Using Utilities 5-129

Advertisement

Table of Contents
loading

This manual is also suitable for:

Express5800/320fd-lr n8800-122f, exp320j

Table of Contents