WiseScript Editor Reference
99
WiseScript Actions
If COMPONENTS Contains Any Letters in “A” then
Modify Component Size: 1024
End
The COMPONENTS variable is populated with a letter of the English alphabet for each
component set to be installed, starting with A for the first component, B for the second,
and so on.
To complete the dialog box
z
Size (Kbytes)
Enter the amount of additional disk space to reserve.
z
Dest. Path
Enter the directory where the files will be installed (example:
%MAINDIR%\Pictures).
Open/Close Install.log
Use this action to create an installation log.
Normally, every file that is installed is recorded in the install.log. The uninstall works by
reading Install.log from bottom to top and reversing each recorded action.
The Open/Close Install.log action lets you customize the uninstall, by turning logging off
and on at key points to prevent some actions from being recorded in the log. If you use
this action to stop logging, you must also use it to resume logging or no log file is
created.
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
Select one of the following options for each Open/Close Install.log action that you add to
the script.
z
Resume/Start writing entries into installation log
z
Pause writing entries into installation log
This must be followed, at some point, by another Open/Close Install.log action that
resumes writing, or no log file is created.
z
Open new installation log
Mark this to create an installation log. Then enter the complete path or just the file
name of the new log to the right (examples: %MAINDIR%\Speciallog.log or
Speciallog.log). If just a file name is entered, the log is written to the same directory
as the first installed file.
See also:
Add Text to INSTALL.LOG
on page 42