store installer sets wrong path, as literal ';%USERPROFILE%\AppData\Local\Microsoft\WindowsApps` #8680

Open
opened 2026-01-31 01:35:22 +00:00 by claunia · 0 comments
Owner

Originally created by @diablodale on GitHub (May 30, 2020).

Windows store installer for v1.0.1401.0 appends wrong value to path. Therefore, it is not possible to run wt.exe from windowskey-R, cmd prompt, or anything else that needs to find it on the path.

Environment

  • Microsoft Windows [Version 10.0.19041.264]
  • Absolutely never before had Windows Terminal installed
  • Windows Terminal v1.0.1401.0 from Windows Store

Steps to reproduce

  1. Install Windows
  2. Windows Terminal v1.0.1401.0 from Windows Store
  3. Press windowskey-R to get quick run prompt
  4. Type wt.exe

Expected behavior

Windows Terminal to run

Actual behavior

Error. Windows cannot find wt.exe
image

I checked my path at cmd prompt. The following is a cut/paste. Notice the last entry, two semicolons and then a env variable not expanded. And with that unexpanded directory not evaluated in the path, naturally wt.exe will not be found by windowskey-R or typing wt.exe at a legacy command prompt.

C:\Users\dale>path
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\libnvvp;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\Nsight Compute 2019.4.0\;C:\Program Files\Microsoft VS Code\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft VS Code\bin;C:\Users\dale\.flutter\bin;C:\Users\dale\.cargo\bin;C:\Program Files\Android\android-studio-preview\jre\bin;C:\njs\wslgit;C:\njs;C:\Program Files\CMake\bin;;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps
Originally created by @diablodale on GitHub (May 30, 2020). Windows store installer for v1.0.1401.0 appends wrong value to path. Therefore, it is not possible to run `wt.exe` from windowskey-R, cmd prompt, or anything else that needs to find it on the path. # Environment * Microsoft Windows [Version 10.0.19041.264] * Absolutely never before had Windows Terminal installed * Windows Terminal v1.0.1401.0 from Windows Store # Steps to reproduce 1. Install Windows 2. Windows Terminal v1.0.1401.0 from Windows Store 3. Press windowskey-R to get quick run prompt 4. Type `wt.exe` # Expected behavior Windows Terminal to run # Actual behavior Error. Windows cannot find wt.exe ![image](https://user-images.githubusercontent.com/679350/83316813-7d221a80-a228-11ea-95a1-5c138e93399d.png) I checked my path at cmd prompt. The following is a cut/paste. Notice the last entry, two semicolons and then a env variable not expanded. And with that unexpanded directory not evaluated in the path, naturally wt.exe will not be found by windowskey-R or typing `wt.exe` at a legacy command prompt. ``` C:\Users\dale>path PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\libnvvp;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\Nsight Compute 2019.4.0\;C:\Program Files\Microsoft VS Code\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft VS Code\bin;C:\Users\dale\.flutter\bin;C:\Users\dale\.cargo\bin;C:\Program Files\Android\android-studio-preview\jre\bin;C:\njs\wslgit;C:\njs;C:\Program Files\CMake\bin;;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps ```
claunia added the Resolution-ExternalNeeds-Tag-Fix labels 2026-01-31 01:35:22 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8680