commit 8ea9ef28ac6d85aa8119cb16185bbfe190876588
parent ae586beee03076fcd6238b5df206716116e02093
Author: Lewis Cowles <lewis+github@cowles.uk>
Date: Fri, 14 Jan 2022 21:41:33 +0000
Adds experiment to know if PATH is common issue. (#1841)
* Adds experiment to know if PATH is common issue.
Was the solution to #1840. With thanks to @ItzLevvie
* Update command.
* Remove extension that is not needed
* Remove administrator from instructions
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/troubleshooting/README.md b/doc/troubleshooting/README.md
@@ -95,7 +95,7 @@ These errors most commonly occur for one of following reasons. Please try out th
>`Get-AppxPackage microsoft.desktopappinstaller`
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".
+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.
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.