https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c5b029d0fc065faccb3c3176f6ba1b407bfe9555

commit c5b029d0fc065faccb3c3176f6ba1b407bfe9555
Author:     Hermès Bélusca-Maïto <[email protected]>
AuthorDate: Sun Jan 30 03:45:34 2022 +0100
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Sun Jan 30 03:51:34 2022 +0100

    [BOOTDATA] "open" actions for 'msstylesfile' and 'themefile' should be 
REG_EXPAND_SZ since they contain unexpanded environment variables.
---
 boot/bootdata/hivecls.inf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/boot/bootdata/hivecls.inf b/boot/bootdata/hivecls.inf
index 103fed49b8c..89a72322516 100644
--- a/boot/bootdata/hivecls.inf
+++ b/boot/bootdata/hivecls.inf
@@ -510,14 +510,14 @@ 
HKCR,"sysfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-154
 HKCR,".msstyles","",0x00000000,"msstylesfile"
 HKCR,"msstylesfile","",0x00000000,%MSSTYLESFILE%
 
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"""
-HKCR,"msstylesfile\shell\Enable\command","",0x00000000,"%SystemRoot%\system32\rundll32.exe
 shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Appearance 
/Action:ActivateMSTheme /file:""%1"""
+HKCR,"msstylesfile\shell\open\command","",0x00020000,"%SystemRoot%\system32\rundll32.exe
 shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Appearance 
/Action:OpenMSTheme /file:""%1"""
+HKCR,"msstylesfile\shell\Enable\command","",0x00020000,"%SystemRoot%\system32\rundll32.exe
 shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Appearance 
/Action:ActivateMSTheme /file:""%1"""
 
 ; Theme Files
 HKCR,".theme","",0x00000000,"themefile"
 HKCR,"themefile","",0x00000000,%THEMEFILE%
 
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"""
+HKCR,"themefile\shell\open\command","",0x00020000,"%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"

Reply via email to