microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.27k stars 1.45k forks source link

Sandboxed + Non Sandboxed apps. #386

Closed Pinox closed 8 months ago

Pinox commented 4 years ago

please change Windows 10 + package manager so that when we install the app from winget we have an option to sandbox the app or run it natively. that will give the end user total confidence and will unify the whole ecosystem of sandboxed + non-sandboxed apps.

It would be the same as you currently run any app on windows 10 with option to "run as admin" or as "normal user"

upintheairsheep commented 1 year ago

I agree, to have a system to have sandboxed app containers, preferably one for the program data, one for the data files.

denelon commented 12 months ago

@Pinox we've added support for "--scope" to be either "user" or "machine". Not all installers honor both scopes, but we've also added an elevation requirement to the schema as well so packages like Spotify and Postman will inform you when you try to install via administrator that they aren't supported, and other packages that require elevation will do the same. If the installer requires elevation, but it does so itself, you will also be informed that a UAC (User Account Control) prompt is required.

Does that address your ask here, or is there still something else you're looking for?

denelon commented 8 months ago

It's possible with WinGet Configuration to automate the creation of the Windows Sandbox and run a script to install packages in the Sandbox. There is a sample configuration over at https://aka.ms/dsc.yaml.

Stuntman58 commented 8 months ago

Can you tell me how to stop these Github emails

Sent from my Galaxy

-------- Original message -------- From: Demitrius Nelon @.> Date: 2024-03-06 11:45 a.m. (GMT-05:00) To: microsoft/winget-cli @.> Cc: Subscribed @.***> Subject: Re: [microsoft/winget-cli] Sandboxed + Non Sandboxed apps. (#386)

Closed #386https://github.com/microsoft/winget-cli/issues/386 as completed.

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/winget-cli/issues/386#event-12030647965, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AURWANB6C76Q76NNFTOIHKDYW5BZVAVCNFSM4NRANXQ2U5DIOJSWCZC7NNSXTWQAEJEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW4OZRGIYDGMBWGQ3TSNRV. You are receiving this because you are subscribed to this thread.Message ID: @.***>