Pascal Script
MsgBox
http://www.jrsoftware.org/ishelp/index.php?topic=isxfunc_msgbox
ExpandConstant
http://www.jrsoftware.org/ishelp/index.php?topic=isxfunc_expandconstant
DelTree
http://www.jrsoftware.org/ishelp/index.php?topic=isxfunc_deltree
Event Functions
The Pascal script can contain several event functions which are called at appropriate times.
Setup event functions
Setup supports following event functions:
Uninstall event functions
Uninstall supports following event functions:
procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
Constants
Here's the list of constants used by these functions:
Support Functions Reference
http://www.jrsoftware.org/ishelp/index.php?topic=scriptfunctions
The Pascal script can call several built-in support functions.
File functions
DelTree
Prototype:
function DelTree(const Path: String; const IsDir, DeleteFiles, DeleteSubdirsAlso: Boolean): Boolean;
Description:
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.
Remarks:
This function will remove directories that are reparse points, but it will not recursively delete files/directories inside them.
Example:
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 itself
DelTree('C:\Test\*', False, True, True);
end;
最新文章
- RSA加密,应用授权及MSSQL备份与还原
- C#中的问号
- Code::Blocks的魅力
- e_msg_c_gs_enter_gs_req
- Python之调用WebService:suds
- inline函数的用法
- 为什么要用Maven?
- Lucene建索引代码
- combobox远程加载数据的总结和Json数据的小结
- 阿里云服务器centos5.10安装lamp环境
- c++文件流
- 【Java规划】DOM XML Parser分解、遍历、创XML
- xpath的文本获取
- head first c&;lt;11&;gt;在根据网络编程
- connectVisualVMtoTomcat
- Javascrpit学习之路一——基础知识
- loadrunner提高篇-插入检查点与关联函数
- jQuery遮罩层插件
- 20145302张薇 《网络对抗技术》 web基础
- MongoDB Chapter1:Introduction
热门文章
- Winserver服务器-AD字段对照简图
- SQL SERVER-union
- PHP的curl库代码使用
- yolo环境配置
- Linux就该这么学 20181003(第四章Vim/shell/测试条件)
- [jzoj 6084] [GDOI2019模拟2019.3.25] 礼物 [luogu 4916] 魔力环 解题报告(莫比乌斯反演+生成函数)
- oracle数据库的关闭
- [AHOI2013]作业 莫队 树状数组
- (WC2018模拟十二)【FJOI2016集训Day7T3】Xor-Mul棋盘
- 捕捉soap的xml形式