A sequence of actions in a default MSI installation (not custom)


An MSI installer calls a lot of pre-defined actions during install – FindRelatedProducts, CheckVersion, etc. Different actions are called during different install types and sequences: admin, unattended, user, execute, deffered… and custom actions are queued 'before' or 'after' these predefined MSI actions.

Is there a complete list available that shows the exact sequence in which MSI actions are called in different install modes and sequences? Ideally with short comments about what each action does and what is a good practice to insert custom actions into.

Best Solution

See the MSDN documentation, specifically the documentation on Using a Sequence Table.

For offline reference, download the Windows Installer 4.5 SDK and read MSI.CHM (it's much easier to navigate than the MSDN stuff anyway)

Related Question