|
Post by jannisj on Sept 18, 2019 17:11:08 GMT
There seems to be a bug regarding preflight checks. I am testing this in my lab for implementing in production: <Action Type="Preflight" Title="Requirement check" ShowOnFailureOnly="False" ShowBack="True"> <Check Text="Connected to power" CheckCondition='"%XOnBattery%" = "False"'/> <Check Text="WLAN disconnected" CheckCondition='"%XWLANDisconnected%" = "True"'/> <Check Text="Minimum memory > 4GB" CheckCondition='%XHWMemory% >= 3584'/> <Check Text="CPU supports Windows 10" CheckCondition='%XCPUPAE% AND %XCPUNX% AND %XCPUSSE2% = True'/> <Check Text="Computer-name: PC-%tsUI_PCName%"/> <Check Text="UEFI Mode Enabled" CheckCondition='"%XSystemUEFI%" = "True"'/> <Check Text="TPM Enabled" CheckCondition='"%XTPMEnabled%" = "True"'/> <Check Text="Secure Boot Enabled" CheckCondition='"%XSystemSecureBoot%" = "True"'/> <Check Text="Is model %XHWModel% supported:" CheckCondition='"%XHWModel%" = "Precision 3520" OR "%XHWModel%" = "OptiPlex 9020M"'/> </Action> When running UI++, the above checks looks like this: The computer I'm running this on, does not have a TPM chip, and the TPM check should have failed, and stopped me from going further in the wizard. Also, the 3 checks after the UEFI check, is not visible at all in the UI either. -jannis
|
|
|
Post by Christopher Ireland on Sept 18, 2019 18:51:10 GMT
Well, first things first, you have to set the Size to Tall. And then to verify your conditions are being tested, try changing them to something you know is false, like put a typo in the condition.
|
|
|
Post by jannisj on Sept 19, 2019 7:11:54 GMT
I'll try changing size to tall, and see if the last 3 checks run. The TPM check fails if I have it earlier in the check list, so 3 checks are ignored. Hopefully, changing to tall will also make it use the 3 last checks too -j
|
|
|
Post by jannisj on Sept 19, 2019 14:59:14 GMT
I found a mention in the doc about max 6 checks for normal dialog box and 12 for tall. I changed it to tall now, and it works as it should.
-j
|
|
|
Post by Jason on Oct 2, 2019 1:20:16 GMT
👍👍
|
|