Skip to content

Question: Build and run WinGet CLI as stand-alone application? #1150

Answered by JohnMcPMS
vikekh asked this question in Q&A
Discussion options

You must be logged in to vote

This isn't an officially supported path, but we have attempted to keep it possible.

The only files you should need are the .exe and the .pri file that lands next to it. However, you need some minimum Windows version for the Windows code to find the .pri file if it is just loose next to it (but I don't know what that version is).

If you have the VC runtime installed, this .exe (with .pri) should be able to run standalone just as the packaged winget would. It does use a different storage location for settings and files, and isn't as secure against certain kinds of attacks on the supply chain (since it doesn't deploy the index data, nor does it verify the integrity of the index data). So I w…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vikekh
Comment options

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

This discussion was converted from issue #1149 on June 10, 2021 19:52.