1. 程式人生 > >Installshield2008 And 指令碼 (二)

Installshield2008 And 指令碼 (二)

利用Script來控制其安裝流程的時候。最基本的就是

OnBegin ---------> OnShowUI

OnShowUI裡面為:

 OnFirstUIBefore  -----------> OnMoveData ------------------> OnFirstUIAfter

OnFirstUIBefore (include): Display Welcome page, select install path, setuptype and so on.

OnMoveData(include): Copy files

OnFirstUIAfter(include): FileAttribute, Modify registration, create shortcut, register filter/com, excute custom exe;

第二次執行Setup的時候:(維護,一般會出現我們所看見的Repair、Modify、Delete三個選項)

OnMainUIBefore --------------> OnMoveData -------------------> OnMainUIAfter

根據需要在這三個函式中進行相關操作。