Does this thread help? Detecting UWP apps
Q: unique values of (((select "/Package/Properties/DisplayName" of it as text) & " " & (node value of attribute "Version" of select "/Package/Identity" of it)) of xml documents of files "AppxManifest.xml" of folders whose (name of it contains "Outlook") of folder "C:\Program Files\WindowsApps")
A: Outlook for Windows 1.2023.1011.100
T: 93.282 ms
I: plural string with multiplicity