Override Argument #20
-
I cant seem to get it to work, am I doing something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 12 replies
-
This is due to your quote. Try to escape |
Beta Was this translation helpful? Give feedback.
-
@KnifMelti nice example here to troubleshoot |
Beta Was this translation helpful? Give feedback.
-
@sschmocker did our answers help you anything? @Romanitho the $AppArgs should be removed from winget-install.ps1 when uninstalling (but maybe --override gets implemented in the future?). And, as a security measure: |
Beta Was this translation helpful? Give feedback.
@sschmocker did our answers help you anything?
Release 1.4.1 has the Start-Process/Get-Process implementation and Citrix Workspace can be installed with:
powershell.exe -Executionpolicy Bypass -File winget-install.ps1 -AppIDs "Citrix.Workspace --override \"/silent /noreboot /includeSSON /forceinstall\""
@Romanitho the $AppArgs should be removed from winget-install.ps1 when uninstalling (but maybe --override gets implemented in the future?).
And, as a security measure:
If you're running this in system context, you should start powershell/winget-install.ps1 with -Windowstyle hidden!
Otherwise the user can run a browser via the powershell window properties (Microsoft provides the links...) a…