Example: Prompting to close an Application
An example of the Advanced Application Deployment
Last updated
An example of the Advanced Application Deployment
Last updated
In this example, we will deploy Visual Studio Code using the Advanced Application Deployment to ensure that the end user is prompted to close Visual Studio Code before updating.
Enable Advanced App Deployment
Change the Install Method to "Allow Defer Close Apps". This will only prompt the user if specified applications are actually open. If the application is closed the update will proceed. This helps to reduce unnecessary prompts to the user. Leave the Defer Count at the default of 3.
Change the Close Applications dropdown to Yes. This will show a new input called "Apps to Close". Here we need to enter the name of the process for Visual Studio Code, this can be done by checking the process name in Task Manager.
After checking the task manager, we can confirm that we need to use "code" as the process name. Do not include the .exe in the name.
Deploy the application to Intune.
Install Flow
To simulate the update process, we have installed the previous version of Visual Studio Code (1.87.0) and opened the application.
After a short time the Intune deployment started and we were prompted with a Toast Notification to close Visual Studio Code to begin the install. We selected to close the application, this automatically closed VS code and started the update.
Intune then confirm that the application was installed successfully.