Check In-Use File; Check Service - Symantec WISESCRIPT EDITOR 7.0 SP2 - FOR WISE INSTALLATION EXPRESS V1.0 Installation Manual

Hide thumbs Also See for WISESCRIPT EDITOR 7.0 SP2 - FOR WISE INSTALLATION EXPRESS V1.0:
Table of Contents

Advertisement

Check In-use File

Check Service

WiseScript Editor Reference
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.
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.
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
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.
Pathname
Enter the path of the file to check. You can use variables to build the path.
This action checks if a particular service is running.
To complete the dialog box
Variable
Select or enter a variable in which to put the status of the service. Possible return
results are: Unknown, Running, Stopped, Paused, StartPending, StopPending,
ContinuePending, or PausePending. Unknown means the service was not found or
the current user does not have privileges to query the service. If the status ends
with the word Pending, the service has received a request, but is still processing the
request.
Service Name
Enter the name of the service. This is not necessarily the same name you see in the
Services control panel. If you are unsure of the service name, consult its
documentation or manufacturer.
WiseScript Actions
57

Advertisement

Table of Contents
loading

Table of Contents