mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Win32 only - Bug 268512 - No .html icon for Firefox - only default application icon. r=sspitzer
This commit is contained in:
parent
9cde1b2f63
commit
34140f87ea
@ -210,6 +210,22 @@
|
||||
|
||||
; Vista Registered Application
|
||||
WriteRegStr HKLM "Software\RegisteredApplications" "${AppRegName}" "$0\Capabilities"
|
||||
|
||||
; The IconHandler reference for FirefoxHTML can end up in an inconsistent
|
||||
; state due to changes not being detected by the IconHandler for side by side
|
||||
; installs. The symptoms can be either an incorrect icon or no icon being
|
||||
; displayed for files associated with Firefox. By setting it here it will
|
||||
; always reference the install referenced in the
|
||||
; HKLM\Software\Classes\FirefoxHTML registry key.
|
||||
ClearErrors
|
||||
ReadRegStr $2 HKLM "Software\Classes\FirefoxHTML\ShellEx\IconHandler" ""
|
||||
${Unless} ${Errors}
|
||||
ClearErrors
|
||||
ReadRegStr $3 HKLM "Software\Classes\CLSID\$2\Old Icon\FirefoxHTML\DefaultIcon" ""
|
||||
${Unless} ${Errors}
|
||||
WriteRegStr HKLM "Software\Classes\CLSID\$2\Old Icon\FirefoxHTML\DefaultIcon" "" "$8,1"
|
||||
${EndUnless}
|
||||
${EndUnless}
|
||||
!macroend
|
||||
!define SetStartMenuInternet "!insertmacro SetStartMenuInternet"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user