rcmaehl / WhyNotWin11

Detection Script to help identify why your PC is not Windows 11 Release Ready. Now Supporting Update Checks!
https://whynotwin11.org
GNU Lesser General Public License v3.0
6.13k stars 417 forks source link

WinPE and Skip Parameter returns 1 #758

Closed stephannn closed 1 month ago

stephannn commented 3 months ago

Hi,

using following code on WinPE: powershell -command "EXIT (Start-Process -FilePath WhyNotWin11.exe -ArgumentList """/s /skip DirectX,Disk,Storage /f /e TXT $env:temp\WhyNotWin11_check.log""" -PassThru -Wait).ExitCode" does not return 0 even when the checks in the log file return all true. In the GUI you can see that all checks passed, except the skip ones.

Running same code on a running Windows 11 works fine, but also everything is present.

I am not very familiar with au3, but the only return 1 line I could find is: If $aResults[$iLoop][0] = False Or $aResults[$iLoop][0] < 1 Then Exit 1

Btw.: I also tried version 2.6.1.1

Thanks Stephan

rcmaehl commented 3 months ago

Yep. I'll get this fixed!