Simply put: In Windows 11, WMIC is deprecated & disabled by default, and will be removed in a future update/version. The BIOS installer uses WMIC for step 18, which will always fail:
echo (18 of 18) Enable WiFi SAR BIOS setting for optimal performance
wmic /namespace:\\root\wmi path WmiWiFiModeNotify where active=true call NotifyWiFiModeStatus 1,1 >>"%TEMP%\frameworkinstall.txt" 2>&1
Currently, you can just install WMIC from the “Optional Features” page in Settings, but that option may be removed in the future.
Also, as a general PSA: as who knows how much longer Microsoft is willing to support older stuff now, it would be better to write the installer script in PowerShell, which also has the WMIC replacement. I would be willing to write the script, as I’m rather familiar with PowerShell 5.1 (The one that comes installed by default in Windows).
P.S.: Wasn’t sure where to submit a bug report, and thought here would be more appropriate than the GitHub here. Sorry in advance.