omaha-consulting / winstall

A web app for browsing and installing Windows Package Manager apps.
https://winstall.app
GNU General Public License v3.0
1.15k stars 60 forks source link

Install multiple packages within a single winget install command #167

Open jo-chemla opened 5 months ago

jo-chemla commented 5 months ago

Winget supports installing multiple packages within a single command since early 2023 - see here. At the moment, this can be done by batches of 10 packages within a single command - see limitation thread

It could be nice for winstall to output a single command per batches of 10 packages to install

doskey winget-multi-install=winget install --disable-interactivity --accept-source-agreements --accept-package-agreements $*

winget-multi-install 7zip.7zip Mozilla.Firefox VideoLAN.VLC OBSProject.OBSStudio Microsoft.VisualStudioCode Microsoft.WindowsTerminal TheDocumentFoundation.LibreOffice SomePythonThings.WingetUIStore GitHub.GitHubDesktop BlenderFoundation.Blender # Gyan.FFmpeg ffmpeg is the 11th pkg
mherrmann commented 5 months ago

Thank you for the suggestion. I'll be happy to merge a PR that implements this.

jo-chemla commented 5 months ago

Just made a quick PR, given where I think this code-block should take place - feel free to move it if needed. The UI element could be placed at a better location (radio). The 10 pkgs limitation is actually not real, I just tested with 20 packages and it did work.

jo-chemla commented 3 months ago

Hi there, just a quick ping inquiring for the status of this PR which can be merged from my point-of-view! 🚀