ScriptingSteve Posted April 10, 2007 Posted April 10, 2007 I have a script running at logon for approx. 12000 users. I use @OSVERSION to limit execution to Windows XP computers. The script is aborting on one computer, claiming it is "WIN_NT4" when it is most obviously XP. Something that AutoIt reads to fulfill the @OSVERSION function is obviously corrupted, and if I knew what these were, I could analyze the corruption further. So, What registry values, etc, are referenced by the @OSVERSION macro?
evilertoaster Posted April 10, 2007 Posted April 10, 2007 (edited) Autoit inturpits the values of OSVERSIONINFO (http://msdn2.microsoft.com/en-us/library/ms724834.aspx) if nothing has changed since the source was last relased -OS_Version::OS_Version() { int i; OSVERSIONINFO OSvi; // OS Version data // Get details of the OS we are running on OSvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&OSvi); ...It uses the Win32 API so if your computer thinks it the wrong OS its got identity problem. Try talking to it and explaining that winxp isn't really that bad Edited April 10, 2007 by evilertoaster
ScriptingSteve Posted April 10, 2007 Author Posted April 10, 2007 Thanks for your assistance. Basically, the computer reporting this issue is simply wacked.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now