InstallExecuteAgain Action

Windows Installer

InstallExecuteAgain Action

The InstallExecuteAgain action runs a script containing all operations in the action sequence since either the start of the installation or the last InstallExecuteAgain action or the last InstallExecute action. The InstallExecute action updates the system without ending the transaction. InstallExecuteAgain performs the same operation as the InstallExecute action but should only be used after InstallExecute.

InstallExecuteAgain should always be set so that it does not run during removal. For information, see Using Properties in Conditional Statements.

Sequence Restrictions

The InstallExecute action comes between the InstallInitialize action and the InstallFinalize action.

ActionData Messages

There are no ActionData messages.

Remarks

The InstallExecuteAgain action does the same thing as the InstallExecute action. Because the sequence tables have only one primary key, the Action column, the same action cannot be repeated in a particular sequence table. Two actions exist that do the same thing, InstallExecute and InstallExecuteAgain, for cases where the functionality of InstallExecute is needed twice in the InstallExecuteSequence table. For more information, see Using a Sequence Table.

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.