commit 2b9f2f349155c4e0ad151e2b0a1d1fa3eb9c0019 parent 33bc04e3d97bcfcffac252a45ab7486bbbf15758 Author: Ashwini Patil <47225815+ashpatil-msft@users.noreply.github.com> Date: Mon, 25 Oct 2021 12:41:44 -0700 Update doc with Machine-wide install information (#1642) * Update doc with machine-wide install * Update with login information * spell Diffstat:
| M | .github/actions/spelling/allow.txt | | | 1 | + |
| M | doc/troubleshooting/README.md | | | 8 | ++++++++ |
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/.github/actions/spelling/allow.txt b/.github/actions/spelling/allow.txt @@ -132,6 +132,7 @@ ensurepathexists ENU enum EOAC +ependency errorlevel errstr esrp diff --git a/doc/troubleshooting/README.md b/doc/troubleshooting/README.md @@ -32,6 +32,14 @@ Customers may install any [release](https://github.com/microsoft/winget-cli/rele Only the Windows Insider DEV channel will continue receiving pre-release builds of the Windows Package Manager after v1.0.11451. Other Windows Insider channels will only receive stable release candidates or updated versions of the Windows Package Manager with critical bug fixes. +### Machine-wide Provisioning + +The Windows Package Manager can be provisioned machine-wide or for each new user. The following PowerShell cmdlet can be used to provision the package machine-wide. The latest Windows Package Manager release and license can be downloaded directly from the GitHub repository. It is dependent on the [Microsoft.VCLibs](https://docs.microsoft.com/en-us/troubleshoot/cpp/c-runtime-packages-desktop-bridge) desktop framework package, which needs to be downloaded and specified in the dependency path option in the cmdlet. + + >`Add-AppxProvisionedPackage -online -PackagePath <desktop AppInstaller msixbundle package path> -LicensePath <license path> -DependencyPackagePath <Microsoft.VCLibs package path>` + +After the package is provisioned, the users need to log into their Windows account to get the package registered and use it. + ## Common Issues ### Executing `winget` doesn't display help