Describe the bug
The fleet installer panicks when installing the build tool in Windows 11.
To Reproduce
Steps to reproduce the behavior:
In an elevated PowerShell prompt in Windows 11:
# % natalie-perret @ nppc in ~ [15:59:04]
$ $Env:RUST_BACKTRACE='full'
# % natalie-perret @ nppc in ~ [15:59:13]
$ iwr -useb windows.fleet.rs | iex
Installing Fleet
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: NotFound, message: "program not found" }', src\main.rs:29:10
stack backtrace:
0: 0x7ff67776f70f - <unknown>
1: 0x7ff677785c3a - <unknown>
2: 0x7ff67776c089 - <unknown>
3: 0x7ff677771c0b - <unknown>
4: 0x7ff6777717fe - <unknown>
5: 0x7ff677772201 - <unknown>
6: 0x7ff6777720bd - <unknown>
7: 0x7ff6777702c7 - <unknown>
8: 0x7ff677771d99 - <unknown>
9: 0x7ff677798c85 - <unknown>
10: 0x7ff677798d23 - <unknown>
11: 0x7ff67776189c - <unknown>
12: 0x7ff677761b72 - <unknown>
13: 0x7ff677762116 - <unknown>
14: 0x7ff677761c1c - <unknown>
15: 0x7ff677768aa9 - <unknown>
16: 0x7ff677761c07 - <unknown>
17: 0x7ff67778a344 - <unknown>
18: 0x7ffdeb79244d - BaseThreadInitThunk
19: 0x7ffdec92df78 - RtlUserThreadStart
Successfully Installed fleet
Expected behavior
It ain't supposed to panic.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Copyright (c) Microsoft Corporation.
https://aka.ms/powershell
Type 'help' to get help.
A new PowerShell stable release is available: v7.2.7
Upgrade now, or check out the release page at:
https://aka.ms/PowerShell-Release?tag=v7.2.7
lllllllllllllll lllllllllllllll natalie-perret@NPPC
lllllllllllllll lllllllllllllll -------------------
lllllllllllllll lllllllllllllll OS: Windows 11 Pro [64-bit]
lllllllllllllll lllllllllllllll Host: Dell Inc. Precision 5550
lllllllllllllll lllllllllllllll Kernel: 10.0.22621.0
lllllllllllllll lllllllllllllll Motherboard: Dell Inc. 0V6K79
lllllllllllllll lllllllllllllll Uptime: 7 minutes
Packages: 128 (choco), 2 (scoop)
lllllllllllllll lllllllllllllll Shell: PowerShell v7.2.6
lllllllllllllll lllllllllllllll Resolution: 1280x720, 1280x720
lllllllllllllll lllllllllllllll Terminal: Windows Terminal
lllllllllllllll lllllllllllllll CPU: Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz
lllllllllllllll lllllllllllllll GPU: Intel(R) UHD Graphics
lllllllllllllll lllllllllllllll GPU: NVIDIA Quadro T1000
lllllllllllllll lllllllllllllll Memory: 12.73 GiB / 31.75 GiB (40%)
Disk (C:): 345 GiB / 475 GiB (72%)
Loading personal and system profiles took 2023ms.
Additional context
Add any other context about the problem here.
bug