new WGA (1.5) notes

Questions about Update Pack making? Ask here.
Post Reply
User avatar
mionica
Posts: 30
Joined: Sat Mar 11, 2006 8:35 am
Location: Timisoara TM, RO
Contact:

new WGA (1.5) notes

Post by mionica » Sat Mar 11, 2006 9:17 am

There's a few details to settle with the latest WGA, to allow for integration with either nLite or RVMIntegrator.

First of all, you need to patch the header of LegitCheckControl.dll to announce an OS version of 5.1 (it has, by default, 6.0 - which is VISTA). Failure to do so leads to Setup complaining about LgtCkCtl.dll belonging to a different OS version, subsequently refusing to copy the file (you still have an option to skip it, though).

Second. The registry entries from update.inf seemingly have to be integrated to the INF which does the registration; simple addition of the DllRegisterServer call seems not to work, for unknown reasons (I don't think it's worth checking out, since it can be easily fixed).

--

I do it this way:

1. I use Sen's HIEW
a) load LegitCheckControl.dll
b) change OSmajor to 5 (was 6), OSminor to 1 (was 0)
c) strip the digital signature (the file's overlay)
d) re-calculate the ImageSize (F3 on it :> I _love_ HIEW)
e) update the file
f) edit the header again
g) re-calculate the file's checksum (F3 on Checksum)
h) update the file
i) exit HIEW
i) pack the DLL (CABARC -m LZX:21 N LGTCKCTL.DL_ LegitCheckControl.dll)

2. I prefer updating the RVM package itself. As such,
a) extract RVMUpdatePack2.0.3.cab to a dir
b) overwrite msi.dl_ and RVMUpPck.in_ with those from RVMAddonsMSIDLLOld_1.1.cab
c) replace LgtCkCtl.dl_ with the one formerly created (on step 1)
d) extract RVMUpPck.inf from RVMUpPck.in_
e) edit RVMUpPck.inf
- add the following section:

Code: Select all

[KB892130.AddReg]
HKCR,AppID\{2DE6426A-0708-415C-8C19-623CC4855F80},,0,"LegitCheckControl"
HKCR,AppID\LegitCheckControl.DLL,"AppID",0,"{2DE6426A-0708-415C-8C19-623CC4855F80}"
HKCR,LegitCheckControl.LegitCheck.1,,0,"Windows Genuine Advantage Validation Tool"
HKCR,LegitCheckControl.LegitCheck.1\CLSID,,0,"{17492023-C23A-453E-A040-C7C580BBF700}"
HKCR,LegitCheckControl.LegitCheck,,0,"Windows Genuine Advantage Validation Tool"
HKCR,LegitCheckControl.LegitCheck\CLSID,,0,"{17492023-C23A-453E-A040-C7C580BBF700}"
HKCR,LegitCheckControl.LegitCheck\CurVer,,0,"LegitCheckControl.LegitCheck.1"
HKCR,CLSID\{17492023-C23A-453E-A040-C7C580BBF700},,0,"Windows Genuine Advantage Validation Tool"
HKCR,CLSID\{17492023-C23A-453E-A040-C7C580BBF700}\ProgID,,0,"LegitCheckControl.LegitCheck.1"
HKCR,CLSID\{17492023-C23A-453E-A040-C7C580BBF700}\VersionIndependentProgID,,0,"LegitCheckControl.LegitCheck"
HKCR,CLSID\{17492023-C23A-453E-A040-C7C580BBF700}\InprocServer32,,0,"%11%\legitcheckcontrol.dll"
HKCR,CLSID\{17492023-C23A-453E-A040-C7C580BBF700}\InprocServer32,"ThreadingModel",0,"Apartment"
HKCR,CLSID\{17492023-C23A-453E-A040-C7C580BBF700},"AppID",0,"{2DE6426A-0708-415C-8C19-623CC4855F80}"
HKCR,CLSID\{17492023-C23A-453E-A040-C7C580BBF700}\TypeLib,,0,"{5E649A63-7EE9-43F4-9926-0DEAA462A8FB}"
HKCR,TypeLib\{5E649A63-7EE9-43F4-9926-0DEAA462A8FB}\1.0,,0,"Windows Genuine Advantage Validation Tool"
HKCR,TypeLib\{5E649A63-7EE9-43F4-9926-0DEAA462A8FB}\1.0\FLAGS,,0,"0"
HKCR,TypeLib\{5E649A63-7EE9-43F4-9926-0DEAA462A8FB}\1.0\0\win32,,0,"%11%\LegitCheckControl.dll"
HKCR,TypeLib\{5E649A63-7EE9-43F4-9926-0DEAA462A8FB}\1.0\HELPDIR,,0,"%11%\"
HKCR,Interface\{36CFF953-FB06-45AD-896F-94A0259AB3DD},,0,"ILegitCheck"
HKCR,Interface\{36CFF953-FB06-45AD-896F-94A0259AB3DD}\ProxyStubClsid,,0,"{00020424-0000-0000-C000-000000000046}"
HKCR,Interface\{36CFF953-FB06-45AD-896F-94A0259AB3DD}\ProxyStubClsid32,,0,"{00020424-0000-0000-C000-000000000046}"
HKCR,Interface\{36CFF953-FB06-45AD-896F-94A0259AB3DD}\TypeLib,,0,"{5E649A63-7EE9-43F4-9926-0DEAA462A8FB}"
HKCR,Interface\{36CFF953-FB06-45AD-896F-94A0259AB3DD}\TypeLib,"Version",0,"1.0"
HKLM,SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{17492023-C23A-453E-A040-C7C580BBF700},"Compatibility Flags",0x10001,0
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Ext\CLSID,"{17492023-C23A-453E-A040-C7C580BBF700}",,1
- in section [RVMUpdatePack], I add KB892130.AddReg to the 2nd line of AddReg, which becomes

