home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
WindowsServerTrial
/
server.iso
/
sources
/
install.wim
/
2
/
Windows
/
System32
/
wucltux.dll
/
REGINST
/
REGINST
Wrap
Windows Setup INFormation
|
2008-01-19
|
4KB
|
79 lines
[Version]
Signature="$CHICAGO$"
[RegDll]
RequiredEngine=SETUPAPI
AddReg=RegAll
[UnregDll]
RequiredEngine=SETUPAPI
DelReg=RegAll
[RegAll]
;your control panel's name
HKLM,%PATH_EXPLORER%\ControlPanel\NameSpace\%CLSID_NamespaceInitStub%,,,"%NAME_NamespaceInitStub%"
HKCR,"CLSID\%CLSID_NamespaceInitStub%",,,"%NAME_NamespaceInitStub%"
;Don't change the GUID, but change the 0xa to the appropriate category or categories
HKCR,"CLSID\%CLSID_NamespaceInitStub%",System.ApplicationName,,"Microsoft.WindowsUpdate"
HKCR,"CLSID\%CLSID_NamespaceInitStub%",System.ControlPanel.Category,,"5,10"
;the string ids and default icon ids for your app
HKCR,"CLSID\%CLSID_NamespaceInitStub%",InfoTip,%REGEXSZ%,"@%_SYS_MOD_PATH%,-4"
HKCR,"CLSID\%CLSID_NamespaceInitStub%",LocalizedString,%REGEXSZ%,"@%_SYS_MOD_PATH%,-1"
HKCR,"CLSID\%CLSID_NamespaceInitStub%\DefaultIcon",,%REGEXSZ%,"%_SYS_MOD_PATH%,-1"
;don't change this
HKCR,"CLSID\%CLSID_NamespaceInitStub%\%IPS%",,%REGEXSZ%,"%SystemRoot%\system32\shdocvw.dll"
HKCR,"CLSID\%CLSID_NamespaceInitStub%\%IPS%",ThreadingModel,,"Apartment"
HKCR,"CLSID\%CLSID_NamespaceInitStub%\ShellFolder",Attributes,%REGDW%,0xa0000000
HKCR,"CLSID\%CLSID_NamespaceInitStub%\ShellFolder",WantsParseDisplayName,,""
HKLM,"%SMWCVSEA%","%CLSID_NamespaceInitStub%",,"%NAME_NamespaceInitStub%"
HKCR,"CLSID\%CLSID_NamespaceInitStub%\Instance",CLSID,,%CLSID_LayoutFldr%
HKCR,"CLSID\%CLSID_NamespaceInitStub%\Instance\InitPropertyBag",ResourceDLL,%REGEXSZ%,"%_SYS_MOD_PATH%"
HKCR,"CLSID\%CLSID_NamespaceInitStub%\Instance\InitPropertyBag",ResourceID,%REGDW%,100
HKCR,"CLSID\%CLSID_WUAppElementProvider%",,,""
HKCR,"CLSID\%CLSID_WUAppElementProvider%\%IPS%",,%REGEXSZ%,"%_SYS_MOD_PATH%"
HKCR,"CLSID\%CLSID_WUAppElementProvider%\%IPS%",ThreadingModel,,"Apartment"
;WUAppElevator
HKCR,"AppID\%APPID_WUApp%",,,"%APPNAME_WUApp%"
HKCR,"AppID\%APPID_WUApp%",DllSurrogate,,""
HKCR,"AppID\%APPID_WUApp%",AuthenticationLevel,%REGDW%,0x6
; interactive users have local launch/activate permission
HKCR,"AppID\%APPID_WUApp%",LaunchPermission,1, \
01,00,04,80,5c,00,00,00,6c,00,00,00,00,00,00,00,14,00,\
00,00,02,00,48,00,03,00,00,00,00,00,14,00,0b,00,00,00,01,01,00,00,00,00,00,\
05,12,00,00,00,00,00,18,00,0b,00,00,00,01,02,00,00,00,00,00,05,20,00,00,00,\
20,02,00,00,00,00,14,00,0b,00,00,00,01,01,00,00,00,00,00,05,04,00,00,00,01,\
02,00,00,00,00,00,05,20,00,00,00,20,02,00,00,01,02,00,00,00,00,00,05,20,00,\
00,00,20,02,00,00
HKCR,"AppID\%APPID_WUApp%",AccessPermission,1,\
01,00,04,80,58,00,00,00,68,00,00,00,00,00,00,00,14,00,\
00,00,02,00,44,00,03,00,00,00,00,00,14,00,03,00,00,00,01,01,00,00,00,00,00,\
05,04,00,00,00,00,00,14,00,03,00,00,00,01,01,00,00,00,00,00,05,0a,00,00,00,\
00,00,14,00,03,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00,01,02,00,00,00,\
00,00,05,20,00,00,00,20,02,00,00,01,02,00,00,00,00,00,05,20,00,00,00,20,02,\
00,00
HKCR,"CLSID\%CLSID_WUAppElevator%",,,"%NAME_WUAppElevator%"
HKCR,"CLSID\%CLSID_WUAppElevator%",AppID,,"%APPID_WUApp%"
HKCR,"CLSID\%CLSID_WUAppElevator%",LocalizedString,,"@%systemroot%\system32\wucltux.dll,-3"
HKCR,"CLSID\%CLSID_WUAppElevator%\%IPS%",,%REGEXSZ%,"%_SYS_MOD_PATH%"
HKCR,"CLSID\%CLSID_WUAppElevator%\%IPS%",ThreadingModel,,"Apartment"
HKCR,"CLSID\%CLSID_WUAppElevator%\Elevation",Enabled,%REGDW%,1
[Strings]
;nothing in Strings section should be localized
SMWCVSEA="Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved"
PATH_EXPLORER="Software\Microsoft\Windows\CurrentVersion\Explorer"
IPS="InProcServer32"
REGEXSZ=0x00020000
REGDW=0x00010001
CLSID_NamespaceInitStub="{36eef7db-88ad-4e81-ad49-0e313f0c35f8}"
;this guid should be constant for all cpls
CLSID_LayoutFldr="{328B0346-7EAF-4BBE-A479-7CB88A095F5B}"
;Note this needs to match what's in dll.cpp
CLSID_WUAppElementProvider="{cfbc05bc-1b9e-4693-a49c-4e7181d69e0a}"
;Note this needs to match what's in dll.cpp
NAME_NamespaceInitStub="Windows Update"
;WUApp AppID
APPID_WUApp="{f62fdd2e-66d2-423b-9a04-f71ea00f892a}"
;WUApp App Name
APPNAME_WUApp="Windows Update Agent User Interface"
;WUAppElevator CLSID
CLSID_WUAppElevator="{1138506a-b949-46a7-b6c0-ee26499fdeaf}"
;WUAppElevator Name
NAME_WUAppElevator="WUAppElevator class"