Leaked source code of windows server 2003
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.

172 lines
8.4 KiB

  1. ;*****************************************************************************
  2. ; FILE: selfreg.inx
  3. ;
  4. ; DESCRIPTION:
  5. ; This file will register the COM objects associated with the
  6. ; Theme UI API, which is exposed via an Object Model.
  7. ;
  8. ; BryanSt 4/4/2000 (Bryan Starbuck)
  9. ; Copyright (C) Microsoft Corp 2000-2000. All rights reserved.
  10. ;*****************************************************************************
  11. [Version]
  12. Signature="$CHICAGO$"
  13. AdvancedINF=2.0
  14. [DLL_RegInstall]
  15. ComponentName=Microsoft.Theme
  16. ComponentVersion=1
  17. AdvOptions=36
  18. AddReg=AddRegSection
  19. RequiredEngine=SETUPAPI,%ERR_NOSETUPAPI%
  20. [DLL_RegUnInstall]
  21. ComponentName=Microsoft.Theme
  22. AdvOptions=260
  23. RequiredEngine=SETUPAPI,%ERR_NOSETUPAPI%
  24. [AddRegSection]
  25. ; Automation COM Objects
  26. HKCR,"CLSID\%CLSID_ThemeManager%",,,"%DESC_ThemeManager%"
  27. HKCR,"CLSID\%CLSID_ThemeManager%\DefaultIcon",,%RES%,"%_SYS_MOD_PATH%,7"
  28. HKCR,"CLSID\%CLSID_ThemeManager%\%IPS%",,%RES%,"%_SYS_MOD_PATH%"
  29. HKCR,"CLSID\%CLSID_ThemeManager%\%IPS%","ThreadingModel",,"Apartment"
  30. HKCR,"CLSID\%CLSID_ThemeManager%\ProgID",,,"%PROGID_ThemeManager%.1"
  31. HKCR,"CLSID\%CLSID_ThemeManager%\Version",,,"1.0"
  32. HKCR,"CLSID\%CLSID_ThemeManager%\VersionIndependentProgID",,,"%PROGID_ThemeManager%"
  33. HKCR,"CLSID\%CLSID_ThemeManager%\TypeLib",,,"%TYPELIB_THEME%"
  34. HKCR,"%PROGID_ThemeManager%",,,"%DESC_ThemeManager%"
  35. HKCR,"%PROGID_ThemeManager%\CLSID",,,"%CLSID_ThemeManager%"
  36. HKCR,"%PROGID_ThemeManager%\CurVer",,,"%PROGID_ThemeManager%.1"
  37. HKCR,"%PROGID_ThemeManager%.1",,,"%DESC_ThemeManager%"
  38. HKCR,"%PROGID_ThemeManager%.1\CLSID",,,"%CLSID_ThemeManager%"
  39. ; Non-Automation COM objects
  40. HKCR,"CLSID\%CLSID_ThemeUIPages%",,,"%DESC_ThemeUIPages%"
  41. HKCR,"CLSID\%CLSID_ThemeUIPages%\DefaultIcon",,%RES%,"%_SYS_MOD_PATH%,7"
  42. HKCR,"CLSID\%CLSID_ThemeUIPages%\%IPS%",,%RES%,"%_SYS_MOD_PATH%"
  43. HKCR,"CLSID\%CLSID_ThemeUIPages%\%IPS%","ThreadingModel",,"Apartment"
  44. HKCR,"CLSID\%CLSID_ThemePreview%",,,"%DESC_ThemePreview%"
  45. HKCR,"CLSID\%CLSID_ThemePreview%\DefaultIcon",,%RES%,"%_SYS_MOD_PATH%,7"
  46. HKCR,"CLSID\%CLSID_ThemePreview%\%IPS%",,%RES%,"%_SYS_MOD_PATH%"
  47. HKCR,"CLSID\%CLSID_ThemePreview%\%IPS%","ThreadingModel",,"Apartment"
  48. HKCR,"CLSID\%CLSID_SettingsPage%",,,"%DESC_SettingsPage%"
  49. HKCR,"CLSID\%CLSID_SettingsPage%\DefaultIcon",,%RES%,"%_SYS_MOD_PATH%,7"
  50. HKCR,"CLSID\%CLSID_SettingsPage%\%IPS%",,%RES%,"%_SYS_MOD_PATH%"
  51. HKCR,"CLSID\%CLSID_SettingsPage%\%IPS%","ThreadingModel",,"Apartment"
  52. HKCR,"CLSID\%CLSID_ScreenResFixer%",,,"%DESC_ScreenResFixer%"
  53. HKCR,"CLSID\%CLSID_ScreenResFixer%\DefaultIcon",,%RES%,"%_SYS_MOD_PATH%,7"
  54. HKCR,"CLSID\%CLSID_ScreenResFixer%\%IPS%",,%RES%,"%_SYS_MOD_PATH%"
  55. HKCR,"CLSID\%CLSID_ScreenResFixer%\%IPS%","ThreadingModel",,"Apartment"
  56. HKCR,"CLSID\%CLSID_DisplaySettings%",,,"%DESC_DisplaySettings%"
  57. HKCR,"CLSID\%CLSID_DisplaySettings%\DefaultIcon",,%RES%,"%_SYS_MOD_PATH%,7"
  58. HKCR,"CLSID\%CLSID_DisplaySettings%\%IPS%",,%RES%,"%_SYS_MOD_PATH%"
  59. HKCR,"CLSID\%CLSID_DisplaySettings%\%IPS%","ThreadingModel",,"Apartment"
  60. HKCR,"CLSID\%CLSID_ScreenSaverPage%",,,"%DESC_ScreenSaverPage%"
  61. HKCR,"CLSID\%CLSID_ScreenSaverPage%\DefaultIcon",,%RES%,"%_SYS_MOD_PATH%,7"
  62. HKCR,"CLSID\%CLSID_ScreenSaverPage%\%IPS%",,%RES%,"%_SYS_MOD_PATH%"
  63. HKCR,"CLSID\%CLSID_ScreenSaverPage%\%IPS%","ThreadingModel",,"Apartment"
  64. ; Add the Visual Style directories
  65. HKLM,"Software\Microsoft\Windows\CurrentVersion\Themes\VisualStyleDirs","1",%REGEXSZ%,"%%ResourceDir%%\Themes"
  66. ; Specify the menu SPI values we set when switching from Skin->NoSkin.
  67. HKLM,"Software\Microsoft\Windows\CurrentVersion\Themes","Drop Shadow",,"FALSE"
  68. HKLM,"Software\Microsoft\Windows\CurrentVersion\Themes","Flat Menus",,"FALSE"
  69. ; The Plus! Team is providing an URL to download more .theme files.
  70. HKLM,"Software\Microsoft\Windows\CurrentVersion\Themes\DownloadSites\100","DisplayName",,"@themeui.dll,-2015"
  71. HKLM,"Software\Microsoft\Windows\CurrentVersion\Themes\DownloadSites\100","URL",,"http://go.microsoft.com/fwlink/?LinkId=488"
  72. ; Specify that the Plus tab (Effects) is in ThemeUI.
  73. HKCR,"CLSID\%CLSID_EffectsPages%\%IPS%","ThreadingModel",,"Apartment"
  74. HKCR,"CLSID\%CLSID_EffectsPages%\%IPS%",,%RES%,"%_SYS_MOD_PATH%"
  75. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\Display\shellex\PropertySheetHandlers\PlusPack CPL Extension",,,"%CLSID_EffectsPages%"
  76. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","%CLSID_EffectsPages%",,"PlusPack CPL Extension"
  77. ; Have ActiveSetup call us per upgrade so we can do the "Themes Setup"
  78. HKLM,"Software\Microsoft\Active Setup\Installed Components\{2C7339CF-2B09-4501-B3F3-F3508C9228ED}",,,"%ASETUP_THEME_DESC%"
  79. HKLM,"Software\Microsoft\Active Setup\Installed Components\{2C7339CF-2B09-4501-B3F3-F3508C9228ED}","ComponentID",,"%THEMECOMPONENTID%"
  80. HKLM,"Software\Microsoft\Active Setup\Installed Components\{2C7339CF-2B09-4501-B3F3-F3508C9228ED}","IsInstalled",%REGDW%,1,0,0,0
  81. HKLM,"Software\Microsoft\Active Setup\Installed Components\{2C7339CF-2B09-4501-B3F3-F3508C9228ED}","Locale",,"%ASETUP_LOCALE%"
  82. HKLM,"Software\Microsoft\Active Setup\Installed Components\{2C7339CF-2B09-4501-B3F3-F3508C9228ED}","StubPath",%REGEXSZ%,"%SystemRoot%\system32\regsvr32.exe /s /n /i:/UserInstall %SystemRoot%\system32\themeui.dll"
  83. HKLM,"Software\Microsoft\Active Setup\Installed Components\{2C7339CF-2B09-4501-B3F3-F3508C9228ED}","Version",,"1,1,1,7"
  84. HKLM,"SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\IE40"
  85. ; Specify the setup values
  86. HKLM,"Software\Microsoft\Windows\CurrentVersion\Themes","SetupVersion",,"7"
  87. ; Add the file association for .theme and .msstyles files.
  88. HKCR,".theme",,,"themefile"
  89. HKCR,"themefile",,,"%DESC_THEMEFILE%"
  90. HKCR,"themefile\shell\open\command",,%REGEXSZ%,"%%SystemRoot%%\system32\rundll32.exe %%SystemRoot%%\system32\shell32.dll,Control_RunDLL %%SystemRoot%%\system32\desk.cpl desk,@Themes /Action:OpenTheme /file:""%1"""
  91. HKCR,"themefile\DefaultIcon",,%REGEXSZ%,"%_SYS_MOD_PATH%,-701"
  92. HKCR,".msstyles",,,"msstylesfile"
  93. HKCR,"msstylesfile",,,"%DESC_MSSTYLE%"
  94. HKCR,"msstylesfile\shell\open\command",,%REGEXSZ%,"%%SystemRoot%%\system32\rundll32.exe %%SystemRoot%%\system32\shell32.dll,Control_RunDLL %%SystemRoot%%\system32\desk.cpl desk,@Appearance /Action:OpenMSTheme /file:""%1"""
  95. HKCR,"msstylesfile\DefaultIcon",,%REGEXSZ%,"%_SYS_MOD_PATH%,-701"
  96. [Strings]
  97. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  98. ; Do not localize these
  99. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  100. RES= 0x00020000
  101. IPS="InProcServer32"
  102. ; (REG_EXPAND_SZ << 16)
  103. REGEXSZ=0x00020000
  104. ; (REG_DWORD << 16)
  105. REGDW=0x00010001
  106. CLSID_ThemeManager = "{2E17C0EF-2851-459b-A3C8-27A41D4BC9F7}"
  107. DESC_ThemeManager = "Windows Theme Manager API"
  108. PROGID_ThemeManager = "Theme.Manager"
  109. CLSID_ThemePreview = "{B7BBD408-F09C-4aa8-B65E-A00B8FE0F0B9}"
  110. DESC_ThemePreview = "Windows Theme Preview API"
  111. CLSID_ThemeUIPages = "{B12AE898-D056-4378-A844-6D393FE37956}"
  112. DESC_ThemeUIPages = "Windows ThemeUI Pages"
  113. CLSID_SettingsPage = "{4c892621-6757-4fe0-ad8c-a6301be7fba2}"
  114. DESC_SettingsPage = "Windows Settings Page"
  115. CLSID_ScreenResFixer = "{5a3d988e-820d-4aaf-ba87-440081768a17}"
  116. DESC_ScreenResFixer = "Windows Screen Resolution Fixer"
  117. CLSID_DisplaySettings = "{c79d1575-b8c6-4862-a284-788836518b97}"
  118. DESC_DisplaySettings = "Windows Display Settings"
  119. CLSID_ScreenSaverPage = "{ADB9F5A4-E73E-49b8-99B6-2FA317EF9DBC}"
  120. DESC_ScreenSaverPage = "Windows ScreenSaver Properties"
  121. CLSID_EffectsPages = "{41E300E0-78B6-11ce-849B-444553540000}"
  122. ASETUP_THEME_DESC = "Themes Setup"
  123. THEMECOMPONENTID = "Theme Component"
  124. TYPELIB_THEME = "{40643250-8D23-47fb-895C-EAF48E2C8892}"
  125. CATID_SafeForInitializing = "{7DD95801-9882-11CF-9FA9-00AA006C42C4}"
  126. CATID_SafeForScripting = "{7DD95802-9882-11CF-9FA9-00AA006C42C4}"
  127. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  128. ; Localize These...
  129. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  130. LANGUAGE_ID_CURRENT = "0409"
  131. ERR_NOSETUPAPI = "Internet Explorer 4.0 needs to be installed for this product to be installed."
  132. DESC_MSSTYLE = "Windows Visual Style File"
  133. DESC_THEMEFILE = "Windows Theme File"
  134. ASETUP_LOCALE = "EN"