Why is the Post-Setup parameters input yellow?

ZorkLVM

Member
Messages
47
Reaction score
4
Does it indicate a warning or error?

The script referenced has no problems.

View attachment 13542

EDIT: Here is the script contents:

Code:
@echo off

REM --------------------------------------------------------------------------------------------------------------------
REM MAYBE_INSTALL_VMWARE_TOOLS()
REM --------------------------------------------------------------------------------------------------------------------

setlocal

set "LOGFILE=%PUBLIC%\Desktop\Post-Setup.log"
set "EXEFILE=%PUBLIC%\Desktop\Post-Setup\VMware Tools 12.5.0 (x64) setup.exe"

wmic bios get serialnumber | find "VMware" >nul
REM systeminfo | find "BIOS" | find "VMware" >nul
REM systeminfo | find "System Manufacturer" | find "VMware" >nul
REM systeminfo | find "System Model" | find "VMware" >nul

if %errorLevel% == 0 (
    echo Installing VMware Tools...
    echo %time% - Installing VMware Tools... >> "%LOGFILE%"
    start /wait "" "%EXEFILE%" /S /v "/qn REBOOT=R"
    echo Installed VMware Tools with exit code %errorLevel%.
    echo %time% - Installed VMware Tools with exit code %errorLevel%. >> "%LOGFILE%"
) else (
    echo Not installing VMware Tools.
    echo %time% - Not installing VMware Tools. >> "%LOGFILE%"
)

REM --------------------------------------------------------------------------------------------------------------------
 
It's simply done for user visibility. Whenever any Post-Setup item has no parameters, NTLite colors the box yellow.

NTLite is only reminding users who may have forgotten whether optional parameters are required or not. In the end, NTLite doesn't care. It will create SetupComplete.cmd or the RunOnce task with exactly what's been provided by you.
 
Does it indicate a warning or error?

The script referenced has no problems.
Just to add, script is mostly used without parameters, so in this case it should skip the yellow.
Thanks for the feedback.
 
Just to add, script is mostly used without parameters, so in this case it should skip the yellow.
Thanks for the feedback.
While you're at it, could you make the NTLite window not steal focus and flash the taskbar button so much? Maybe disable it completely? That would make me very happy. :)
 
While you're at it, could you make the NTLite window not steal focus and flash the taskbar button so much? Maybe disable it completely? That would make me very happy. :)
I believe that's a Windows thing, I also don't like they changed it to 7 times.
All NTLite does is create a new dialog.

See here how to tweak that, let me know if you find some setting mandatory, it can be added to the UI if not already.
 
I believe that's a Windows thing, I also don't like they changed it to 7 times.
All NTLite does is create a new dialog.

See here how to tweak that, let me know if you find some setting mandatory, it can be added to the UI if not already.
Unfortunately MS changed the taskbar button flashing behavior in Win10 22H2, which is what I'm using. It's impossible to disable now.
 
Back
Top