EasyManua.ls Logo

Symantec WISESCRIPT EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 - Read INI Value; Read;Update Text File

Symantec WISESCRIPT EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0
174 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WiseScript Editor Reference 104
WiseScript Actions
z Dest. Variable
Enter a variable to store the letters corresponding to the button the end user
clicks.The button clicked by the end user is returned as a letter: A for the first radio
button, B for the second, and so on. If the script sets this variable to a letter before
this action runs, the corresponding button appears selected by default.
z Description
Enter explanatory text to be displayed above the radio buttons. Press Shift+Enter
for a carriage return.
z Component List
Enter the choices, one on each line, pressing Enter after each.
Read INI Value
This action reads an entry from an existing .INI file into a variable. Example: Obtain a
path to a file.
To complete the dialog box
z INI Pathname
Specify a complete path to the .INI file (example: %WIN%\Sample.ini).
z INI Section
INI files have sections that are delineated by bracketed section names (example:
[DIRECTORIES]). Enter the name of the section that contains the entry to be read,
without brackets (example: DIRECTORIES).
z INI Item
Enter the name of the entry to read from the .INI file.
z Default Value
Enter the value to store in the variable below if the specified entry is not found.
z Variable Name
Enter a variable to store the value of the INI item.
z Remove File Name
Mark this to remove a file name from the end of a returned path, leaving only the
directory name. This operation is not performed on the Default Value.
Read/Update Text File
This action begins a loop that reads and, optionally, updates text in a text file. Each loop
puts the next line of text into a variable. You can put actions in the loop that change the
contents of the variable (example: Parse String). Optionally, the changed variable can
be written back to the file. The loop repeats for each line of the file. This action requires
an End Statement.
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.

Table of Contents

Related product manuals