# Manage Installation Logging

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

## Overview

The **Manage Installation Logging** option enables *additional* client side logging during product installation to assist with troubleshooting failures or unexpected behavior.

When enabled, the Publisher configures the installer to generate a Patch My PC installation log and, when supported, the vendor’s native installation log. These logs are created during product installation on the client device and can be collected for diagnostic purposes.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FIU05i4u47m4bMHWUwete%2Fimage.png?alt=media&#x26;token=a8d42b3e-0c14-4856-9438-b54d9de1b7bf" alt="Manage Installation Logging" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
**Note**

Some vendor installers can generate their own installation logs, most commonly MSI based installers. The **Manage Installation Logging** option facilitates Patch My PC ScriptRunner, which manages the installation, to pass the appropriate logging parameters to the installer so that additional vendor specific logs are created. These logs are useful for client side troubleshooting when an installation fails.

This option only affects vendor logging behavior. The Patch My PC ScriptRunner logs are created regardless of whether this option is enabled.

More information on log files and locations can be found <https://docs.patchmypc.com/get-help/log-reference-guide>.
{% endhint %}

The Manage Installation Logging window provides the following settings.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FBnn4xOUD5lANEjz6Pc30%2Fimage.png?alt=media&#x26;token=128dae01-8b60-402e-85ad-54dbb65415a5" alt="Logging Options" width="450"><figcaption></figcaption></figure>

## **Folder path**

Specifies the location where client side installation logs are written. The default log location depends on the product installation scenario:

* Products installed from **ConfigMgr and WSUS** store logs in `C:\Windows\CCM\Logs\PatchMyPCInstallLogs`
* Products installed from **Intune** store logs in `%ProgramData%\PatchMyPCInstallLogs`

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

User-based installations write logs to folders within the user profile. More information on log files and locations can be found [https://docs.patchmypc.com/get-help/log-reference-guide](https://docs.patchmypc.com/get-help/log-reference-guidehttps://docs.patchmypc.com/get-help/log-reference-guide).
{% endhint %}

## **Enable verbose logging for MSI installation**

Enables verbose logging for MSI based installers that support this mode to capture additional detail.

## **Prefix the log with the computer name**

Adds the device name to the beginning of the log file name to simplify identification when collecting logs from multiple devices.

## **In case of installation failure, copy the log file to this secondary folder**

Creates a second copy of the installation log when the product fails to install and writes it to the specified path. The device must be able to access this location at install time and have permission to write to it. If the path is an SMB share, the installation context must have write access.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.patchmypc.com/patch-my-pc-publisher/customizations-right-click-options/manage-installation-logging.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
