# Migrate EXE-based Applications from ConfigMgr to Intune using Patch My PC Cloud App Migration

*Applies to: Patch My PC Cloud*

When applications are inventoried from Microsoft Configuration Manager (ConfigMgr), Patch My PC (PMPC) Cloud analyzes the application metadata to determine how the application is installed and how it should be migrated. As part of this process, the installation command line is evaluated, and the primary installer file is identified from the application’s content source folder.

## Identifying an EXE-based App

ConfigMgr does not explicitly label an application as EXE-based. In most cases, the easiest way to confirm an application is EXE-based is to select the application from the Migration dashboard and review the **Installation Program** field.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FXXkYzlmlcpa7DlsgM9xp%2Fimage.png?alt=media&#x26;token=5c10a709-d3e8-4685-bb54-29d48c0268f9" alt="EXE-based app identified from the installation program" width="563"><figcaption></figcaption></figure>

If the **Installation Program** references an **.exe** file, the application can be considered EXE-based.&#x20;

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

When evaluating EXE-based applications, references to helper executables such as **msiexec.exe**, **powershell.exe**, and the PowerShell App Deployment Toolkit (PSADT) are not classified as EXE-based installers; instead, they are treated as [MSI-based](https://docs.patchmypc.com/patch-my-pc-cloud/migration/how-different-apps-migrated/migrate-msi-apps), [Script-based](https://docs.patchmypc.com/patch-my-pc-cloud/migration/how-different-apps-migrated/migrate-script-apps), or [PSADT-based](https://docs.patchmypc.com/patch-my-pc-cloud/migration/how-different-apps-migrated/migrate-psadt-based-apps).
{% endhint %}

During the migration deployment flow, the **Installer Type** field also indicates when an application is being treated as EXE-based.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FVHrNju8vVYXxwMTDcqs6%2Fimage.png?alt=media&#x26;token=cace7ec7-2d70-4d41-9727-c8b76ce302c2" alt="EXE-based app shown in the deployment flow" width="563"><figcaption></figcaption></figure>

If the application is identified as EXE-based, as much of the existing metadata as possible is captured to support migration. This includes analyzing the install command line, the main installer file, and any supporting content to ensure the application behaves the same way after migration to Intune.&#x20;

## Migration Behavior of EXE-based Apps

The information analyzed is used to determine how the application is migrated and how the installation is executed. Any custom command-line arguments defined in ConfigMgr are preserved, and all supporting files in the original content source folder are included in the migration.

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

The only exception is the primary installer itself. When an application is migrated as a PMPC Catalog App, the original installer and version are replaced with the latest version available in the PMPC catalog. When migrating as a PMPC Custom App, the original installer and version are retained and used.
{% endhint %}

When the application is migrated, **PatchMyPC-ScriptRunner.exe** becomes the new primary installer and invokes the original EXE with the existing command-line arguments. This approach preserves the original installation behavior whilst allowing the deployment to leverage additional PMPC customizations that would not be available with a "lift and shift" migration.

In the following, an older version of Notepad++ has been matched to a PMPC Catalog App. The original ConfigMgr application included an additional command-line argument, **/noupdater**, which has been preserved and carried through into the migration flow to ensure the application is deployed with the same installation behavior.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2Fv8gsuFBXbQj0hMXyb4vO%2Fimage.png?alt=media&#x26;token=459b5521-77dc-4723-89f4-4d39fd704e1b" alt=""><figcaption></figcaption></figure>

## Preserved Properties of EXE-based Apps

This section details the properties that are carried forward from the ConfigMgr application to the migration deployment flow when the application is either matched to:

* [PMPC Catalog App](#pmpc-catalog-app-properties-preserved)
* [PMPC Custom App](#pmpc-custom-app-properties-preserved)

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

See [How Migration Type is Determined](https://docs.patchmypc.com/patch-my-pc-cloud/migration/how-migration-type-determined) to understand how ConfigMgr applications are matched during migration.
{% endhint %}

### PMPC Catalog App Properties Preserved

* Source Files (the main EXE-based installer will be replaced with the current version of the matched application in the Patch My PC catalog)
* DisplayName
* Additional Arguments
* Return Codes
* Vendor
* Description
* Information URL
* Privacy URL

### PMPC Custom App Properties Preserved

* Source Files
* DisplayName
* Vendor
* Description
* Version
* Silent Install Parameters
* Installer Type
* Additional Arguments
* Return Codes
* Information URL
* Privacy URL
* Detection Rules


---

# 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-cloud/migration/how-different-apps-migrated/migrate-exe-apps.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.
