summaryrefslogtreecommitdiffstats
path: root/browser/installer/windows/nsis/installer.nsi
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-05 12:41:16 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-05 12:41:16 +0100
commit2d652d1c355c8bdde03a6c278b5b7b444424e394 (patch)
tree0ea18eabc7d3cdec78e59701e10e15a662af6641 /browser/installer/windows/nsis/installer.nsi
parent2782832f265a8e0a7923ca885b431907cde7cc49 (diff)
parente8417003899a4ec9274815be30352c1328fc32e9 (diff)
downloadUXP-2d652d1c355c8bdde03a6c278b5b7b444424e394.tar
UXP-2d652d1c355c8bdde03a6c278b5b7b444424e394.tar.gz
UXP-2d652d1c355c8bdde03a6c278b5b7b444424e394.tar.lz
UXP-2d652d1c355c8bdde03a6c278b5b7b444424e394.tar.xz
UXP-2d652d1c355c8bdde03a6c278b5b7b444424e394.zip
Merge branch 'master' into ported-upstream
Diffstat (limited to 'browser/installer/windows/nsis/installer.nsi')
-rwxr-xr-xbrowser/installer/windows/nsis/installer.nsi24
1 files changed, 12 insertions, 12 deletions
diff --git a/browser/installer/windows/nsis/installer.nsi b/browser/installer/windows/nsis/installer.nsi
index 1f20c01eb..aed5808cd 100755
--- a/browser/installer/windows/nsis/installer.nsi
+++ b/browser/installer/windows/nsis/installer.nsi
@@ -253,7 +253,7 @@ Section "-InstallStartCleanup"
${InitHashAppModelId} "$INSTDIR" "Software\Mozilla\${AppName}\TaskBarIDs"
; Remove the updates directory for Vista and above
- ${CleanUpdateDirectories} "Mozilla\Firefox" "Mozilla\updates"
+ ${CleanUpdateDirectories} "Mozilla\Basilisk" "Mozilla\updates"
${RemoveDeprecatedFiles}
${RemovePrecompleteEntries} "false"
@@ -374,17 +374,17 @@ Section "-Application" APP_IDX
; it doesn't cause problems always add them.
${SetUninstallKeys}
- ; On install always add the FirefoxHTML and FirefoxURL keys.
- ; An empty string is used for the 5th param because FirefoxHTML is not a
+ ; On install always add the BasiliskHTML and BasiliskURL keys.
+ ; An empty string is used for the 5th param because BasiliskHTML is not a
; protocol handler.
${GetLongPath} "$INSTDIR\${FileMainEXE}" $8
StrCpy $2 "$\"$8$\" -osint -url $\"%1$\""
- ; In Win8, the delegate execute handler picks up the value in FirefoxURL and
- ; FirefoxHTML to launch the desktop browser when it needs to.
- ${AddDisabledDDEHandlerValues} "FirefoxHTML" "$2" "$8,1" \
+ ; In Win8, the delegate execute handler picks up the value in BasiliskURL and
+ ; BasiliskHTML to launch the desktop browser when it needs to.
+ ${AddDisabledDDEHandlerValues} "BasiliskHTML" "$2" "$8,1" \
"${AppRegName} Document" ""
- ${AddDisabledDDEHandlerValues} "FirefoxURL" "$2" "$8,1" "${AppRegName} URL" \
+ ${AddDisabledDDEHandlerValues} "BasiliskURL" "$2" "$8,1" "${AppRegName} URL" \
"true"
; For pre win8, the following keys should only be set if we can write to HKLM.
@@ -620,7 +620,7 @@ Section "-InstallEndCleanup"
; If we have something other than empty string now, write the value.
${If} "$0" != ""
ClearErrors
- WriteRegStr HKCU "Software\Mozilla\Firefox" "OldDefaultBrowserCommand" "$0"
+ WriteRegStr HKCU "Software\Mozilla\Basilisk" "OldDefaultBrowserCommand" "$0"
${EndIf}
${LogHeader} "Setting as the default browser"
@@ -636,7 +636,7 @@ Section "-InstallEndCleanup"
${ElseIfNot} ${Errors}
${LogHeader} "Writing default-browser opt-out"
ClearErrors
- WriteRegStr HKCU "Software\Mozilla\Firefox" "DefaultBrowserOptOut" "True"
+ WriteRegStr HKCU "Software\Mozilla\Basilisk" "DefaultBrowserOptOut" "True"
${If} ${Errors}
${LogMsg} "Error writing default-browser opt-out"
${EndIf}
@@ -1049,14 +1049,14 @@ Function preSummary
WriteRegStr HKLM "Software\Mozilla" "${BrandShortName}InstallerTest" "Write Test"
${Unless} ${Errors}
DeleteRegValue HKLM "Software\Mozilla" "${BrandShortName}InstallerTest"
- ; Check if Firefox is the http handler for this user.
+ ; Check if Basilisk is the http handler for this user.
SetShellVarContext current ; Set SHCTX to the current user
${IsHandlerForInstallDir} "http" $R9
${If} $TmpVal == "HKLM"
SetShellVarContext all ; Set SHCTX to all users
${EndIf}
- ; If Firefox isn't the http handler for this user show the option to set
- ; Firefox as the default browser.
+ ; If Basilisk isn't the http handler for this user show the option to set
+ ; Basilisk as the default browser.
${If} "$R9" != "true"
${AndIf} ${AtMostWin2008R2}
WriteINIStr "$PLUGINSDIR\summary.ini" "Settings" NumFields "4"