Closed Bug 339271 Opened 19 years ago Closed 19 years ago

NSIS Installer includes hard coded firefox path in toolkit

Categories

(Firefox :: Installer, defect)

2.0 Branch
x86
Windows XP
defect
Not set
normal

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)

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.
Attached patch the fix (obsolete) (deleted) — Splinter Review
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)
Blocks: 339135
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+
Whiteboard: .5d
Target Milestone: --- → Firefox 2 beta1
Whiteboard: .5d
Version: 1.5.0.x Branch → 2.0 Branch
Flags: blocking-firefox2+
Attachment #223380 - Flags: superreview?(benjamin) → superreview+
Attached patch patch as checked in (deleted) — Splinter Review
Attachment #223380 - Attachment is obsolete: true
Attachment #223838 - Flags: review+
Fixed on trunk
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
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?
Attachment #223838 - Flags: approval-branch-1.8.1? → approval-branch-1.8.1+
Fixed on the 1.8.1 branch
Keywords: fixed1.8.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: