InstallShield的事件函数
在InstallShield Help Library的库中,的Reference/Event Handlers的下面,是Install
Shield的一些事件函数。这些事件包含了安装的所有过程,通过重载这些事件函数,即可以实现其过程序的控制,而不用系统默认的方式。所以了解这些函数是什么时候才会运行的非常重要。而且这些事件函数会调用各个InstallShield API函数.分为四类,分别为
1.
其又分为四类,分别为:
1.1
它有三个函数为, OnCheckMediaPassword, OnSetTARGETDIR, OnSetUpdateMode
1.2
它有十八个函数,分别为:
OnAdminInstallUIBefore, OnAdvertisementBefore, OnAppSearch, OnBegin,
OnCCPSearch, OnFirstUIBefore, OnIISInitialize, OnMaintUIBefore, OnPatchUIBefore,
OnResumeUIBefore, OnSQLComponentInstalled, OnSQLComponentUninstalle
1.3
它有二十三个函数, 分别为:
OnCustomizeUninstInfo, OnGeneratedMSIScript, OnGeneratingMSIScript, OnGeneratingMSIScript, OnIISComponentInstalled, OnIISVRootUninstalling, OnInstalledFile, OnInstallFontFile, OnInstallFilesActionBefo
OnNetApiCreateUserAccoun
1.4
它一共有十个函数,分别为:
OnIISUninitialize, OnXMLUninitialize, OnFirstUIAfter, OnMaintUIAfter, OnUpdateUIAfter, OnPatchUIAfter, OnResumeUIAfter, OnAdvertisementAfter, OnEnd
2.
一共有四个函数,分别为:
OnInstalling, OnInstalled, OnUnInstalled, OnUnInstalling.
3.
OnAbort, OnAdminPatchUIAfter, OnAdminPatchUIBefore, OnCanceling, OnDIFxLogCallback, OnError, OnException, OnFileInUse, OnHelp, OnInternetError,
OnLaunchAppAndWaitCallba
OnUninstall, OnWarning, OnFileLocked, OnFileReadOnly, OnRemovingSharedFile,
OnNextDisk, OnMD5Error,
4.
只有两个函数,分别为:
OnShowUI, OnUninstall