Bug 400467 - Java broken on Vista after Firefox 2.0.0.8 upgrade (says Java Not Found, Or Not Working). r=sspitzer, a1.9=schrep (verbal)

This commit is contained in:
rob_strong@exchangecode.com 2007-10-23 10:34:39 -07:00
parent d271752edf
commit 74c246cb4c
2 changed files with 10 additions and 0 deletions

View File

@ -395,6 +395,11 @@ Section "-Application" APP_IDX
StrCpy $TmpVal "HKLM" ; used primarily for logging
${RegCleanMain} "Software\Mozilla"
${RegCleanUninstall}
ReadRegStr $0 HKLM "Software\mozilla.org\Mozilla" "CurrentVersion"
${If} "$0" != "${GREVersion}"
WriteRegStr HKLM "Software\mozilla.org\Mozilla" "CurrentVersion" "${GREVersion}"
${EndIf}
${EndIf}
${RemoveDeprecatedKeys}

View File

@ -55,6 +55,11 @@
${SetStartMenuInternet}
${FixShellIconHandler}
${SetUninstallKeys}
ReadRegStr $0 HKLM "Software\mozilla.org\Mozilla" "CurrentVersion"
${If} "$0" != "${GREVersion}"
WriteRegStr HKLM "Software\mozilla.org\Mozilla" "CurrentVersion" "${GREVersion}"
${EndIf}
${EndIf}
${RemoveDeprecatedKeys}