Closed
Bug 339271
Opened 19 years ago
Closed 19 years ago
NSIS Installer includes hard coded firefox path in toolkit
Categories
(Firefox :: Installer, defect)
Tracking
()
RESOLVED
FIXED
Firefox 2 beta1
People
(Reporter: mscott, Assigned: robert.strong.bugs)
References
Details
(Keywords: fixed1.8.1)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
robert.strong.bugs
:
review+
robert.strong.bugs
:
approval-branch-1.8.1+
|
Details | Diff | Splinter Review |
The following change to install_sub.pl uses a hard coded path to a firefox file:
http://lxr.mozilla.org/mozilla/source/toolkit/mozapps/installer/windows/install_sub.pl#304
system("upx --best -o $dosDistInstall/nsis/7zSD.sfx $dostopsrcdir/other-licenses/7zstub/firefox/7zSD.sfx")
This makes it hard for the upx command to run on thunderbird's version of 7zSD.sfx.
Fortunately, we already have an environment variable with the path to 7zSD.sfx already available to us because we had this same issue with the old installer.
Patch coming up.
Reporter | ||
Comment 1•19 years ago
|
||
This patch makes us use 7ZipSFXModule for the path to 7zSD.sfx. This environment variable is already used by the old installer in install_sub.pl and installer.cfg for toolkit apps.
Attachment #223380 -
Flags: superreview?(benjamin)
Attachment #223380 -
Flags: review?(robert.bugzilla)
Assignee | ||
Comment 2•19 years ago
|
||
Comment on attachment 223380 [details] [diff] [review]
the fix
>Index: browser/installer/windows/nsis/defines.nsi.in
>===================================================================
>RCS file: /cvsroot/mozilla/browser/installer/windows/nsis/defines.nsi.in,v
>retrieving revision 1.1
>diff -u -w -r1.1 defines.nsi.in
>--- browser/installer/windows/nsis/defines.nsi.in 22 May 2006 22:29:44 -0000 1.1
>+++ browser/installer/windows/nsis/defines.nsi.in 25 May 2006 22:53:26 -0000
>@@ -14,3 +14,4 @@
> !define URLUpdateInfo "http://www.mozilla.org/products/firefox/"
> !define WindowClass "FirefoxMessageWindow"
> !define SurveyURL "https://survey.mozilla.com/1/Mozilla%20Firefox/${AppVersion}%20(${AB_CD})/exit.html"
>+!define 7ZipSFXModule "other-licenses/7zstub/firefox/7zSD.sfx"
This isn't used and doesn't need to be added. r=me with that removed.
Attachment #223380 -
Flags: review?(robert.bugzilla) → review+
Assignee | ||
Updated•19 years ago
|
Whiteboard: .5d
Target Milestone: --- → Firefox 2 beta1
Assignee | ||
Updated•19 years ago
|
Whiteboard: .5d
Version: 1.5.0.x Branch → 2.0 Branch
Updated•19 years ago
|
Flags: blocking-firefox2+
Updated•19 years ago
|
Attachment #223380 -
Flags: superreview?(benjamin) → superreview+
Assignee | ||
Comment 3•19 years ago
|
||
Attachment #223380 -
Attachment is obsolete: true
Attachment #223838 -
Flags: review+
Assignee | ||
Comment 4•19 years ago
|
||
Fixed on trunk
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•19 years ago
|
||
Comment on attachment 223838 [details] [diff] [review]
patch as checked in
Can we get it on the branch too Rob? Thanks for checking this in for me.
Attachment #223838 -
Flags: approval-branch-1.8.1?
Assignee | ||
Updated•19 years ago
|
Attachment #223838 -
Flags: approval-branch-1.8.1? → approval-branch-1.8.1+
You need to log in
before you can comment on or make changes to this bug.
Description
•