Custom deployment code can be imported into the Deployment Workbench and managed the same way as any other application.

To create a new application to run custom deployment code

1.   Copy the custom deployment code to the deployment_share\Scripts folder (where deployment_share is the fully qualified path to the deployment share).

2.   Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench.

3.   In the Deployment Workbench console tree, go to Deployment Shares/deployment_share/Applications (where deployment_share is the name of the deployment share to configure).

4.   In the Actions pane, click New Application.

The New Application Wizard starts.

5.   Complete the New Application Wizard using the information in Table 16; accept defaults unless otherwise specified.

Table 16. Information for Completing the New Application Wizard

On this wizard page

Do this

Application Type

Click Application without source files or elsewhere on the network, and then click Next.

Details

Complete this page based on the information from the application, and then click Next.

Command Details

1.   In the Command line box, type cscript.exe %SCRIPTROOT%\custom_code (where custom_code is the name of the custom code that has been developed).

2.   In the Working directory box, type working_directory (where working_directory is the name of the working directory of the custom code; this is typically the same folder specified in the Command line box).

3.   Click Next.

Summary

Verify that the configuration settings are correct, and then click Next.

Confirmation

Click Finish.

 

The application appears in the Applications node in the Deployment Workbench.

Related Topics

Integrating Custom Deployment Code