Skip to content

Override Argument #20

Answered by KnifMelti
sschmocker asked this question in Q&A
Apr 12, 2022 · 4 comments · 12 replies
Discussion options

You must be logged in to vote

@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…

Replies: 4 comments 12 replies

Comment options

You must be logged in to vote
2 replies
@sschmocker
Comment options

@Romanitho
Comment options

Comment options

You must be logged in to vote
7 replies
@KnifMelti
Comment options

@KnifMelti
Comment options

@Romanitho
Comment options

@KnifMelti
Comment options

@Romanitho
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Romanitho
Comment options

@Romanitho
Comment options

@KnifMelti
Comment options

Answer selected by sschmocker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants