<Schedules> element (bootstrapper)
The Schedules
element contains Schedule
elements, which define specific times at which commands defined by the Command
element should be run.
Syntax
<Schedules>
<Schedule
Name
>
<BuildList />
<BeforePackage />
<AfterPackage />
</Schedule>
</Schedules>
Elements and attributes
The Schedules
element is a child of the Product
element. Each Product
element might have at most one Schedules
element. The Schedules
element has no attributes.
Schedule
The Schedule
element is a child of the Schedules
element. A Schedules
element must have at least one Schedule
element.
Schedule
has the following attribute.
Attribute | Description |
---|---|
Name |
Required. The name of the schedule item. This corresponds to the ScheduleName property of the Command element. When a Command references the named schedule, it will only be executed at the time indicated by that Schedule element. Schedules may also be associated with the FailIf and BypassIf elements, which restrict these conditional tests to executing on the specified schedule. For more information, see <Commands> Element. |
A given Schedule
element may have exactly one of the following children.
BuildList
The BuildList
element instructs the installer to execute a command immediately after the bootstrapping application is started.
BeforePackage
The BeforePackage
element instructs the installer to execute a command before the specified package is installed.
AfterPackage
The AfterPackage
element instructs the installer to execute a command after the specified package is installed.
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for