Closed
Bug 1355941
Opened 7 years ago
Closed 5 years ago
Misuse of $TmpVal in installer
Categories
(Firefox :: Installer, task, P5)
Tracking
()
RESOLVED
FIXED
Firefox 69
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: agashlin, Assigned: jewilde)
Details
Attachments
(1 file)
This use of $TmpVal in Function preSummary seems to be assuming it is either HKLM or HKCU, as it is in Section "-Application": > ${If} $TmpVal == "HKLM" > SetShellVarContext all ; Set SHCTX to all users > ${EndIf} http://searchfox.org/mozilla-central/rev/2fc8c8d483d9ec9fd0ec319c6c53807f7fa8e8a2/browser/installer/windows/nsis/installer.nsi#1013 But when preSummary runs, $TmpVal is not yet set this way, as the install hasn't started yet, so the test will always fail. A few lines down there's a check of $TmpVal against values set in CheckExistingInstall, called from leaveOptions, leaveDirectory, leaveShortcuts, so even if $TmpVal had been set to "HKLM" it wouldn't have survived if there was a preexisting Firefox install. It's not clear whether this matters, likely not as it seems this had never worked as intended.
Updated•7 years ago
|
Priority: -- → P4
Updated•7 years ago
|
Priority: P4 → P5
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → jewilde
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•5 years ago
|
||
In the preSummary function TmpVal was being checked before it could be set
causing the test to always fail.
Updated•5 years ago
|
Type: enhancement → task
Assignee | ||
Updated•5 years ago
|
Keywords: checkin-needed
Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/66ae37d9ad69
Remove unused if block in installer.nsi; r=agashlin
Keywords: checkin-needed
Comment 4•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox69:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 69
You need to log in
before you can comment on or make changes to this bug.
Description
•