The application management extension must be installed on each Configuration Manager administrator console computer that will create a custom deployment technology. The first step in installing the application management extension files is to create a deployment type extension file (*.cmdtx).
To Create the ConfigMgr Deployment Type Extension File (*.cmdtx)
-
Create an empty directory to stage the contents.
-
Create and copy the following files previously created into the empty directory:
- DeploymentTechnology.xml
Required. A digest of the Deployment Technology
- HostingTechnology.xml
Required. A digest of the Hosting Technology
- InstallerTechnology.xml
Required. A digest of the Installer Technology
- The custom SDK Assembly
(Microsoft.ConfigurationManagement.ApplicationManagement.{AssemblySuffix}.dll)
Required. Contains interface implementation of both the Hosting Technology and Installer Technology Note: the AssemblySuffix should correspond to whatever is specified for AssemblySuffix attribute in the DeploymentTechnology.xml file.
- HostingApplication.zip
Optional. Importable application that represents the Hosting Application, which includes content (if any). This should be created using the Export feature on the Applications node, in the Admin Console.
- HandlerApplication.zip
Optional. Importable application that represents the Handler Application for the client, which includes content (if any). This should be created using the Export feature on the Applications node, in the Admin Console.
- DeploymentTechnology.xml
-
Use the method DeploymentTypeExtender.CreateExtension, which is located in Microsoft.ConfigurationManagement.ApplicationManagement namespace, to create the Deployment Type Extension (*.cmdtx) file based on the content in the staging directory.
Copy Code // Summarizes progress from CreateExtension method to a log file or the console. // <param name="summaryText">Summary text to be presented</param> public void Summarize(string summaryText) { System.Console.WriteLine(summaryText); return; } // Creates a new Deployment Type Extension using the specified source path // <param name="sourcePath">Source path used to create the Deployment Type Extension</param> // <param name="deploymentTypeExtensionFilePath">Resulting Deployment Type Extension file</param> private void CreateDeploymentTypeExtensionFile(string sourcePath, string deploymentTypeExtensionFilePath) { DeploymentTypeExtender.CreateExtension(sourcePath, deploymentTypeExtensionFilePath, this.Summarize); return; }
Namespaces
Microsoft.ConfigurationManagement.ApplicationManagement
Microsoft.ConfigurationManagement.ApplicationManagement.Serialization
Assemblies
Microsoft.ConfigurationManagement.ApplicationManagement.dll
Microsoft.ConfigurationManagement.ApplicationManagement.Extender.dll