[MSXML3][BOOTDATA] Add icons for XML and XSL files and use them. Patch by Jared Smudd...
[reactos.git] / reactos / boot / bootdata / hivecls.inf
index 6578f8e..940edf6 100644 (file)
@@ -35,7 +35,9 @@ HKCR,"rtffile\shell\open\command","",0x00020000,"%SystemRoot%\system32\wordpad.e
 
 ; Virtual Device Drivers
 HKCR,".386","",0x00000000,"vxdfile"
+HKCR,".386","PerceivedType",0x00000000,"system"
 HKCR,".vxd","",0x00000000,"vxdfile"
+HKCR,".vxd","PerceivedType",0x00000000,"system"
 HKCR,"vxdfile","",0x00000000,"Virtual Device Driver"
 HKCR,"vxdfile","NoOpen",0x00000000,""
 HKCR,"vxdfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-157"
@@ -108,25 +110,32 @@ HKCR,"exefile\shellex\DropHandler","",0x00020000,"{86C86720-42A0-1069-A2E8-08002
 
 ; Fonts
 HKCR,".fon","",0x00000000,"fonfile"
-HKCR,"fonfile","",0x00000000,"Font File"
+HKCR,"fonfile","",0x00000000,"Font file"
 HKCR,"fonfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-166"
 HKCR,"fonfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-155"
+HKCR,"fonfile\shell\open\command","",0x00020000,"%SystemRoot%\system32\fontview.exe %1"
 
 HKCR,".ttf","",0x00000000,"ttffile"
-HKCR,"ttffile","",0x00000000,"TrueType Font File"
-HKCR,"ttffile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-156"
+HKCR,"ttffile","",0x00000000,"TrueType font file"
 HKCR,"ttffile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-167"
+HKCR,"ttffile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-156"
 HKCR,"ttffile\shell\open\command","",0x00020000,"%SystemRoot%\system32\fontview.exe %1"
 
+HKCR,".otf","",0x00000000,"otffile"
+HKCR,"otffile","",0x00000000,"OpenType font file"
+HKCR,"otffile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-156"
+HKCR,"otffile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-167"
+HKCR,"otffile\shell\open\command","",0x00020000,"%SystemRoot%\system32\fontview.exe %1"
+
 ; Help Files
 HKCR,".hlp","",0x00000000,"hlpfile"
 HKCR,"hlpfile","",0x00000000,"Help File"
 HKCR,"hlpfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-168"
 HKCR,"hlpfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-24"
-HKCR,"hlpfile\shell\open\command","",0x00020000,"%SystemRoot%\system32\winhlp32.exe %1"
+HKCR,"hlpfile\shell\open\command","",0x00020000,"%SystemRoot%\winhlp32.exe %1"
 
 HKCR,".chm","",0x00000000,"chm.file"
-HKCR,"chm.file","",0x00000000,"Help File"
+HKCR,"chm.file","",0x00000000,"Compiled HTML Help File"
 HKCR,"chm.file","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-168"
 HKCR,"chm.file\DefaultIcon","",0x00020000,"%SystemRoot%\hh.exe,0"
 HKCR,"chm.file\shell\open\command","",0x00020000,"%SystemRoot%\hh.exe %1"
@@ -134,8 +143,12 @@ HKCR,"chm.file\shell\open\command","",0x00020000,"%SystemRoot%\hh.exe %1"
 ; set MIME type for .html and .htm because Tiny webserver needs it
 HKCR,".htm","",0x00000000,"htmlfile"
 HKCR,".htm","Content Type",0x00000000,"text/html"
+HKCR,".htm","PerceivedType",0x00000000,"text"
 HKCR,".html","",0x00000000,"htmlfile"
 HKCR,".html","Content Type",0x00000000,"text/html"
+HKCR,".html","PerceivedType",0x00000000,"text"
+HKCR,"htmlfile","",0x00000000,"HTML File"
+HKCR,"htmlfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\ieframe.dll,0"
 HKCR,"htmlfile\shell\open\command","",0x00020000,"""%programfiles%\Internet Explorer\iexplore.exe"" %1"
 
 ; Icons
@@ -153,20 +166,20 @@ HKCR,"jpegfile\shell\open\command","",0x00020000,"rundll32.exe %SystemRoot%\syst
 ; Bitmap Images
 HKCR,".bmp","",0x00000000,"bmpfile"
 HKCR,"bmpfile","",0x00000000,"Bitmap Image"
-HKCR,"bmpfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shimgvw.dll,0"
+HKCR,"bmpfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shimgvw.dll,1"
 HKCR,"bmpfile\shell\open\command","",0x00020000,"rundll32.exe %SystemRoot%\system32\shimgvw.dll,ImageView_Fullscreen %1"
 
 ; PNG Images
 HKCR,".png","",0x00000000,"pngfile"
 HKCR,"pngfile","",0x00000000,"PNG Image"
-HKCR,"pngfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shimgvw.dll,0"
+HKCR,"pngfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shimgvw.dll,2"
 HKCR,"pngfile\shell\open\command","",0x00020000,"rundll32.exe %SystemRoot%\system32\shimgvw.dll,ImageView_Fullscreen %1"
 
 ; GIF Images
 HKCR,".gif","",0x00000000,"giffile"
 HKCR,"giffile","",0x00000000,"GIF Image"
-HKCR,"giffile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shimgvw.dll,0"
-HKCR,"giffile\shell\open\command","",0x00020000,"rundll32.exe %SystemRoot%\system32\shimgvw.dll,ImageView_Fullscreen %1"
+HKCR,"giffile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shimgvw.dll,2"
+HKCR,"giffile\shell\open\command","",0x00020000,"""%programfiles%\Internet Explorer\iexplore.exe"" %1"
 
 ; Configuration Files
 HKCR,".ini","",0x00000000,"inifile"
