Put Winget in Sandbox by Default #56530
Unanswered
Trenly
asked this question in
Show and tell
Replies: 1 comment
-
Can I uptove this by a 1000% ? Sandbox is a wonderful tool to validate install packages such as winget, intune, psadt etc. It should be coded with that mind or at least give us an option in the UI to enable winget support. Please! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This powershell script modifies the Base Image, or the Virtual Hard Disk, which the Windows Sandbox launches upon startup. It will copy the required files to the sandbox and add a registry key which will install them upon startup. By default the script will install the latest stable release of Winget. You can specify to use the latest pre-release with the -PreRelease switch.
When a new version of Winget is released, run this script again to update the installation in the sandbox to the latest version.
https://gist.github.com/Trenly/3e8ba9a9498c6cc12a9bb25e4179a98c
Beta Was this translation helpful? Give feedback.
All reactions