Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

135 lines
6.4 KiB

  1. [Version]
  2. Signature="$CHICAGO$"
  3. [RegDll]
  4. RequiredEngine=SETUPAPI,%ERR_NOSETUPAPI%
  5. AddReg=RegAll
  6. [RegDllWorkstation]
  7. RequiredEngine=SETUPAPI,%ERR_NOSETUPAPI%
  8. AddReg=RegWorkstation
  9. DelReg=UnRegWorkstation
  10. [UnregDll]
  11. RequiredEngine=SETUPAPI,%ERR_NOSETUPAPI%
  12. DelReg=UnRegAll
  13. [RegAll]
  14. ; Register the User Prop Pages shell extension COM object
  15. HKCR,"CLSID\%CLSID_UserPropertyPages%",,,"%DESC_UsersPropertyPages%"
  16. HKCR,"CLSID\%CLSID_UserPropertyPages%\InProcServer32",,%REGEXSZ%,"%_SYS_MOD_PATH%"
  17. HKCR,"CLSID\%CLSID_UserPropertyPages%\InProcServer32","ThreadingModel",,"Apartment"
  18. ; Register Add Network Places regitem
  19. HKCR,"CLSID\%CLSID_AddNetPlace%",,,"%DESC_AddNetworkPlaces%"
  20. HKCR,"CLSID\%CLSID_AddNetPlace%","InfoTip",,"%IT_AddNetworkPlaces%"
  21. HKCR,"CLSID\%CLSID_AddNetPlace%\DefaultIcon",,%REGEXSZ%,"%_MOD_PATH%,-107"
  22. HKCR,"CLSID\%CLSID_AddNetPlace%\ShellFolder",Attributes,%REGDW%,0x00000000
  23. HKCR,"CLSID\%CLSID_AddNetPlace%\ShellFolder",HideInWebView,%REGDW%,0x00000001
  24. HKCR,"CLSID\%CLSID_AddNetPlace%\Shell\Open\Command",,%REGEXSZ%,"rundll32 %_SYS_MOD_PATH%,AddNetPlaceRunDll"
  25. HKLM,"%PATH_EXPLORER%\NetworkNeighborhood\NameSpace\%CLSID_AddNetPlace%",,,"%CLSID_AddNetPlace%"
  26. ; REST_NONETCONNECTDISCONNECT
  27. HKLM,"%PATH_EXPLORER%\NetworkNeighborhood\NameSpace\%CLSID_AddNetPlace%","SuppressionPolicy",%REGDW%,0x08000000
  28. ; Drop target object used for the publishing wizard.
  29. HKCR,"CLSID\%CLSID_PublishDropTarget%",,,"%DESC_PublishDropTarget%"
  30. HKCR,"CLSID\%CLSID_PublishDropTarget%\%IPS%",,%REGEXSZ%,"%_SYS_MOD_PATH%"
  31. HKCR,"CLSID\%CLSID_PublishDropTarget%\%IPS%","ThreadingModel",,"Apartment"
  32. HKLM,"%SMWCVSEA%","%CLSID_PublishDropTarget%",,"%DESC_PublishDropTarget%"
  33. ; Drop target object used for the photo printing wizard.
  34. HKCR,"CLSID\%CLSID_InternetPrintOrdering%",,,"%DESC_InternetPrintOrdering%"
  35. HKCR,"CLSID\%CLSID_InternetPrintOrdering%\%IPS%",,%REGEXSZ%,"%_SYS_MOD_PATH%"
  36. HKCR,"CLSID\%CLSID_InternetPrintOrdering%\%IPS%","ThreadingModel",,"Apartment"
  37. HKLM,"%SMWCVSEA%","%CLSID_InternetPrintOrdering%",,"%DESC_InternetPrintOrdering%"
  38. ; Publishing Wizard
  39. HKCR,"CLSID\%CLSID_PublishingWizard%",,,"%DESC_PublishingWizard%"
  40. HKCR,"CLSID\%CLSID_PublishingWizard%\%IPS%",,%REGEXSZ%,"%_SYS_MOD_PATH%"
  41. HKCR,"CLSID\%CLSID_PublishingWizard%\%IPS%","ThreadingModel",,"Apartment"
  42. HKLM,"%SMWCVSEA%","%CLSID_PublishingWizard%",,"%DESC_PublishingWizard%"
  43. ; the online prints wizard overrides some behaviour of the publishing wizard, including
  44. ; having a seperate content filter and a different icon for providers.
  45. HKLM,"%PATH_EXPLORER%\PublishingWizard\InternetPhotoPrinting","ContentTypeFilter",,"image/*"
  46. HKLM,"%PATH_EXPLORER%\PublishingWizard\InternetPhotoPrinting","DefaultIcon",,"shell32.dll,-251"
  47. ; Get a Passport Wizard
  48. HKCR,"CLSID\%CLSID_PassportWizard%",,,"%DESC_PassportWizard%"
  49. HKCR,"CLSID\%CLSID_PassportWizard%\%IPS%",,%REGEXSZ%,"%_SYS_MOD_PATH%"
  50. HKCR,"CLSID\%CLSID_PassportWizard%\%IPS%","ThreadingModel",,"Apartment"
  51. HKLM,"%SMWCVSEA%","%CLSID_PassportWizard%",,"%DESC_PassportWizard%"
  52. ; Passport services dual object
  53. HKCR,"CLSID\%CLSID_PassportClientServices%",,,"%DESC_PassportClientServices%"
  54. HKCR,"CLSID\%CLSID_PassportClientServices%\%IPS%",,%REGEXSZ%,"%_SYS_MOD_PATH%"
  55. HKCR,"CLSID\%CLSID_PassportClientServices%\%IPS%","ThreadingModel",,"Apartment"
  56. HKCR,"CLSID\%CLSID_PassportClientServices%\TypeLib",,,"%CLSID_Shell32TypeLib%"
  57. ; MSN "My Web Documents" Discovery Properties
  58. ; HKLM,"%PATH_EXPLORER%\WebDocumentsNetCrawler","CLSID",,"%CLSID_WebDocsNetCrawler%"
  59. ; HKLM,"%PATH_EXPLORER%\WebDocumentsNetCrawler","Server",,"http://www.msnusers.com"
  60. ; HKLM,"%PATH_EXPLORER%\WebDocumentsNetCrawler","IconPath",%REGEXSZ%,"%_SYS_MOD_PATH%,-239"
  61. ;; Workstation builds also register the RegItem for the Users and Passwords
  62. ;; CPL, we then RunDll netplwiz to get to it.
  63. [RegWorkstation]
  64. ; Register the Users control panel applet regitem
  65. HKCR,"CLSID\%CLSID_UsersAndPasswords%",,,"%DESC_UsersAndPasswords%"
  66. HKCR,"CLSID\%CLSID_UsersAndPasswords%","InfoTip",,"%IT_UsersAndPasswords%"
  67. HKCR,"CLSID\%CLSID_UsersAndPasswords%\ShellFolder",Attributes,%REGDW%,0x00000000
  68. HKCR,"CLSID\%CLSID_UsersAndPasswords%\DefaultIcon",,%REGEXSZ%,"%_SYS_MOD_PATH%,-102"
  69. HKCR,"CLSID\%CLSID_UsersAndPasswords%\Shell\Open\Command",,%REGEXSZ%,"rundll32.exe %_SYS_MOD_PATH%,UsersRunDll"
  70. ; nusrmgr.cpl now decides which user manager applet to start
  71. ;HKLM,"%PATH_EXPLORER%\ControlPanel\NameSpace\%CLSID_UsersAndPasswords%",,,"%DESC_UsersAndPasswords%"
  72. HKLM,"%SMWCVSEA%","%CLSID_UsersAndPasswords%",,"%DESC_UsersAndPasswords%"
  73. ;; clean up registry entries
  74. [UnRegWorkstation]
  75. HKLM,"%PATH_EXPLORER%\ControlPanel\NameSpace\%CLSID_UsersAndPasswords%"
  76. [UnRegAll]
  77. HKCR,"CLSID\%CLSID_UsersAndPasswords%"
  78. HKCR,"CLSID\%CLSID_UserPropertyPages%"
  79. HKCR,"CLSID\%CLSID_AddNetPlace%"
  80. HKCR,"CLSID\%CLSID_PublishDropTarget%"
  81. HKCR,"CLSID\%CLSID_PublishingWizard%"
  82. HKCR,".publishwizard"
  83. HKLM,"%PATH_EXPLORER%\ControlPanel\NameSpace\%CLSID_UsersAndPasswords%"
  84. HKCR,"AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To",,,"%CLSID_PublishDropTarget%"
  85. ;; strings etc
  86. [Strings]
  87. SMWCVSEA="Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved"
  88. PATH_EXPLORER="Software\Microsoft\Windows\CurrentVersion\Explorer"
  89. IPS="InProcServer32"
  90. CLSID_UserPropertyPages="{D707877E-4D9C-11d2-8784-F6E920524153}"
  91. CLSID_UsersAndPasswords="{7A9D77BD-5403-11d2-8785-2E0420524153}"
  92. CLSID_AddNetPlace="{D4480A50-BA28-11d1-8E75-00C04FA31A86}"
  93. CLSID_PublishDropTarget="{CC6EEFFB-43F6-46c5-9619-51D571967F7D}"
  94. CLSID_PublishingWizard="{6b33163c-76a5-4b6c-bf21-45de9cd503a1}"
  95. CLSID_InternetPrintOrdering="{add36aa8-751a-4579-a266-d66f5202ccbb}"
  96. CLSID_PassportWizard="{58f1f272-9240-4f51-b6d4-fd63d1618591}"
  97. CLSID_PassportClientServices="{2d2307c8-7db4-40d6-9100-d52af4f97a5b}"
  98. CLSID_Shell32TypeLib="{50a7e9b0-70ef-11d1-b75a-00a0c90564fe}"
  99. CLSID_WebDocsNetCrawler="{8a2ecb17-9007-4b9a-b271-7509095c405f}"
  100. REGEXSZ=0x00020000
  101. REGDW=0x00010001
  102. ; !!!!Localisable strings!!!!
  103. DESC_AddNetworkPlaces="Add Network Place"
  104. DESC_UsersAndPasswords="User Accounts"
  105. DESC_UsersPropertyPages="User Property Pages"
  106. DESC_PublishDropTarget="Web Publishing Wizard"
  107. DESC_PublishingWizard="Shell Publishing Wizard Object"
  108. DESC_InternetPrintOrdering="Print Ordering via the Web"
  109. DESC_PassportWizard="Get a Passport Wizard"
  110. DESC_PassportClientServices="Scriptable services for passport"
  111. IT_UsersAndPasswords="Manages users and passwords for this computer"
  112. IT_AddNetworkPlaces="Connects to shared folders, Web folders, and FTP sites."
  113. ERR_NOSETUPAPI="Can not register NETPLWIZ.DLL because SETUPAPI.DLL is missing."