### Sample Installer Parameters Source: https://docs.patchmypc.com/patch-my-pc-publisher/customizations-right-click-options/modify-command-line Example parameters that can be appended to the default silent command line. ```text PID=12345-54321 /LANG=EN-US INSTALLDIR="%ProgramFiles%\MyApp" ``` -------------------------------- ### Install IIS via PowerShell Source: https://docs.patchmypc.com/patch-my-pc-insights/advanced-and-patch-insights-requirements-and-prerequisites/insights-software-requirements Use this command to install Internet Information Services and management tools on a Windows Server if not handled by the installer. ```powershell Install-WindowsFeature -name Web-Server -IncludeManagementTools ``` -------------------------------- ### Example Path with Square Brackets Source: https://docs.patchmypc.com/patch-my-pc-publisher-2/publisher-release-notes/publisher-preview-releases Example of a file path containing square brackets that previously caused issues in the publisher. ```text \\server\sources\[PMPC]Applications ``` -------------------------------- ### Install and Verify WSUS API Components Source: https://docs.patchmypc.com/patch-my-pc-publisher/publisher-requirements/intune-requirements/software Use these commands in an elevated PowerShell window to install the necessary WSUS API features and verify their installation status on Windows Server. ```powershell Install-WindowsFeature UpdateServices-API ``` ```powershell Get-WindowsFeature UpdateServices-API ``` -------------------------------- ### Configure Custom Intune App Naming Pattern Source: https://docs.patchmypc.com/patch-my-pc-publisher/customizations-right-click-options/manage-naming-convention Example of a custom naming pattern using the %OriginalName% token to prefix application names. ```text [App] - %OriginalName% ``` ```text [App] - Google Chrome 142.0.7444.176 (x64) ``` -------------------------------- ### Verify WSUS RSAT Tools Installation Source: https://docs.patchmypc.com/patch-my-pc-publisher/publisher-requirements/intune-requirements/software Checks the current state of the WSUS RSAT capability to confirm successful installation. ```powershell Get-WindowsCapability -Online -Name Rsat.WSUS.Tools~~~~0.0.1.0 ``` -------------------------------- ### Configure ScriptRunner %CurrentDir% Variable Source: https://docs.patchmypc.com/patch-my-pc-publisher-2/publisher-release-notes/publisher-preview-releases Use these syntax examples when defining parameters for ScriptRunner to correctly handle the current directory variable. ```text Config="%CurrentDir%\Config.ini" ``` ```text “Config=%CurrentDir%\Config.ini” ```