<postActions> Element (Office Development in Visual Studio)

The postActions element of the vstav3 namespace contains all the postAction elements that describe post-deployment actions, which run after Office solutions are installed.

<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>

See Also

Reference

Application Manifests for Office Solutions

Deployment Manifests for Office Solutions

ClickOnce Application Manifest