mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 19:21:56 +00:00
[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:
parent
0bd42eceac
commit
d55c9cb497
6 changed files with 19 additions and 1 deletions
|
@ -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"
|
||||
|
|
BIN
reactos/dll/win32/msxml3/res/128.ico
Normal file
BIN
reactos/dll/win32/msxml3/res/128.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
reactos/dll/win32/msxml3/res/129.ico
Normal file
BIN
reactos/dll/win32/msxml3/res/129.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
4
reactos/dll/win32/msxml3/resource.h
Normal file
4
reactos/dll/win32/msxml3/resource.h
Normal file
|
@ -0,0 +1,4 @@
|
|||
#pragma once
|
||||
|
||||
#define IDI_XML_FILE 128
|
||||
#define IDI_XSL_FILE 129
|
4
reactos/dll/win32/msxml3/resources.rc
Normal file
4
reactos/dll/win32/msxml3/resources.rc
Normal file
|
@ -0,0 +1,4 @@
|
|||
#include "resource.h"
|
||||
|
||||
IDI_XML_FILE ICON "res/128.ico"
|
||||
IDI_XML_SYSTEM ICON "res/129.ico"
|
|
@ -32,3 +32,6 @@ WINE_MANIFEST 24 msxml3.manifest
|
|||
2 WINE_REGISTRY "xmlparser.rgs"
|
||||
|
||||
#include "schemas.rc"
|
||||
#ifdef __REACTOS__
|
||||
#include "resources.rc"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue