> For the complete documentation index, see [llms.txt](https://docs.patchmypc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patchmypc.com/patch-my-pc-publisher/customizations/list-customizations/set-install-behavior.md).

# Set Install Behavior option in Patch My PC Publisher

*Applies to: Patch My PC Publisher V3.x*\
*Available at level: All Custom Products, All Products, Vendor, Product*\
*Available on tab: ConfigMgr Apps*

The **Set Install Behavior** right-click option in Patch My PC (PMPC) Publisher lets Publisher define which running processes must close for a ConfigMgr application installation to succeed.

These executables are applied to the deployment type’s **Install Behavior** settings and control how ConfigMgr responds when an application is in use during an install.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2F5BKN1isOPsCKLbGFkOCF%2Fimage.png?alt=media&amp;token=402e8a03-2189-4c49-b76f-cb8151ce00fb" alt="&#x27;Install Behavior&#x27; tab in the application’s deployment type properties" width="476"><figcaption></figcaption></figure>

{% hint style="danger" %}
**Important**

We strongly recommend using the [Manage Conflicting Processes](https://docs.patchmypc.com/patch-my-pc-publisher/customizations/list-customizations/manage-conflicting-processes.md) right-click option to notify users about running applications. This option provides more configuration flexibility and control, helping deliver a smoother, more predictable user experience during application installations and updates.
{% endhint %}

## Deployment Behavior

The behavior of the deployment depends on whether it is an [Available](#available-deployments) or [Required](#required-deployments) deployment.

### Available Deployments

If any of the specified executables are running when the user initiates the installation from Software Center, the installation will fail.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2F6oCpwGuBgLWjt2y5pREQ%2Fimage.png?alt=media&amp;token=bdc8fe7a-8189-4c48-84ff-83b263d3fe33" alt="Available Deployments" width="563"><figcaption></figcaption></figure>

The user is notified and must close the application before retrying the install.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FplZ0mTl7zjyQc3Jx7jSe%2Fimage.png?alt=media&amp;token=9fecd6a4-be1b-4800-9f69-8d9eb87060b8" alt="Install Behavior User Notification from the Software Center" width="473"><figcaption></figcaption></figure>

### Required Deployments

If the executable remains running, the required installation will fail. If an installation fails because an executable is running, you can review the failure reason in **CIAgent.log** on the client device.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FJwJuddtCNoqvPxh3i125%2Fimage.png?alt=media&amp;token=b31e8460-ca0f-4cfb-8356-569d17c7bed0" alt="&#x27;CIAgent.log&#x27; on the client device" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.patchmypc.com/patch-my-pc-publisher/customizations/list-customizations/set-install-behavior.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