Code: Select all

AddReg=KB873374.AddReg,KB890830.AddReg, KB892130.AddReg, Miscellaneous.AddReg,MSXML.AddReg,MU.AddReg,SafeDisc.AddReg,WScript.AddReg
f) recompress RVMUpPck.inf (CABARC -m LZX:21 N RVMUpPck.in_ RVMUpPck.inf) and delete the .inf
g) recompress the entire pack (CABARC -r -p -m LZX:21 N RVMUpdatePack2.0.3a.cab *.*)

Success!
Last edited by mionica on Sun Mar 12, 2006 1:58 pm, edited 1 time in total.
Mircea Horea IONICA
mionica@as.ro
+40 (0)766 694495

User avatar
RyanVM
Site Admin
Posts: 5190
Joined: Tue Nov 23, 2004 6:03 pm
Location: Pennsylvania
Contact:

Post by RyanVM » Sat Mar 11, 2006 11:20 am

I've already got WGA 1.5.512 integrated fine on my end. It'll be in 2.0.4 coming later next week. Thanks anyway, though.
Get up to $200 off on hosting from the same people who host this website!
http://www.ryanvm.net/forum/viewtopic.php?t=2357

User avatar
Sanjay
I can't read
Posts: 337
Joined: Fri Dec 17, 2004 9:28 am
Location: New Delhi, India

Post by Sanjay » Sat Mar 11, 2006 12:35 pm

Kels Uber Addons Pack v6.3 also already has it integrated and it works just fine.

Acheron
Posts: 389
Joined: Thu Nov 25, 2004 4:05 pm
Location: The Netherlands
Contact:

Post by Acheron » Sat Mar 11, 2006 1:58 pm

I created also addons. I don't think all this is necessary. Meaby you downloaded the wrong dll version.
I wonder why Microsoft updates the WGA that often. The mechansim used to check is still the same, altough Microsoft masked it a bit.

Petr
Posts: 16
Joined: Tue Dec 27, 2005 4:09 pm

Post by Petr » Sat Mar 11, 2006 2:32 pm

hp38guser wrote:I created also addons. I don't think all this is necessary. Meaby you downloaded the wrong dll version.
LegitCheckControl.dll 1.5.0512.0 (550,120 bytes, 14.2.2006 9:20) from WindowsXP-KB892130-enu-x86.exe has really in the PE header:

Required OS version 6.00

Petr

User avatar
RyanVM
Site Admin
Posts: 5190
Joined: Tue Nov 23, 2004 6:03 pm
Location: Pennsylvania
Contact:

