Installing and Using Utilities 5-129
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
Summary of Contents for Express5800/320Fd-MR
Page 13: ...v Appendix B I O Port Addresses This appendix lists factory assigned I O port addresses...
Page 19: ...xi THIS PAGE IS INTENTIONALLY LEFT BLANK...
Page 43: ...2 10 General Description Rear View...
Page 47: ...2 14 General Description CPU IO Module CPU IO module...
Page 67: ...2 34 General Description This page is intentionally left blank...
Page 79: ...3 12 Windows Setup and Operation 3 Confirm that RDR of the disk is cancelled...
Page 106: ...Windows Setup and Operation 3 39 This page is intentionally left blank...
Page 198: ...4 92 System Configuration This page is intentionally left blank...
Page 370: ......
Page 371: ...This page is intentionally left blank...
Page 389: ...6 18 Maintenance 3 Stop of PCI module 1 4 Start of PCI module 1...
Page 391: ...6 20 Maintenance This page is intentionally left blank...
Page 465: ...System Upgrade 8 31 board must not be mixed with N8804 005 or N8803 035...
Page 480: ......
Page 483: ......