Page 1 of 1 1
Topic Options
#119699 - 2004-05-17 05:31 PM Kixtart version 3.63 vs 2001
DTOS Offline
Lurker

Registered: 2004-05-17
Posts: 3
Is @PRODUCTTYPE supported in version 3.63 or is it only supported in 2001? Is there a way to identify a Windows XP machine using @inwin & @dos? Is Kixtart 2001 provided on the Windows XP or Server 2003 resource kit?
Top
#119700 - 2004-05-17 05:56 PM Re: Kixtart version 3.63 vs 2001
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Welcome to the board.

Not having a copy of 3.63 around, I cannot be sure, but if it was supported in 3.63, there would be some reference to it in the manual. If you misplaced your copy, you can download it from http://www.kixtart.org/downloads/old_downloads.html

Microsoft does not distribute the newer versions in their ResKit. You can download the latest from http://www.kixtart.org/downloads/

@DOS would return 5.1 for XP.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#119701 - 2004-05-17 09:11 PM Re: Kixtart version 3.63 vs 2001
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
kix 3.63 does not support @producttype. Give this code snippet a try, it should work for 3.63

Code:

$_ProductType = ReadValue("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions","ProductType")
SELECT
CASE @INWIN = 1 AND $_ProductType = "WinNT" AND @DOS = 5.1
$OSName = "Windows XP"
CASE @INWIN = 1 AND $_ProductType <> "WinNT" AND @DOS=5.0
$OSName = "Win2k Server"
CASE @INWIN = 1 AND $_ProductType = "WinNT" AND @DOS=5.0
$OSName = "Win2k Professional"
CASE @INWIN = 1 AND $_ProductType = "ServerNT"
$OSName = "WinNT Server"
CASE @INWIN = 1 AND $_ProductType = "WinNT"
$OSName = "WinNT Workstation"
CASE @INWIN = 2 AND @DOS = "4.10"
$OSName = "Win98"
CASE @INWIN = 2 AND @DOS = "4.0"
$OSName = "Win95"
CASE 1
$OSName = "Unknown operating system"
ENDSELECT

_________________________
Eric

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 (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.057 seconds in which 0.032 seconds were spent on a total of 12 queries. Zlib compression enabled.

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