WiseScript Package Editor Reference
46
WiseScript Actions
z
Search for Text
Enter the text to search for here. The installation scans Config.sys looking for a line
that begins with, ends with, or contains the text, depending on the setting of the
Match Criteria field. The line is inserted at the first found match.
z
Comment Text
Enter text to insert at the beginning of the line that is found. Insert “REM ” (with the
trailing space but without the quotation marks) to comment out the line, which lets
you replace an existing command with a new command while leaving the existing
command in place but inactive. If this is the case, set Insert Action to insert before
the existing line so that a subsequent installation finds and edits the active
command, not the commented line.
z
Insert Action
Select where to insert the new line in relation to the found line.
z
Match Criteria
Select how the found line matches the Search for Text.
z
Ignore White Space
Mark this to ignore spaces and tab characters.
z
Case Sensitive
Mark this to match case.
z
Make Backup File
Mark this to make a copy of Config.sys before editing it.
Add to SYSTEM.INI
(Windows 3.1x or Windows 9x only) This action adds a device entry to the 386Enh
section of the System.ini file. The destination computer is restarted automatically to
force the new device driver to be loaded.
Do not use this action to modify the display driver (display=xxx) or any other non-
device entry. Instead, use the Edit INI action.
See
Edit INI File
on page 72.
To complete the dialog box
z
Device Name
Enter the full command line for the device (example: device=vshare.386). The
referenced files need a path unless they are in the System directory.
If you precede the command line with a semicolon (example: ;device=*vcp), the device
entry is commented out if it exists in the 386Enh section of System.ini. If you add a
device entry with the same device name but a different driver path, the old entry is
commented out and the new entry is added.
Browse for Directory
This action displays a dialog box asking the end user to select a directory. It is included
to provide backward compatibility for older WiseScripts. In new scripts, use custom
dialog boxes instead.