The new application model in CM12 introduces the strategy of allowing clients to determine if they should run an application instead of carving out a specific collection for the distribution. Instead of waiting for inventory and collection of refresh cycles on the server, deployments of smart applications are evaluated in real time by each client.
We will create an application that will run cmd.exe /C
if a machine has at least 4 GB of RAM on board. cmd.exe /C
is a simple command used for testing software deployments. The command launches a command prompt window for an instant, and then exits. We will make use of global conditions and rules to make an application that is far smarter than the old style packages in CM07 ever were.