WiseScript Editor Reference
46
To check if a .DLL is loaded, enter just the .DLL name, not a path. To check if a
.DLL is loaded in a specific directory, include the full path.
Example: To determine if any User32.dll is loaded, just specify user32.dll. To
determine if c:\Windows\System32\User32.dll is loaded specify the full path.
z
Title
Enter the title for the dialog box.
z
Message Text
Appears in the body of the message dialog box. Leave this blank to prevent the
message from appearing.
z
Action
Occurs when the If statement above is true. The message described in the Title
and Message Text fields appears unless Message Text is blank. In addition, select
from these options.
Display Message Only
Abort Installation
Start Block
Begins a conditional block. All actions between this action and the next Else or
End action are executed.
Start While Loop
Begins a loop block. All actions between this action and the next End action are
executed repeatedly as long as the condition is true.
z
Perform loop at least once
If you chose Start While Loop, mark this to force the loop to execute once before
the test is performed. If the check box is cleared, the loop is executed if the
condition is true, but is not executed if the condition is false.
The sample script Newdisk.wse uses this action. For details on sample scripts, see
ScriptHelp.htm in the Samples subdirectory of this product’s installation directory.
Check In-use File
This action determines whether a particular file is “in use”, indicating a file is being
accessed by a process. Typically, in-use files cannot be moved, deleted, or opened by
other processes.
To complete the dialog box
z
Variable
Select or enter a variable to store the result of this test. After this action runs, the
variable contains one of the following values: In-Use, Not In-Use, Non-Existent
(which means the file could not be found), or Access Denied. The value Access
Denied is returned if the user does not have write access to the file.
z
Pathname
Enter the path of the file to check. You can use variables to build the path.
Check Service
This action checks if a particular service is running.
Содержание ALTIRIS INVENTORY 7.0 SP2 - FOR NETWORK DEVICES V1.0
Страница 1: ...WiseScript Editor Reference ...
Страница 31: ...WiseScript Editor Reference 31 ...
Страница 91: ...WiseScript Editor Reference 91 ...
Страница 148: ...WiseScript Editor Reference 148 ...