-
|
Hi "%systemroot%\sysnative\WindowsPowerShell\v1.0\powershell.exe" -noprofile -executionpolicy bypass -file "C:\Program Files\Winget-AutoUpdate\Winget-Install.ps1" -AppIDs "Microsoft.PurviewInformationProtection --scope machine --override "-sfx_nu /sAll /rs /msi EULA_ACCEPT=YES DISABLEDESKTOPSHORTCUT=1"" when the device got the app it failed. am i suposed to deploy it differently? Thank you for your help |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
hi, i figured it out. the issue was, that i needed to remove the last part of the command. "%systemroot%\sysnative\WindowsPowerShell\v1.0\powershell.exe" -noprofile -executionpolicy bypass -file "C:\Program Files\Winget-AutoUpdate\Winget-Install.ps1" -AppIDs "Microsoft.PurviewInformationProtection" What is the usecase of the lastpart? |
Beta Was this translation helpful? Give feedback.
--override \"-sfx_nu /sAll /rs /msi EULA_ACCEPT=YES DISABLEDESKTOPSHORTCUT=1\""note the escaping - is not a part of the installation of Microsoft.PurviewInformationProtection.That example from the documentation is about
Adobe.Acrobat.Reader.64-bit- you must find out the parameters yourself for every application looking in their manifests...