@@ -207,6 +220,11 @@ HKCR,".c","",0x00000000,"txtfile"
 HKCR,".cpp","",0x00000000,"txtfile"
 HKCR,".h","",0x00000000,"txtfile"
 HKCR,".hpp","",0x00000000,"txtfile"
+HKCR,".txt","PerceivedType",0x00000000,"text"
+HKCR,".c","PerceivedType",0x00000000,"text"
+HKCR,".cpp","PerceivedType",0x00000000,"text"
+HKCR,".h","PerceivedType",0x00000000,"text"
+HKCR,".hpp","PerceivedType",0x00000000,"text"
 HKCR,".txt\shellnew","",0x00000000,""
 HKCR,".txt\shellnew","NullFile",0x00020000,""
 HKCR,"txtfile","",0x00000000,"Text Document"
@@ -219,12 +237,20 @@ HKCR,"txtfile\shell\print\command","",0x00000000,"notepad.exe /p ""%1"""
 HKCR,".xml","",0x00000000,"xmlfile"
 HKCR,"xmlfile","",0x00000000,"XML Document"
 HKCR,".xml","Content Type",0x00000000,"text/xml"
-HKCR,"xmlfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-151"
+HKCR,"xmlfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\msxml3.dll,0"
 HKCR,"xmlfile\shell\open\command","",0x00020000,"%SystemRoot%\system32\notepad.exe %1"
 
+; XSL Stylesheets
+HKCR,".xsl","",0x00000000,"xslfile"
+HKCR,"xslfile","",0x00000000,"XSL Stylesheet"
+HKCR,".xsl","Content Type",0x00000000,"text/xml"
+HKCR,"xslfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\msxml3.dll,1"
+HKCR,"xslfile\shell\open\command","",0x00020000,"%SystemRoot%\system32\notepad.exe %1"
+
 ; MSI files
 HKCR,".msi","",0x00000000,"MSI.Package"
 HKCR,"Msi.Package\DefaultIcon","",0x00000000,"msiexec.exe"
+HKCR,"Msi.Package","",0x00000000,"ReactOS Installer Package"
 HKCR,"Msi.Package\shell\Open\command","",0x00020000,"%SystemRoot%\system32\msiexec.exe /i ""%1"""
 HKCR,"Msi.Package\shell\Repair\command","",0x00020000,"%SystemRoot%\system32\msiexec.exe /f ""%1"""
 HKCR,"Msi.Package\shell\Uninstall\command","",0x00020000,"%SystemRoot%\system32\msiexec.exe /x ""%1"""
@@ -253,19 +279,36 @@ HKCR,"scrfile\shell\open\command","",0x00000000,"""%1"" /S"
 
 ; shell command files (e.g. "Show Desktop" in quicklaunch bar)
 HKCR,".scf","",0x00000000,"SHCmdFile"
+HKCR,"SHCmdFile","",0x00000000,"ReactOS Explorer Command"
 HKCR,"SHCmdFile","NeverShowExt",0x00000000,""
-HKCR,"SHCmdFile","IsShortcut",0x00000000,"yes"
-HKCR,"SHCmdFile\shell\open\command","",0x00000000,"explorer.exe ""%1"""
+HKCR,"SHCmdFile","InfoTip",0x00000000,"prop:DocComments"
+HKCR,"SHCmdFile\shell\open\command","",0x00000000,"%systemroot%\explorer.exe"
+HKCR,"SHCmdFile\shell\open\ddeexec","",0x00000000,"[ShellFile(\"%1\",\"%1\",%S)]"
+HKCR,"SHCmdFile\shell\open\ddeexec\Application","",0x00000000,"Folders"
+HKCR,"SHCmdFile\shell\open\ddeexec\Topic","",0x00000000,"AppProperties"
 HKCR,"SHCmdFile\CLSID","",0x00000000,"{57651662-CE3E-11D0-8D77-00C04FC99D61}"
 HKCR,"SHCmdFile\shellex\IconHandler","",0x00000000,"{57651662-CE3E-11D0-8D77-00C04FC99D61}"
+HKCR,"SHCmdFile\shellex\DropHandler","",0x00000000,"{86C86720-42A0-1069-A2E8-08002B30309D}"
 
 ; System-Files
 HKCR,".sys","",0x00000000,"sysfile"
 HKCR,"sysfile","",0x00000000,"System File"
 HKCR,"sysfile","NoOpen",0x00000000,""
