Custom Apps "Configuration" tab
Applies to: Patch My PC Cloud Custom Apps
The Configuration tab is where you configure various properties for the Custom App.
Install Context
The Install Context setting (if available) configures the context in which the app is installed, either System or User.

Architecture
The Architecture setting (if available) configures the app's architecture.

Version
In the Version field, enter the version number for this app.
Important
The format used in the Version field needs to match a .NET System.Version. See Version Format Requirements for Custom Apps for more information.

Language
In the Language field, either type the language for this app or select it from the dropdown list.

Installed Apps Name
In the Installed Apps Name field, type the name of the app as it appears in Add or remove programs.

Important
As the Apps & Features Name is used to determine applicability and detection, using an overly generic name may cause Intune Updates to be detected as required on devices without the software installed.
Conflicting processes
In the Conflicting processes field, type a comma-separated list of executables that may interfere with the installation of this app. This field populates the list for the Manage Conflicting Processes right-click feature.

Silent Install Parameters
In the Silent Install Parameters field, enter the command-line arguments (up to a maximum of 2,048 characters) used to install the app silently (i.e. the user is not aware of the installation occurring).

MSI Product Code
In the MSI Product Code field, enter the MSI product code for this app, which is used for detection.

Uninstall Command
There are two options for customizing the uninstall command:
Auto Discovered
During uninstall, PatchMyPC-Scriptrunner scans the Uninstall registry key and looks for a subkey that matches the application name.
Once found, it uses the
QuietUninstallStringcommand from that subkey to perform the uninstall. If this String Value doesn't exist, then the information fromUninstallStringwill be used.If no match is found, the process will exit with return code 65535 (see
PatchMyPC-ScriptRunner.logfor details).
If you specify Additional Silent Uninstall Parameters, these will be appended to the UninstallString - not to the main installation file.
Use Custom
When selected, you can import or enter an uninstall script in the script editor.

Requirements
The Requirements section allows you to configure custom optional requirements (including requirement rules) that must be met for the app to be deployed to the target audience.
This includes:

Standard Requirements
Minimum operating system
From the Minimum operating system dropdown, select the minimum operating system required by this app.
Tip
We recommend leaving the Minimum operating system dropdown at its default unless you need to configure a specific value. If an app/deployment is configured for a specific Windows version, when Microsoft retires that version, you will no longer be able to deploy the app unless you update this field to a supported Windows version.
Min RAM memory (MB)
Configure the minimum amount of RAM required to run this app.
Minimum CPU speed (MHz)
Configure the minimum CPU speed required to run this app.
Minimum number of logical processors
Configure the minimum number of logical processors required to run this app.
OS Architecture Requirements
The OS Architecture Requirements section lets you specify which operating system (OS) architectures the app can be deployed to.
By default, the relevant checkbox is checked based on the value configured in the Architecture field.
Configure the relevant settings as required.
Additional Requirements Rules
Using the Additional Requirements Rule section, you can create up to 10 optional requirement rules based on the following:
File
Registry
Script
To configure an Additional Requirement Rule:
Click Add in the Additional Requirements Rules section.

On the Add Requirement Rule screen, select the relevant type of rule from the Rule Type dropdown, then configure the required options as required.

File
Path – The path to the folder you are checking for.
File or Folder – The folder containing the file you are checking for.
Property – Various options, such as whether the item exists or does not, the date it was created, modified, etc.
Registry
Key Path – The path to the Registry key.
Value name (optional) – The name of a value contained within the specified Key Path that you want to check for.
Registry key requirement – Various options, such as whether the key exists or does not, comparisons, etc.
Script
Script Name – The name of the script, which you can leave blank if you want to use the name of the script you are going to import.
Import Script – Allows you to browse to an existing PowerShell script to import.
NOTE If the script is unsigned, you will see the Script was detected as unsigned warning.
Script – Shows the script’s content.
NOTE You cannot modify the script in the Script window.
Select output data type - Various options, such as type, version, etc.
Configure the following additional options based on the type of rule you are creating.
File or Registry
Associated with a 32-bit app on 64-bit clients – If enabled, allows the rule to expand any path environment variables in the 32-bit context on 64-bit endpoints.
Script
Run script as 32-bit process on 64-bit clients – If enabled, allows the script to be run in a 32-bit process on 64-bit clients. If disabled, the script runs in a 64-bit process on 64-bit clients and in a 32-bit process on 32-bit clients.
Run this script using the logged on credentials - Run the script using the credentials signed in to the device.
Enforce signature check – If enabled, verifies that the script is signed by a trusted publisher, allowing the script to run without warnings or prompts. The script will run unblocked. If disabled, will require the end user to confirm they are happy for the script to run, but without signature verification.
NOTE If the script imported is unsigned, you will be unable to enable this option.
Click Add Rule to add the requirement rule.

The rule is added to the list of requirement rules.

Repeat the steps in this section to add any additional requirement rules.
Return Codes
A Return Code (also referred to as an exit code), is a numeric value a program, process or function passes back to the calling entity (such as the operating system or another program) to indicate the outcome of the operation.
If you do not want to modify the Return Codes for this app, go to Next Steps.
Add A New Return Code
If you do not want to add a new Return Code, proceed to Edit a Return Code.

To add a new Return Code for this Custom App, enter the numerical value in the Return Code field, select its meaning from the Code type dropdown, then click Add.
The new Return Code is added to the list.

Edit a Return Code
If you do not want to edit a Return Code, go to Delete a Return Code.

To edit a Return Code, click the pencil icon beside it, then choose the correct Code type for this Return Code from the dropdown list.

Next, click the green tick to save your changes.

The Code type field is updated.

Delete a Return Code
If you do not want to delete a Return Code, go to Next Steps.

To delete a Return Code, click the red trash can beside the relevant code.
The code is deleted from the list.

App Info
The App Info section enables you to define default values for items that will be included in the app’s metadata when it is packaged to Intune. Any values set for the following items will appear in the app’s properties when viewed in the Intune admin center:
Owner – The name of the owner of this app.
Intune Notes – Notes about the app that we send to Intune when we create a deployment.
Information URL - Link to a website or documentation that has more information about the app.
Privacy URL - A link for people who want to learn more about the app's privacy settings and terms
Developer – The name/contact details of the developer as this is a plain text field.

Next Steps
If you want to configure Native Detection Rules for this app, click Next to go to the Detection Rules tab. If you do not want to configure Native Detection Rules, click Next twice to go to the Summary tab.
Last updated
Was this helpful?