-
I want to try to build and run WinGet CLI as a stand-alone application, as I want to use it via Ansible and currently I'm having issues with I downloaded the repo and built for x64. I see an Edit: I wasn't aware of the discussions tab! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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 |
Beta Was this translation helpful? Give feedback.
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…