-HKCR,"regfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-171"
+HKCR,"sysfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-171"
 HKCR,"sysfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-154"
 
+; MS Styles (Themes)
+HKCR,".msstyles","",0x00000000,"msstylesfile"
+HKCR,"msstylesfile","",0x00000000,"Visual Style File"
+HKCR,"msstylesfile\DefaultIcon","","0x00020000","%SystemRoot%\system32\themeui.dll,-1"
+HKCR,"msstylesfile\shell\open\command","",0x00000000,"%SystemRoot%\system32\rundll32.exe shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Appearance /Action:OpenMSTheme file:""%1"""
+
+; Theme File
+HKCR,".theme","",0x00000000,"themefile"
+HKCR,"themefile","",0x00000000,"Theme File"
+HKCR,"themefile\DefaultIcon","","0x00020000","%SystemRoot%\system32\themeui.dll,-1"
+HKCR,"themefile\shell\open\command","",0x00000000,"%SystemRoot%\system32\rundll32.exe shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Appearance /Action:OpenTheme /file:""%1"""
+
 ; URL shortcuts (e.g. used in favorites folder of IExplorer)
 HKCR,".url","",0x00000000,"InternetShortcut"
 
@@ -336,6 +379,43 @@ HKCR,"Applications\notepad.exe\shell\open\command","",0x00000002,"notepad.exe %1
 HKCR,"Applications\mspaint.exe\shell\open\command","",0x00000002,"mspaint.exe %1"
 HKCR,"Applications\wordpad.exe\shell\open\command","",0x00000002,"wordpad.exe %1"
 
+; Misc Perceived types
+HKCR,".asm","PerceivedType",0x00000000,"text"
+HKCR,".asmx","PerceivedType",0x00000000,"text"
+HKCR,".aspx","PerceivedType",0x00000000,"text"
+HKCR,".chk","PerceivedType",0x00000000,"system"
+HKCR,".css","",0x00000000,"CSSfile"
+HKCR,".css","PerceivedType",0x00000000,"text"
+HKCR,".cxx","PerceivedType",0x00000000,"text"
+HKCR,".def","PerceivedType",0x00000000,"text"
+HKCR,".diz","PerceivedType",0x00000000,"text"
+HKCR,".gz","PerceivedType",0x00000000,"compressed"
+HKCR,".hxx","PerceivedType",0x00000000,"text"
+HKCR,".inc","PerceivedType",0x00000000,"text"
+HKCR,".java","PerceivedType",0x00000000,"text"
+HKCR,".local","PerceivedType",0x00000000,"system"
+HKCR,".manifest","PerceivedType",0x00000000,"system"
+HKCR,".nvr","PerceivedType",0x00000000,"text"
+HKCR,".ocx","",0x00000000,"ocxfile"
+HKCR,".ocx","PerceivedType",0x00000000,"system"
+HKCR,".php3","PerceivedType",0x00000000,"text"
+HKCR,".pl","PerceivedType",0x00000000,"text"
+HKCR,".plg","PerceivedType",0x00000000,"text"
+HKCR,".ps1xml","PerceivedType",0x00000000,"text"
+HKCR,".sed","PerceivedType",0x00000000,"text"
+HKCR,".shtml","PerceivedType",0x00000000,"text"
+HKCR,".sql","PerceivedType",0x00000000,"text"
+HKCR,".tar","PerceivedType",0x00000000,"compressed"
+HKCR,".text","PerceivedType",0x00000000,"text"
+HKCR,".tgz","PerceivedType",0x00000000,"compressed"
+HKCR,".tsv","PerceivedType",0x00000000,"text"
+HKCR,".wdp","PerceivedType",0x00000000,"image"
+HKCR,".wmz","",0x00000000,"WMZFile"
+HKCR,".wmz","PerceivedType",0x00000000,"compressed"
+HKCR,".wsz","PerceivedType",0x00000000,"compressed"
+HKCR,".x","PerceivedType",0x00000000,"text"
+HKCR,".z","PerceivedType",0x00000000,"compressed"
+
 ; For language support:
 
 HKCR,"MIME",,0x00000012
@@ -491,6 +571,11 @@ CPLFILE_OPENWITH="Ouvrir avec le Panneau de Contrôle"
 CPLFILE="Aplet Panelu Sterowania"
 CPLFILE_OPENWITH="Otwórz poprzez Panel Sterowania"
 
+; LANG_SPANISH SUBLANG_NEUTRAL
+[Strings.0a]
+CPLFILE="Extensión del Panel de control"
+CPLFILE_OPENWITH="Abrir con el Panel de control"
+
 ; LANG_ROMANIAN SUBLANG_NEUTRAL
 [Strings.0018]
 CPLFILE="Extensie pentru panou de control"
@@ -501,4 +586,9 @@ CPLFILE_OPENWITH="Deschide în panou de control"
 CPLFILE="Элемент панели управления"
 CPLFILE_OPENWITH="Открыть с помощью Панели управления"
 
+; Turkish
+[Strings.041f]
+CPLFILE="Denetim Masası Uzantısı"
+CPLFILE_OPENWITH="Denetim Masası'yla Aç"
+
 ; EOF