diff --git a/ee/maintained-apps/README.md b/ee/maintained-apps/README.md index 30441a3a75..9287dab628 100644 --- a/ee/maintained-apps/README.md +++ b/ee/maintained-apps/README.md @@ -52,8 +52,9 @@ 1. Find the Winget PackageIdentifier in the [winget-pkgs repo](https://github.com/microsoft/winget-pkgs). 2. Get the unique identifier that Fleet will use for matching the software with software inventory: - - On a test Windows host, install the app manually, then run the following PowerShell script: `Get-ItemProperty 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' | Where-Object {$_.DisplayName -like '**'} | Select-Object DisplayName, DisplayVersion, Publisher` - - Use the exact value from `DisplayName` as the `unique_identifier`. + - On a test Windows host, install the app manually, then run the following PowerShell script that correlates to the defined `installer_scope`: + - Machine scope: `Get-ItemProperty 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' -ErrorAction SilentlyContinue | Where-Object {$_.DisplayName -like '**'} | Select-Object DisplayName, DisplayVersion, Publisher` + - User scope: `Get-ItemProperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' -ErrorAction SilentlyContinue | Where-Object {$_.DisplayName -like '**'} | Select-Object DisplayName, DisplayVersion, Publisher` If the `unique_identifier` doesn't match the `DisplayName`, then Fleet will incorrectly create two software titles when the Fleet-maintained app is added and later installed. One title for the Fleet-maintained app and a separate title for the inventoried software.