Post by RyanVM » Sat Mar 11, 2006 3:05 pm

...and yet WU/MU don't seem to care. Seriously, much ado about nothing? If things work, why break the signature to make what simply amounts to an aesthetic change?
Get up to $200 off on hosting from the same people who host this website!
http://www.ryanvm.net/forum/viewtopic.php?t=2357

Xable
Posts: 981
Joined: Tue May 03, 2005 6:38 pm
Contact:

Post by Xable » Sat Mar 11, 2006 4:15 pm

All this fuss over nothing.

This is what i do and works perfectly fine.

1. Register LegitCheckControl.dll
2. Add these reg entries

Code: Select all

HKLM,SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{17492023-C23A-453E-A040-C7C580BBF700},"Compatibility Flags",0x10001,0
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Ext\CLSID,"{17492023-C23A-453E-A040-C7C580BBF700}",,1
That`s all, imo there`s no point in installing it as a full hotfix so the .cat and extra reg aren`t needed. Also GWFSPIDGen.dll isn`t needded anymore, which ryan already knows, but there you go now everyone else does too.

User avatar
mionica
Posts: 30
Joined: Sat Mar 11, 2006 8:35 am
Location: Timisoara TM, RO
Contact:

Post by mionica » Sun Mar 12, 2006 4:24 am

Gentlemen, my appologies.

I just re-checked integrating the original .dll, and it worked just fine. In this view, my post was indeed useless.

My resolution (the hex editing stuff) is however necessary if one wants to integrate a version which is altered in any way (as I tried at first). Failure to do so yields a setup error, "This file belongs to a different OS version" or some such message, with the only option to skip the file - even though the DLL works just fine once put in place.
Last edited by mionica on Sun Mar 12, 2006 8:13 am, edited 1 time in total.
Mircea Horea IONICA
mionica@as.ro
+40 (0)766 694495

User avatar
Sanjay
I can't read
Posts: 337
Joined: Fri Dec 17, 2004 9:28 am
Location: New Delhi, India

Post by Sanjay » Sun Mar 12, 2006 5:48 am

@ mionica
I suggest you edit your post to eliminate any discussion of 'cracked' versions. That is unless you want to be reprimanded by the admins.

User avatar
mionica
Posts: 30
Joined: Sat Mar 11, 2006 8:35 am
Location: Timisoara TM, RO
Contact:

Post by mionica » Sun Mar 12, 2006 8:15 am

@Sanjay

There. The admins should be happy now, while others can still find eventually useful information.
Mircea Horea IONICA
mionica@as.ro
+40 (0)766 694495

Acheron
Posts: 389
Joined: Thu Nov 25, 2004 4:05 pm
Location: The Netherlands
Contact:

Post by Acheron » Sun Mar 12, 2006 10:31 am

I assume you use one of those cracks changing only the Version info stuff. You better do the Hex-changes yourself if necessary.
When done changing only ModifyPE is necessary to calculate a new checksum.
In Dutch section I posted already addons covering things up. Don't use the cracked addon if circumventing Copy Protection is illegal in your country.

User avatar
mionica
Posts: 30
Joined: Sat Mar 11, 2006 8:35 am
Location: Timisoara TM, RO
Contact:

Post by mionica » Sun Mar 12, 2006 1:49 pm

Actually, it was an altered copy of the real 1.5 .dll. I admit at first I did try to change the version of 1.4 (used Resource Tuner for that, by the way), integrated it, and the kit worked like a wonder.

However, later I found & downloaded the altered 1.5 .dll (sized 550,120 including the signature). It worked flawlessly, I integrated it into the setup kit, and got that 'this file belongs to a different OS version' in the textmode copy phase. First I thought about removing the signature - that didn't work. Then, I noticed (and changed) the OS version, and - tadaa! - it works, too.

Assuming there's quite a few people like myself, I thought it may be nice to post my solution. However, I assumed - wrongly - that the problem would also occur with the original - which doesn't happen.

Still, if this thread doesn't get deleted, I'm certain some people may find it useful.
Mircea Horea IONICA
mionica@as.ro
+40 (0)766 694495

Post Reply