Install Visual Studio custom workflows

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.

 

When a custom workflow is created by using Microsoft Visual Studio 2005, it is packaged as a Windows SharePoint Services 3.0—Feature. To install a custom workflow, you must use the same methods that you use to deploy other Features. Feature packaging is a way of encapsulating Windows SharePoint Services 3.0 solutions and functionality for ease of deployment.

You install Features in the 12\Template\Features directory, with each Feature in its own subdirectory. At the root of this folder, a Feature.xml file defines the contents of the Feature.

Installing a Visual Studio workflow

Use this procedure to install a custom workflow created by using Visual Studio 2005.

Important

To run the Stsadm command-line tool, you must be a member of the Administrators group on the local computer.

Install a Visual Studio workflow by using the Stsadm command-line tool

  1. On the drive on which SharePoint Products and Technologies is installed, change to the following directory:

    %COMMONPROGRAMFILES%\Microsoft shared\Web server extensions\12\Bin.

  2. At a command prompt, type the following command, and then press ENTER:

    stsadm –o installfeature –filename <path of the Feature.xml file relative to the 12\TEMPLATE\FEATURES folder>

    For more information, see Installfeature: Stsadm operation (Office SharePoint Server).

See Also

Concepts

Activate workflows
Uninstallfeature: Stsadm operation (Office SharePoint Server)

Other Resources

Workflow Deployment Using Features
How to: Deploy a Workflow Template