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月前
Metasploit -- 更新后报错处理
Metasploit -- 更新后报错处理
12 0
执行apt-get install xxx 遇到无法定位软件包解决方法
执行apt-get install xxx 遇到无法定位软件包解决方法
1693 0
执行apt-get install xxx 遇到无法定位软件包解决方法
|
1月前
|
JavaScript 前端开发 持续交付
npm install 执行后打印的 reify rxjs timing... Completed in 30389 ms 是什么意思
npm install 执行后打印的 reify rxjs timing... Completed in 30389 ms 是什么意思
35 0
|
PHP Windows
Windows下laravel/lumen中执行phpunit报phpunit: command not found解决办法
Windows下laravel/lumen中执行phpunit报phpunit: command not found解决办法
121 0
Windows下laravel/lumen中执行phpunit报phpunit: command not found解决办法
|
iOS开发 MacOS
MACOS上install_name_tool有时无法改变rpath
MACOS上install_name_tool有时无法改变rpath
134 0
解决安装 ROS Melodic 后终端出现NameError: name ‘reload‘ is not defined的问题
解决安装 ROS Melodic 后终端出现NameError: name ‘reload‘ is not defined的问题
100 0
|
编译器
Qt没有被正确安装,请运行make install -- 问题的解决办法
Qt没有被正确安装,请运行make install -- 问题的解决办法
1099 0
|
JavaScript Linux Windows
imagemagick安装调用报错command failed
记录下通过nodejs调用imagemagick 的时候发现的一个错误,command failed -- crop .
imagemagick安装调用报错command failed
|
Windows
Inno Setup 插件 CallbackCtrl V1.1 (回调函数插件)
原文 http://restools.hanzify.org/article.asp?id=101 VC 重现 InnoCallback 的功能。Version 1.1修正在某些 Windows 平台(例如: Windows XP SP3)出现不能正常运行的问题。
1469 0