MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: Commit and Rollback Custom Actions[Next]: CustomActionData
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Windows Installer FAQ (the basics)->Custom Actions->Types of Custom Actions->Deferred Custom Actions

Deferred Custom Actions

Deferred custom actions are the opposite of immediate ones and must be scheduled between "InstallInitialize" and "InstallFinalize".

They have limited access to state information and properties and so information needs to be passed to them via the Windows Installer "CustomActionData" property. They also can't dynamically update the "executing" msi.

Deferred custom actions are executed as part of a transaction and so you should generally add commit and Rollback support for any changes the custom action is making. Because this supporting code is hard to get right (its difficult) you should generally use standard Windows Installer functionality where possible.


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: Commit and Rollback Custom Actions[Next]: CustomActionData


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Sunday August 13 2017 at 2:39pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.