Scripting Provider

Executes scripts for provisioning requests. Used by Microsoft® Provisioning Framework (MPF).

Provisioning processes frequently require execution of custom scripts. For example, a process may require execution of a script that parses output from one provider and passes the extracted text to another provider.

In addition to executing individual scripts, Scripting Provider can aggregate actions of providers or scripts or for prototyping when developing custom providers.

The provider has two execute procedures for scripting processes with and without rollback. In each, the actual script can be referenced from a file or embedded as inline XML (using a CDATA node to isolate characters such as "<" and ">" that have a different meaning in XML). The latter approach is much like a script block in an HTML page.


Program Files\Microsoft Provisioning\Providers\MPFScriptProv.dll


Name Scripting Provider
Version 1
Provider Source Provisioning.ScriptProvider.1


Procedure Description
ExecuteScript Executes a script that does not require rollback.
ExecuteScriptWithRollback Executes a script that requires rollback.


The following table lists the errors returned by this provider.

HRESULT Description
0xC210189DL Failed to execute the script provided. Script Language='%1'. %2.
0xC210189EL Failed to execute the rollback script provided. Script Language='%1'. %2.


Scripting Provider must be installed on a computer that hosts a provisioning engine.

The provider supports only VBScript, Microsoft® JScript®, and other OLE engines built into the Microsoft® Windows® operating system.  Microsoft® Windows® Script version 5.6 or greater is recommended. Microsoft® Windows® Script 5.6 contains Visual Basic® Script Edition (VBScript.) Version 5.6, JScript® Version 5.6, Windows Script Components, Windows Script Host 5.6, and Windows Script Runtime Version 5.6. For more information, see MSDN®.

See Also

Standard Providers and Namespaces

Up Top of Page
© 1999-2002 Microsoft Corporation. All rights reserved.