WiseScript Package Editor Reference
150
WiseScript Actions
Display Text File
This action displays a 30 K or smaller text file in a dialog box. It is included to provide
backward compatibility for older WiseScripts.
In WiseScript Package Editor, use the ReadMe dialog box on the Dialogs page to display
the ReadMe file in new scripts.
To complete the dialog box
z
File Pathname
Specify a file on the destination computer (examples: %MAINDIR%\Readme.txt,
%TEMP%\%TEMPFILENAME%).
z
Window Title
Enter the title for the dialog box.
z
Description
Enter text to explain the dialog box to the end user.
Edit INI File
This action edits an .INI file on the destination computer. To edit SYSTEM.INI, use the
Add to SYSTEM.INI action instead.
When a WiseScript is called by a Windows Installer installation, you also can edit an .INI
file on the Features or Components tabs of Setup Editor in Windows Installer Editor.
Note
When a WiseScript is called by a Windows Installer installation, the Windows Installer
installation does not recognize changes that the WiseScript makes to the destination
computer and will not uninstall them. Therefore, you must provide a way to uninstall or
repair such changes. See Uninstalling Changes Made by a WiseScript in the Windows
Installer Editor Help.
To complete the dialog box
z
File
Enter the .INI file path, or select a path from the list and edit it.
z
INI File Contents
Enter changes to make in the .INI file. Changes are interpreted as follows:
To add to a section, type the section name in brackets, then type new lines for
that section. If the .INI file already contains a name-value pair that you type,
the existing line is replaced by the new one. Example:
[SECTIONNAME]
Color=Blue
To delete a section and its contents, type a section name with no lines after it.
Example:
[SECTIONNAME]
To delete a name-value pair, type the name with an equals sign followed by
nothing. Example:
Color=