<postAction> Element (Office Development in Visual Studio)

 

The postAction element of the vstav3 namespace contains the entrypoint elements and all postActionData elements that are associated with post-deployment actions, which run after Office solutions are installed.

<postAction>
  <entryPoint>
  </entryPoint>
  <postActionData>
  </postActionData>
</postAction>

The postAction element is optional and it is in the vstav3 namespace. There is one postAction element defined in an application manifest for each post-deployment action.

The postAction element has no attributes.

postAction has the following elements.

entryPoint

Optional. The role of the entryPoint element in the vstav3 namespace is defined in <entryPoints> Element (Office Development in Visual Studio).

postActionData

Optional. The role of the postActionData element in the vstav3 namespace is defined in <postActionData> Element (Office Development in Visual Studio).

Description

The following code example illustrates the postAction element in an application manifest for an Office solution that is deployed by using ClickOnce. This code example is part of a larger example provided in Application Manifests for Office Solutions.

Code

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

Application Manifests for Office Solutions
Deployment Manifests for Office Solutions
ClickOnce Application Manifest

Show: