Hi,
The User Guide talks about "two main branches which correspond to the two main installation phases"
Does this mean: InstallUISequence & InstallExecuteSequence?
Yes. During "InstallUISequence" the installation dialogs are shown and during "InstallExecuteSequence" the actual install is performed.
The User Guide talks about "a scondary branch which represents the custom actions"
Does this mean: Uninstall, Rollback, Install & Commit?
No, this refers to "UI Custom Actions" branch which is available in an Enterprise project. Please note that the actual text in the User Guide is:
"a secondary branch which represents the custom actions which can be used by DoAction control events on the dialogs of the installation"
Basically, the UI custom actions can be used by DoAction control events on the installation dialogs. This allows you to
run a custom action when a button is pushed.
The User Guide says: "for each of these you can show more branches in which you can add custom actions using the [ Show Standard Action] Toolbar button"
So, would "more branches" mean: Before Initialization, Before File Installation, Before Finalization?
No, this refers to the
standard actions you can add. "Before Initialization", "Before File Installation" and "Before Finalization" are simply categories for the standard actions.
Assuming "yes" to the above answers, then I interpret the Guide as follows:
You can attach a custom action to a standard action which is associated with the Before Initialization branch
of the Rollback branch of the InstallExecuteSequence branch.
However, based upon what I observe, I think the tool works like this...
You can associate a custom action with one of the Standard windows installer actions. These are available via the
Show Standard Action button on the toolbar.
-- AND / OR --
You can associate a custom action with one of the four branches under InstallExecuteSequence using
either of the buttons New Attached Custom Action, New Installed Custom Action or New Custom Action
The installation process works like this:
- when InstallUISequence runs, it shows the installation dialogs and it executes its standard actions you can show through "Show Standard Action" toolbar button or context menu
- when InstallExecuteSequence runs, some of its standard actions (you can show them through "Show Standard Action" toolbar button or context menu) are executed based on their conditions
So basically, the installer uses two sequences which run standard actions. After one of these standard actions you can add one or more custom actions. Please note that "Uninstall", "Rollback", "Install" and "Commit" are also standard actions (you can add custom actions after them).
Regards,
Cosmin