[MSXML3][BOOTDATA] Add icons for XML and XSL files and use them. Patch by Jared Smudde with some modifications by me. CORE-10133

svn path=/trunk/; revision=69257
This commit is contained in:
Robert Naumann 2015-09-16 21:45:48 +00:00
parent 0bd42eceac
commit d55c9cb497
6 changed files with 19 additions and 1 deletions

View file

@ -237,9 +237,16 @@ 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"

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -0,0 +1,4 @@
#pragma once
#define IDI_XML_FILE 128
#define IDI_XSL_FILE 129

View file

@ -0,0 +1,4 @@
#include "resource.h"
IDI_XML_FILE ICON "res/128.ico"
IDI_XML_SYSTEM ICON "res/129.ico"

View file

@ -32,3 +32,6 @@ WINE_MANIFEST 24 msxml3.manifest
2 WINE_REGISTRY "xmlparser.rgs"
#include "schemas.rc"
#ifdef __REACTOS__
#include "resources.rc"
#endif