By crikey, it looks like I found how to get the NOGUI option to work.
(Note this is a blatant registry hack, and would appear to indicate that VMWARE have not quite got their product testing right before release.)
ANYHOW
It looks like vmrun with the nogui option wants to find a bunch of stuff under the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\vmrun
And some of the stuff it expects is not there.
Specifically, it wants an InstallPath, and it wants the LICENSE for the installed VMWARE WORKSTATION.
This information exists in the registry, but its being looked up in the wrong place (when youomit the "nogui" option, it IS looked up in the correct place)
The information that it wants DOES exist here:
HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware Workstation
So, what I did is
1. EXPORT from the registry the keys at and under "HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware Workstation"
2. in the exported copy, delete all the stuff under the sub-key "Dormant", "License.ws.5.0" and "License.ws.6.0.200610"
3. There won't be much left, but in what is left, change the word "VMware Workstation" to "vmrun"
4. Merge this back into the registry. This is not easy because for some reason I can't add stuff under the key "HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\vmrun", so I renamed that to something handy "vmrun-old", then the merge worked fine.
Now I have 2 copies in the registry of my licensing information (bad) but at least the vmrun seems to have worked with the nogui option.
For information, the registry info that I merged in looks like this (note I have obscured the company name, user name, my license number, and a few other things, so this shows the principle rather than MY details!)
(NOTE - this crazy posting system has converted the standard registry syntax into some insane http: hyperlinked mess. I've spent the last 20 minutes trying to get it to display properly and given up in disgust.)
Windows Registry Editor Version 5.00
http://HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\vmrun
"ProductCode"="{A3FF5CB2-FB35-4658-8751-9EDE1D65B3AA}"
"ProductVersion"="6.0.2.59824"
"InstallPath"="C:
Program Files
VMware
VMware Workstation"
http://HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\vmrun\Dormant
http://HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\vmrun\License.ws.6.0.200610
"StartFields"="Cpt, ProductID, LicenseVersion, LicenseType, Epoch"
"Cpt"="COPYRIGHT (c) VMware, Inc. 1999-2007"
"ProductID"="VMware Workstation for Win32"
"LicenseVersion"="6.0"
"LicenseType"="User"
"Epoch"="2006-10-1"
"Hash"="has is obscured"
"Serial"="this has been obscured"
"Name"="my-name"
"CompanyName"="my-companyl"
"LastModified"="2008-02-08 @ 00:33:22 UTC"
http://HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\vmrun\volatile
"UUIDHost"="i have obscure the UUID host as well"
Looking at the log files, it does appear that this HACK is imperfect because there are differences between the NOGUI options and the normal way of running it up. These are that some of the preferences are not being applied (eg total memory for all VM's running on the host), so whilst it works it might not deliver exactly what is expected.
Here's hoping VMware come out with a proper fix soon!