What are Action Groups?
Previous Topic  Next Topic 

Action groups are a way to group individual actions together under a single set of conditions.  Action groups are defined independent of any particular pane and can be called from anywhere in an install using the Execute Action action.


When executing an action group, the conditions of the Execute Action are first checked, then any conditions on the action group itself are checked, and finally, if the Evaluate Conditions property of the Execute Action is true, the individual conditions on each action in the action group are checked before executing.


If any conditions on the Action Group exist that are executed Before the Next Action, these conditions are checked after all of the actions in the group are executed, and if the conditions fail, the entire action group will be executed again.



Note

InstallJammer creates five action groups for a new project:  Setup Actions, Startup Actions, (Un)Install Actions, Finish Actions and Cancel Actions.



Setup Actions

This action group is executed near the very beginning of the install and uninstall startup.  It happens just before the command-line arguments specified by the user are parsed.  Since no wizard exists yet and some of the setup has not been done yet, this action group should only be used to initialize virtual text or to alter command-line options before they are parsed.


Startup Actions

This action group is executed automatically during the startup of the installer.  This is done after some default checks and setup has been done but before the first pane of the wizard is displayed.


(Un)Install Actions

This action group is called from within the (un)install panes and is usually attached to the Copy Files pane.  InstallJammer does not call this action group automatically, instead letting you call it wherever you want from within the installer.


Finish Actions

This action group is executed automatically when the install is finished.  It is the last thing called before the installer exits.


Cancel Actions

This action group is executed automatically when the install is cancelled.  It is the last thing called before the installer exits.



Standard Properties 

See Standard Properties.