Page 1 of 1 1
Topic Options
#205353 - 2012-06-04 07:42 PM KIX 4.62 & Windows 8 Review Preview
KIXKicks Offline
Starting to like KiXtart

Registered: 2002-07-26
Posts: 177
Loc: Vancouver, WA
KIX 4.62 detects Windows 8 Release Preview as "Windows 7 Professional Edition" and this is really messing up my scripts.

KIX 4.62 detects Windows 8 Customer Preview as "Windows 6.2 / 1" which is fine as I can work with that.

DOS [Ver]: Microsoft Windows [Version 6.2.8400]

 Code:
$OS = @PRODUCTTYPE
$OS = RTrim($OS)

Select
	Case $OS = "Windows Server 2008 R2"			$MSWINOS = "Windows Server 2008 R2" 			$OSELEVATE = "YES"	$OSSERVER = "YES"
	Case $OS = "Windows Server 2008 R2 Enterprise"		$MSWINOS = "Windows Server 2008 R2 Enterprise"		$OSELEVATE = "YES"	$OSSERVER = "YES"
	Case $OS = "Windows 7 Enterprise Edition"		$MSWINOS = "Windows 7 Enterprise Edition"		$OSELEVATE = "YES"	$OSSERVER = "NO"
	Case $OS = "Windows 7 Professional Edition"		$MSWINOS = "Windows 7 Professional Edition"		$OSELEVATE = "YES"	$OSSERVER = "NO"
	Case $OS = "Windows 7 Ultimate Edition"			$MSWINOS = "Windows 7 Ultimate Edition"			$OSELEVATE = "YES"	$OSSERVER = "NO"
	Case $OS = "Windows 6.2 / 1"				$MSWINOS = "Windows 8 Customer Preview"			$OSELEVATE = "YES"	$OSSERVER = "NO"
	Case 1			      				$MSWINOS = "UNSUPPORTED"				$OSELEVATE = "NO"	$OSSERVER = "NO"
EndSelect

Top
#205354 - 2012-06-04 08:59 PM Re: KIX 4.62 & Windows 8 Review Preview [Re: KIXKicks]
KIXKicks Offline
Starting to like KiXtart

Registered: 2002-07-26
Posts: 177
Loc: Vancouver, WA
Workaround Code:

 Code:
If $OS = "Windows 7 Professional Edition"
	$OSREG = ReadValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion", "ProductName")
	$OSREG = RTrim($OSREG)
	
	If $OSREG = "Windows 8 Release Preview"
		$OS = "Windows 8 Release Preview"
		$MSWINOS = "Windows 8 Release Preview"
		$OSELEVATE = "YES"
		$OSSERVER = "NO"
	EndIf
EndIf

Top
#205355 - 2012-06-04 09:32 PM Re: KIX 4.62 & Windows 8 Review Preview [Re: KIXKicks]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
you already have domain computers running it?
_________________________
!

download KiXnet

Top
#205356 - 2012-06-04 09:38 PM Re: KIX 4.62 & Windows 8 Review Preview [Re: Lonkero]
KIXKicks Offline
Starting to like KiXtart

Registered: 2002-07-26
Posts: 177
Loc: Vancouver, WA
Yes, Developers were running Windows 8 Customer Preview and now Windows 8 Release Preview.
Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 466 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.179 seconds in which 0.083 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org