Install a baseline with winget
Each published revision has a winget import file. People can install the revision themselves with plain winget against your source. No agent is needed.
Before you begin
Section titled “Before you begin”- The device has your source added. See Connect devices with winget.
- Machine-scope packages need an administrator.
- Open the baseline and the published revision.
- Under Install with winget, download the file. It is named
<short-name>-r<n>.winget.json. - In the file, replace the
<source-key>placeholder with your source key. - In the folder where you saved the file, run the command shown:
winget import --import-file "data-engineering-r2.winget.json" --accept-package-agreements --accept-source-agreementsResult
Section titled “Result”winget installs each package at the version the revision fixed, in order. The agent, if installed, reports them at the next inventory.
Troubleshooting
Section titled “Troubleshooting”| Problem | Fix |
|---|---|
| UAC prompts during the import | A package installs machine-wide. Run as an administrator. |
| A source error in the file | The <source-key> placeholder wasn’t replaced. |