Bug 688615 - Wrong reg key used in Installer shell icon handler code, r=rob_strong, a=ehsan

This commit is contained in:
Frank Wein 2011-12-14 22:38:33 +01:00
parent 3670abddbb
commit 6d41c00c3d

View File

@ -394,7 +394,7 @@
ClearErrors
ReadRegStr $1 HKLM "Software\Classes\FirefoxHTML\ShellEx\IconHandler" ""
${Unless} ${Errors}
ReadRegStr $1 HKLM "Software\Classes\FirefoxHTML\" ""
ReadRegStr $1 HKLM "Software\Classes\FirefoxHTML\DefaultIcon" ""
${GetLongPath} "$INSTDIR\${FileMainEXE}" $2
${If} "$1" != "$2,1"
WriteRegStr HKLM "Software\Classes\FirefoxHTML\DefaultIcon" "" "$2,1"