Forums  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Member List  Search  FAQ  Ticket List  Log Out

 

XP SP2 beta detection

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Networking & Security] >> GFI LANguard >> XP SP2 beta detection Page: [1]
Login
Message << Older Topic   Newer Topic >>
XP SP2 beta detection - 17.Jan.2004 1:06:00 PM   
Guest
LNSS does not detect Windows XP SP2 beta build 2055, this build of service pack is available to all of MS SP2 beta testers and also MSDN subscribers

[ February 04, 2004, 04:28 PM: Message edited by: xnih ]
  Post #: 1
RE: XP SP2 beta detection - 17.Jan.2004 7:29:00 PM   
xnih

 

Posts: 2465
Joined: 30.May2001
From: Idaho
Status: offline
nor will LNSS support it until it is officially released. At least they never have supported beta SP's before. Basically the products.xml file needs updated before LNSS will detect a product. When SP2 is officially released GFI will update the products.xml.

If you want to get it detected before hand you'd have to modify the products.xml file yourself.

eric

(in reply to Guest)
Post #: 2
RE: XP SP2 beta detection - 4.Feb.2004 10:08:00 AM   
xnih

 

Posts: 2465
Joined: 30.May2001
From: Idaho
Status: offline
I had someone email the registry key on a box that had been patched with SP2, v.2055, the following would need added to the products.xml file for the Windows XP Pro section:

<ServicePack ID="301" Number="3" Name="Service Pack 2, v.2055" FileName="" URL="" SilentInstall="1" Dependencies="">
<Tests>
<Test Type="v" RegPath="SOFTWARE\Microsoft\Windows NT\CurrentVersion" RegKey="CSDVersion" RegValue="Service Pack 2, v.2055"/>
<Test Type="v" RegPath="SOFTWARE\Microsoft\Windows NT\CurrentVersion" RegKey="SubVersionNumber" RegValue=""/>
</Tests>
</ServicePack>

The above will test specifically for v.2055 of the XPSP2 beta patch. Since I haven't been following this personally at all I have no idea how many official beta patches are out there, but I assume this isn't the first (may be the last, but probably isn't the first), so to detect if any build of SP2 is installed you could do this instead:

<ServicePack ID="301" Number="3" Name="Service Pack 2" FileName="" URL="" SilentInstall="1" Dependencies="">
<Tests>
<Test Type="c" RegPath="SOFTWARE\Microsoft\Windows NT\CurrentVersion" RegKey="CSDVersion" RegValue="Service Pack 2"/>
<Test Type="v" RegPath="SOFTWARE\Microsoft\Windows NT\CurrentVersion" RegKey="SubVersionNumber" RegValue=""/>
</Tests>
</ServicePack>

again, I haven't had a chance to test this because I personally do very little on XP and dont' have a copy of SP2 beta. This is based off of the registry key information sent to be by an end user.

If someone verifies it works (or needs tweaked) let me know and I'll modify the post.

eric

(in reply to Guest)
Post #: 3
RE: XP SP2 beta detection - 4.Feb.2004 10:21:00 AM   
xnih

 

Posts: 2465
Joined: 30.May2001
From: Idaho
Status: offline
just as a side note, the above info would be entered after the Service Pack 1a one in the products.xml, and you'll need to grab the ending tag info </ServicePacks> from the end of the SP1a line and move it after the new SP2 stuff.

so you should have something like:
<Service Packs>
<ServicePack ID=216 blah.. XP SP1
<Tests>
<Test ...
</Tests>
</ServicePack>
<Service Packs>
<ServicePack ID=301 blah.. XP SP1a
<Tests>
<Test ...
</Tests>
</ServicePack>
<Service Packs>
<ServicePack ID=301 blah.. XP SP2
<Tests>
<Test ...
</Tests>
</ServicePack>
</ServicePacks>

and yes I know both SP1a and SP2 have an ID set as 301, but it shouldn't hurt anything I hope.

eric

(in reply to Guest)
Post #: 4
RE: XP SP2 beta detection - 6.Feb.2004 10:05:00 AM   
xnih

 

Posts: 2465
Joined: 30.May2001
From: Idaho
Status: offline
just an updated note, did hear back that this works, so have fun with it if you need it.

But you will want to increment the ProductID to like 302. This will/may cause problems in the future, it has to do with how MS has done things in the mssecure.xml file. If you leave it at 301 it will claim some of the SP1a patches are missing.

Anyway, it is still a beta patch, I assume their numbering sequence will be fixed at MS when they get it officially released.

eric

[ February 06, 2004, 04:09 PM: Message edited by: xnih ]

(in reply to Guest)
Post #: 5
RE: XP SP2 beta detection - 12.Feb.2004 7:04:00 AM   
Guest
eric,

thanks for your help, i have been away for a while, but just tried this and it seems to work ok.

(in reply to Guest)
  Post #: 6
RE: XP SP2 beta detection - 12.Feb.2004 8:53:00 AM   
xnih

 

Posts: 2465
Joined: 30.May2001
From: Idaho
Status: offline
no problem, actually updated this due to another user. Like my original post said, it isn't anything GFI ever supports (beta SP's). But it does come in useful for testing.

eric

(in reply to Guest)
Post #: 7
Page:   [1]
All Forums >> [Networking & Security] >> GFI LANguard >> XP SP2 beta detection Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts