Bug 1410944 - Support uninstalling a duplicated registry entry we might have erroneously created. r=agashlin

MozReview-Commit-ID: 3WR2NfAYFgl

--HG--
extra : rebase_source : 995b5f032b453524f96a54493f542609908be707
This commit is contained in:
Matt Howell 2017-10-23 11:04:59 -07:00
parent d360c9785d
commit 35e575e16b

View File

@ -322,6 +322,7 @@ Section "Uninstall"
DeleteRegKey HKLM "Software\Classes\FirefoxURL"
${StrFilter} "${FileMainEXE}" "+" "" "" $R9
DeleteRegKey HKLM "Software\Clients\StartMenuInternet\$R9"
DeleteRegValue HKLM "Software\RegisteredApplications" "$R9"
DeleteRegValue HKLM "Software\RegisteredApplications" "${AppRegName}"
${EndIf}
ReadRegStr $0 HKCU "Software\Classes\FirefoxHTML\DefaultIcon" ""
@ -331,6 +332,7 @@ Section "Uninstall"
DeleteRegKey HKCU "Software\Classes\FirefoxURL"
${StrFilter} "${FileMainEXE}" "+" "" "" $R9
DeleteRegKey HKCU "Software\Clients\StartMenuInternet\$R9"
DeleteRegValue HKCU "Software\RegisteredApplications" "$R9"
DeleteRegValue HKCU "Software\RegisteredApplications" "${AppRegName}"
${EndIf}