commit 199b9b0f9db51362eb1bf82540c57d80ba22df9a
parent 0fc32ec0a4da98529669260d1b9cee908603bd89
Author: Alexander Gayko <a.gayko@googlemail.com>
Date: Thu, 20 Oct 2022 23:31:27 +0200
Added info about reinstalling App Installer to troubleshooting README.md (#2616)
Added hints how to reinstall App Installer
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/doc/troubleshooting/README.md b/doc/troubleshooting/README.md
@@ -96,7 +96,10 @@ These errors most commonly occur for one of following reasons. Please try out th
2. The App Execution Alias for the Windows Package Manager is disabled. You should enable the App Execution Alias for the Windows Package Manager. Go to `App execution aliases` option in `Apps & features Settings` to enable it.
3. The App Installer did not automatically add the PATH environment variable. You should add the path environment variable. The value to add is "%userprofile%\AppData\Local\Microsoft\WindowsApps". You can verify this by running `%LOCALAPPDATA%\Microsoft\WindowsApps\winget` from a command-prompt or `& "$env:LOCALAPPDATA\Microsoft\WindowsApps\winget"` from a powershell. If the command runs then, but not before, then you very likely have a missing PATH environment component.
-4. Apps deployed on the machine are registered per user by default. If App Installer was installed on a different user account than the one you are trying to run it on, you will have to reinstall it again on this account and try again.
+4. Apps deployed on the machine are registered per user by default. If App Installer was installed on a different user account than the one you are trying to run it on, you will have to reinstall it again on this account and try again:
+ 1. Get the `PackageFullName` of your installed `App Installer` package (PowerShell): `Get-AppxPackage Microsoft.DesktopAppInstaller | Select Name, PackageFullName`.
+ 2. `Add-AppxPackage -register "C:\Program Files\WindowsApps\{PackageFullName}\appxmanifest.xml" -DisableDevelopmentMode` (where `{PackageFullName}` is the info from the previous point).
+ 3. Toggle the App Execution Alias for winget, again (see above).
If the above guidelines do not resolve the problem, please open an issue with details of the Windows version and App Installer version you are using.