Install Shield 的事件 函数

简介: InstallShield的事件函数 在InstallShield Help Library的库中,的Reference/Event Handlers的下面,是Install Shield的一些事件函数。

InstallShield的事件函数

在InstallShield Help Library的库中,的Reference/Event Handlers的下面,是Install

Shield的一些事件函数。这些事件包含了安装的所有过程,通过重载这些事件函数,即可以实现其过程序的控制,而不用系统默认的方式。所以了解这些函数是什么时候才会运行的非常重要。而且这些事件函数会调用各个InstallShield API函数.分为四类,分别为

1.<wbr><wbr><span></span>Global Event Handlers</wbr></wbr>

其又分为四类,分别为:

1.1<wbr><span></span>Initialization Handlers</wbr>

它有三个函数为, OnCheckMediaPassword, OnSetTARGETDIR, OnSetUpdateMode

1.2<wbr><span></span>Before Move Data Handlers</wbr>

它有十八个函数,分别为:

OnAdminInstallUIBefore, OnAdvertisementBefore, OnAppSearch, OnBegin,

OnCCPSearch, OnFirstUIBefore, OnIISInitialize, OnMaintUIBefore, OnPatchUIBefore,

OnResumeUIBefore, OnSQLComponentInstalled, OnSQLComponentUninstalle<wbr>d, OnSQLLogin,OnSQLServerInitialize, OnSQLServerInitializeMai<wbr>nt, OnUpdateUIBefore, OnFilterComponents, OnXMLInitialize,</wbr></wbr>

1.3<wbr><span></span>Move Data Handlers</wbr>

它有二十三个函数, 分别为:

OnCustomizeUninstInfo, OnGeneratedMSIScript, OnGeneratingMSIScript, OnGeneratingMSIScript, OnIISComponentInstalled, OnIISVRootUninstalling, OnInstalledFile, OnInstallFontFile, OnInstallFilesActionBefo<wbr>re, OnInstallFilesActionAfte<wbr>r, OnInstallingFile, OnMoved, OnMoveData, OnMoving,</wbr></wbr>

OnNetApiCreateUserAccoun<wbr>t, OnSQLBatchScripts, OnSQLComponentUninstalle<wbr>d, OnUninstalledFile, OnUninstallingFile, OnUninstallingDIFxDriver<wbr>File, OnUninstallingFontFile, OnXMLComponentInstalled, OnXMLComponentUninstalli<wbr>ng.</wbr></wbr></wbr></wbr>

1.4<wbr><span></span>After Data Move Handlers</wbr>

它一共有十个函数,分别为:

OnIISUninitialize, OnXMLUninitialize, OnFirstUIAfter, OnMaintUIAfter, OnUpdateUIAfter, OnPatchUIAfter, OnResumeUIAfter, OnAdvertisementAfter, OnEnd

2.<wbr><wbr><span></span>Feature Event Handlers</wbr></wbr>

一共有四个函数,分别为:

OnInstalling, OnInstalled, OnUnInstalled, OnUnInstalling.

3.<wbr><wbr><span></span>Miscellaneous Event Handlers</wbr></wbr>

OnAbort, OnAdminPatchUIAfter, OnAdminPatchUIBefore, OnCanceling, OnDIFxLogCallback, OnError, OnException, OnFileInUse, OnHelp, OnInternetError,

OnLaunchAppAndWaitCallba<wbr>ck, OnMsiSilent, 注意此函数好像可以使用默认安装等等。OnOutOfDiskSpace, OnRebooted, OnResolveSource, OnRMFilesInUse, OnSelfRegistrationError,</wbr>

OnUninstall, OnWarning, OnFileLocked, OnFileReadOnly, OnRemovingSharedFile,

OnNextDisk, OnMD5Error,

4.<wbr><wbr><span></span>Advanced Event Handlers</wbr></wbr>

只有两个函数,分别为:

OnShowUI, OnUninstall

目录
相关文章
|
2月前
|
JavaScript 前端开发 持续交付
npm install 执行后打印的 reify rxjs timing... Completed in 30389 ms 是什么意思
npm install 执行后打印的 reify rxjs timing... Completed in 30389 ms 是什么意思
48 0
|
9月前
|
Shell iOS开发 MacOS
Homebrew brew update 长时间没反应(或卡在 Updating Homebrew...)
Homebrew brew update 长时间没反应(或卡在 Updating Homebrew...)
887 0
|
iOS开发 MacOS
MACOS上install_name_tool有时无法改变rpath
MACOS上install_name_tool有时无法改变rpath
135 0
构建freeswitch, make cd-moh-install提示文件错误
构建freeswitch, make cd-moh-install提示文件错误
92 0
|
网络协议
macbook中安装Homebrew 出现443错误
macbook中安装Homebrew 出现443错误
674 0
|
编译器
Qt没有被正确安装,请运行make install -- 问题的解决办法
Qt没有被正确安装,请运行make install -- 问题的解决办法
1105 0
|
Windows
Inno Setup 插件 CallbackCtrl V1.1 (回调函数插件)
原文 http://restools.hanzify.org/article.asp?id=101 VC 重现 InnoCallback 的功能。Version 1.1修正在某些 Windows 平台(例如: Windows XP SP3)出现不能正常运行的问题。
1472 0
|
Web App开发 前端开发 JavaScript
React的source code init时会自动检测Chrome dev tool的react extension装了没
React的source code init时会自动检测Chrome dev tool的react extension装了没
React的source code init时会自动检测Chrome dev tool的react extension装了没
|
存储 Python
window下pip install Scrapy报错解决方案
1.首先打开https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted,找到对应版本的Twisted并下载到你的文件夹。   2.利用pip install命令安装指定存储路径下的whl文件。
1232 0
|
开发工具 git
brew一直卡在Updating Homebrew的解决办法
运行命令brew install pip3,结果界面一直卡在Updating Homebrew...上,有两种解决办法 方法一:直接关闭brew每次执行命令时的自动更新(推荐) vim ~/.
16660 0