<postActions> element (Office development)
The postActions
element of the vstav3
namespace contains all the postAction
elements that describe post-deployment actions, which run after Office solutions are installed.
Syntax
<postActions>
<postAction>
<entryPoint>
</entryPoint>
<postActionData>
</postActionData>
</postAction>
</postActions>
Elements and attributes
The postActions
element is optional and it is in the vstav3
namespace. There is only one postActions
element defined in an application manifest.
The postActions
element has no attributes.
postActions
has the following element.
postAction
Optional. The role of the postAction
element in the vstav3
namespace is defined in <postAction> element (Office development in Visual Studio).
Post-deployment action example
Description
The following code example illustrates the postActions
element in an application manifest for an Office solution deployed by using ClickOnce. This code example is part of a larger example provided in Application manifests for Office solutions.
Code
<vstav3:postActions>
<vstav3:postAction>
<vstav3:entryPoint
class="PostDeploymentAction.PostDeploymentActionSample">
<assemblyIdentity
name="PostDeploymentAction"
version="1.0.0.0"
language="neutral"
processorArchitecture="msil" />
</vstav3:entryPoint>
<vstav3:postActionData>
</vstav3:postActionData>
</vstav3:postAction>
</vstav3:postActions>