SDK: How to create an application deployment type with a dependency on another application’s deployment type

Update: I was incorrect in my original statements around dependency and supersedence having equivalent code. I’ll post a future example covering supersedence. This post expands on the original sample program to demonstrate how you would add a dependency or supersedence relationship with another application. The sample here has a notable difference from the “real world”…

7

SDK: How to create an Application with a requirement rule pointing to a global condition

In a previous post, I demonstrated how to create an application with an enhanced detection rule (EHD). Creating an application with a requirements rule is a bit more complicated. In this post I will provide a sample on how to do this using one of the “out of the box” global conditions that’s provided with…

1

SDK: How to add an enhanced detection method into an application deployment type

Update #1: I have attached the sample as a .cs file to make it easier to consume In my previous post I provided a simple sample on how to create an application with a very basic detection method. If you want to perform more advanced detection, you can leverage the desired configuration management (DCM) SDK…

8

SDK: How to create a basic application and add a deployment type

Update #1: For information on enhanced detection methods, see this post. Update #2: To avoid an exception being thrown in the administrator console, add the following code after line 12: application.DisplayInfo.DefaultLanguage = displayInfo.Language; (this has been fixed in ConfigMgr 2012 SP1) Update #3: I have updated the sample as an attachment to this blog post…

7