MsgBoxphp
http://www.jrsoftware.org/ishelp/index.php?topic=isxfunc_msgboxapp
ExpandConstantide
http://www.jrsoftware.org/ishelp/index.php?topic=isxfunc_expandconstantui
DelTreespa
http://www.jrsoftware.org/ishelp/index.php?topic=isxfunc_deltreeip
The Pascal script can contain several event functions which are called at appropriate times.ci
Setup supports following event functions:rem
Uninstall supports following event functions:get
Here's the list of constants used by these functions:it
http://www.jrsoftware.org/ishelp/index.php?topic=scriptfunctions
The Pascal script can call several built-in support functions.
function DelTree(const Path: String; const IsDir, DeleteFiles, DeleteSubdirsAlso: Boolean): Boolean;
Deletes the specified directory if IsDir is set to True, or files/directories matching a wildcard if IsDir is set to False. Returns True if it was able to successfully remove everything.
If DeleteFiles is set to True, files inside the specified directory will be deleted if IsDir is True, or files matching the specified wildcard (including those with hidden, system, and read-only attributes) will be deleted if IsDir is False.
If DeleteFiles and DeleteSubdirsAlso are both set to True, subdirectories (and their contents) will be deleted in addition to files.
This function will remove directories that are reparse points, but it will not recursively delete files/directories inside them.
begin
// Delete the directory C:\Test and everything inside it
DelTree('C:\Test', True, True, True);
// Delete files matching C:\Test\*.tmp
DelTree('C:\Test\*.tmp', False, True, False);
// Delete all files and directories inside C:\Test// but leave the directory itselfDelTree('C:\Test\*', False, True, True);end;