Let Your Application Discovery Take Flight
In the Refresh Computer deployment scenario in MDT, the OSD Setup Wizard contains a preflight check. The Application Discovery preflight check which scans the target computer for existing applications. The Application Discovery preflight generates an XML file that the Operating System Deployment (OSD) Setup Wizard uses to help the user preselect which applications need to be reinstalled after the operating system image is deployed.
The mapping between the discovered application and the applications in the deployment is managed by the Mappings tab in the UDI Design Wizard.
The wizard can obtain a list of applications to check from by two methods. Either a file located in the Deployment Toolkit Files package used by the task sequence or the UDI web service. The wizard will produce four error codes which are listed below, these need entering into the preflight checks window.
- 0 – The preflight check completed
- 1 – The preflight check encountered one or more warnings
- 16777216 – A fatal error occurred during initialisation
- 33554432 – A fatal error occurred while processing the configuration
The application configuration files can include application items that are pre-selected in the UDI Wizard Designer. The XML file that the Application Discovery preflight check generates causes any additional application items to be installed in the following order:
- Applications selected in the UDI Wizard Designer are installed first
- Any addition applications in the XML file that the Application Discovery preflight check generates are installed next
In the event that an application is selected in the UDI Wizard Designer but is excluded as part of the Application Discovery preflight check, the application is deselected, and the Application Discovery preflight check records this change in the log file.
This same behavior is also true for any application dependencies for the application selected in the UDI Wizard Designer. Any dependencies that are excluded as a part of the Application Discovery preflight check are not installed.
The application discovery is a great way of getting users up and running again quickly when you are in the refresh scenario.