How to Use the Package Conversion Manager Plug-In
Updated: February 1, 2012
Applies To: System Center 2012 Configuration Manager
Use the information in this topic to help you configure and use the Package Conversion Manager plug-in.
The Package Conversion Manager plug-in enables you to customize the Package Conversion Manager analysis and conversion processes. To use the Package Conversion Manager plug-in, write an executable or script file that performs custom operations, and then edit the System Center 2012 Configuration Manager configuration file, Microsoft.ConfigurationManagement.exe.config, to call the executable or script. The most common languages used to write the script are VBScript or PowerShell.
The Package Conversion Manager plug-in is run once for each package. If you analyze or convert multiple packages at one time, the Package Conversion Manager plug-in will run multiple times.
Note
For a description of the Package Conversion Manager elements in the System Center 2012 Configuration Manager configuration file, see Technical Reference for the Package Conversion Manager Plug-in Configuration XML.
The Package Conversion Manager Process
This section describes the processes used by Package Conversion Manager both by default and when using the Package Conversion Manager plug-in to customize the process.
The Default Package Conversion Manager Process
The default Package Conversion Manager process is as follows:
Read a Configuration Manager package.
Create an application from the package and add default attributes.
Analyze the application and determine a package readiness status.
Take one of the following actions, depending on the Package Conversion Manager operation being performed:
If performing an Analyze operation, display the package readiness status in the Configuration Manager console.
If performing a Convert operation, write the application to the Configuration Manager database.
The PCM Process Using the Plug-in
The Package Conversion Manager process using the Package Conversion Manager plug-in is as follows:
Read a Configuration Manager package.
Create an application from the package and add default attributes.
Convert the application to XML and then save the file to disk.
Run the plug-in script to modify the application XML according to your program or script. For more information, see Technical Reference for the Package Conversion Manager Plug-in Configuration XML.
Convert the application XML into a System Center 2012 Configuration Manager application.
Analyze the application and determine a package readiness status.
Take one of the following actions, depending on the Package Conversion Manager operation being performed:
If performing an Analyze operation, display the package readiness status in the Configuration Manager console.
If performing a Convert operation, write the application to Configuration Manager database.