WiseScript Editor Reference
45
If the installation is not true 32-bit, specify both Win16 and Win32 error variables. Then,
the Win32 WinSock.dll is used, followed by the Win16 WinSock.dll. Otherwise, only the
32-bit version is used.
If the download is successful, the Win32 Error Number Variable or Win16 Error
Number Variable is set to 0, which indicates success. If an error occurs, the number
variable is set to another error code, and the text variable is set to a string that
describes the error return codes. The return codes and error strings come from the APIs
that try the download. A sample of the return string is:
ProxyServer=
ProxyIgnore=
ProxyPort=80
ProxyType=CERN
WinInetText=
WinInetError=0
WinSockError=11001
This indicates that no proxy server was used and that WinSock returned the error code
11001.
Note
If the Web server redirects URLs that are not valid to another internal Web page, no
error is detected by this action.
To complete the dialog box
z
URL to Check
Include “http://” in the URL.
z
Win32 Error Text Variable
Select or enter a variable to store the error text returned by the 32-bit winsock.dll.
z
Win32 Error Number Variable
Select or enter a variable to store the error code returned by the 32-bit winsock.dll.
z
Win16 Error Text Variable
Select or enter a variable to store the error text returned by the 16-bit winsock.dll.
z
Win16 Error Number Variable
Select or enter a variable to store the error code returned by the 16-bit winsock.dll.
Check If File/Dir Exists
This action determines if a file or directory exists, whether a directory is writable, or if a
.DLL is loaded into memory. It can perform different actions based on the result of the
check.
To complete the dialog box
z
If
Select the condition to check. To check if a .DLL is loaded, select Module loaded in
memory.
z
Pathname
To check a file or directory, enter its path. Wildcard characters, such as *, are
not valid. Use variables (example: %WIN%) rather than hardcoding a path.
Summary of Contents for ALTIRIS INVENTORY 7.0 SP2 - FOR NETWORK DEVICES V1.0
Page 1: ...WiseScript Editor Reference ...
Page 31: ...WiseScript Editor Reference 31 ...
Page 91: ...WiseScript Editor Reference 91 ...
Page 148: ...WiseScript Editor Reference 148 ...