Closed the-project-group closed 1 year ago
Oh no - this affects all generated detect (and probably also the install?) scripts for all packages we have deployed :)
Just checked ressources\template\winget files and yes, they need an update, right? Best regards, Flo.
Fixed it in pull request #19
Then I just noticed that also the path to powershell is different on arm64.
x64: C:\WINDOWS**sysnative**\WindowsPowerShell\v1.0\powershell.exe
sysnative doesn't exists on arm64.
https://oofhours.com/2020/02/04/powershell-on-windows-10-arm64/
I also noticed that the powerShell scripts are all UTF-8 BOM but MS recommends to set encoding to UTF-8. https://learn.microsoft.com/en-us/mem/intune/fundamentals/remediations#script-requirements
x64: C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_*_x64__8wekyb3d8bbwe\winget.exe
arm64: C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.20.2201.0_arm64__8wekyb3d8bbwe\winget.exe