函数及执行顺序
Before Move Data OnBegin
Before Move Data OnFirstUIBefore
Before Move Data OnMaintUIBefore
Move Data OnMoved
After Move Data OnFirstUIAfter
After Move Data OnMaintUIAfter
函数的执行顺序
InstallShied2008的函数执行顺序如下:
OnBegin ---> OnShowUI
OnShowUI里面为:
OnFirstUIBefore ----> OnMoveData ------> OnFirstUIAfter
OnFirstUIBefore (include): 欢迎界面, 选择安装路径, 安装的类型(这个界面已经却掉) .
OnMoveData(include): 文件的拷贝
OnFirstUIAfter(include): FileAttribute, Modify registration, create shortcut, register filter/com, excute custom exe;
第二次运行Setup的时候:(维护,一般会出现我们所看见的Repair、Modify、Delete三个选项)
OnMainUIBefore ---> OnMoveData ----> OnMainUIAfter