The user did not accept the license agreement passing EULAS_AGGRED=1 on the command line when installing VMware Workstation

When I tried to install VMware Workstation 25H2 on Windows 11, I got the above error.

To fix it, I ran the below command from an administrator command line:

C:\>VMware-Workstation-Full-25H2-24995812.exe /s /v "/qn EULAS_AGREED=1"

The /s and /v "/qn" flags are for silent installation; adjust as needed.

Then VMware Workstation installed without problems.