[Version]
Signature="$Windows NT$"

[Optional Components]
WGATool

[WGATool]
OptionDesc   ="Windows Genuine Advantage"
Tip	         ="Windows Genuine Advantage"
Modes	     =0,1,2,3
Addreg       =WgaNotify.AddReg
RegisterDlls =WgaNotify.Register


[WgaNotify.AddReg]
;Register LegitCheckControl.dll
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"
;Hook up WgaLogon.dll
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "Logon",0,"WLEventLogon"
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "Logoff",0,"WLEventLogoff"
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "Startup",0,"WLEventStartup"
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "Shutdown",0,"WLEventShutdown"
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "StartScreenSaver",0,"WLEventStartScreenSaver"
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "StopScreenSaver",0,"WLEventStopScreenSaver"
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "Lock",0,"WLEventLock"
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "Unlock",0,"WLEventUnlock"
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "StartShell",0,"WLEventStartShell"
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "PostShell",0,"WLEventPostShell"
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "Disconnect",0,"WLEventDisconnect"
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "Reconnect",0,"WLEventReconnect"
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "Impersonate",0x10001,1
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "Asynchronous",0x10001,0
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "SafeMode",0x10001,0
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "MaxWait",0x10001,0xFFFFFFFF
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon, "DllName",0x20000,"WgaLogon.dll"
;Add ARP entry
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WgaNotify,"InstallLocation",20000,"%SYSTEMROOT%\system32"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WgaNotify,"HelpLink",,%HelpLink%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WgaNotify,"URLInfoAbout",,%URLInfoAbout%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WgaNotify,"Publisher",,%Publisher%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WgaNotify,"DisplayName",,%SP_TITLE%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WgaNotify,"DisplayVersion",,%PRODUCT_VERSION%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WgaNotify,"VersionMajor",,2
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WgaNotify,"VersionMinor",,0
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WgaNotify,"ParentKeyName",0,"OperatingSystem"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WgaNotify,"NoRemove",0x10001,1
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WgaNotify,"NoModify",0x10001,1
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WgaNotify,"NoRepair",0x10001,1
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WgaNotify,"UninstallString",,""

[WgaNotify.Register]
11,,LegitCheckControl.dll,1

[Strings]
HelpLink= "http://support.microsoft.com?kbid=905474"
URLInfoAbout= "http://www.microsoft.com/genuine"
Publisher= "Microsoft Corporation"
PRODUCT_VERSION= "1.7.0036.0"