Open ArcasCZ opened 1 year ago
The GUID changes depending on the installed language. I was also not able to determin the GUID from the MSI file.
For me the fix was to use --install-args="'ProductLanguage=1033'"
, so the package install well, but that also removes the possibility of localised installation.
Microsoft recently did a breaking change to Remote Desktop app - currently the name is localised. Therefor
Get-UninstallRegistryKey
with SoftwareName parameter$packageArgs.SoftwareName
(which isRemote Desktop
) will not work on other than English OS.For me (Czech localisation) the app is called
Vzdálená plocha
, so theGet-UninstallRegistryKey
returns nothing.There is more reliable and stable way to get the app install folder and that is to se MSI GUID, which does not change between versions and is unique (however it's different for x64 and x86 installer).