Closed Bug 194115 Opened 22 years ago Closed 22 years ago

self-extracting installer no longer looks for .xpi files in cwd

Categories

(SeaMonkey :: Installer, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.4alpha

People

(Reporter: ssu0262, Assigned: ssu0262)

References

Details

(Whiteboard: [adt2])

Attachments

(1 file, 3 obsolete files)

This is breaking the self-extracting installer from running in the "...\mozilla\Mozilla Setup" dir when user decides to save the downloaded files. The installer should do one of the following: * add another option to the self-extracting installer code that simply indicates it to look in the current process' dir for the .xpi files * change the save download files code to save the uncompressed files from the self-extracting .exe file, instead of the self-extracting file itself. * change the way the self-extracting code looks for the .xpi file to default to looking in a subdir (from cwd) called "xpi", and also change where the save download files code saves the files so this format works.
Status: NEW → ASSIGNED
Keywords: nsbeta1
Installer triage team: nsbeta1+/adt2 for option 3.
Keywords: nsbeta1nsbeta1+
Whiteboard: [adt2]
Target Milestone: --- → mozilla1.4alpha
*** Bug 197545 has been marked as a duplicate of this bug. ***
Attached patch patch v1.0 (obsolete) — Splinter Review
tentative patch. not tested yet.
Attached patch patch v1.1 (obsolete) — Splinter Review
patch tested. this one works.
Attachment #120471 - Attachment is obsolete: true
Attachment #120527 - Flags: review?(sgehani)
Attached patch patch v1.2 (obsolete) — Splinter Review
found a minor bug with previous patch. this one fixes it. Herer's what the patch does. If the self-extracting installer is run, it will lookg to see if "[cwd]\xpi" dir exists. If so, it will pass that on to setup.exe. If the user chooses to save the downloaded files: * Setup.exe will save the xpi files "...\Setup Mozilla\xp"i if the self-extracting archive is saved to "...\Setup Mozilla" * Setup.exe will save the xpi files "...\Setup Mozilla" if the setup.exe and its support files are saved to "...\Setup Mozilla"
Attachment #120527 - Attachment is obsolete: true
Attachment #120527 - Flags: review?(sgehani)
Attachment #120529 - Flags: review?(sgehani)
Comment on attachment 120529 [details] [diff] [review] patch v1.2 Change destUninstall to destInstall if in fact this is saving installer files, not uninstaller files as we dsicussed (in SaveInstallerFiles()). Thanks.
Attachment #120529 - Flags: review?(sgehani) → review-
Attached patch patch v1.3Splinter Review
new patch containing sgehani's suggestions.
Attachment #120529 - Attachment is obsolete: true
Attachment #121475 - Flags: review?(sgehani)
Attachment #121475 - Flags: review?(sgehani) → review+
Comment on attachment 121475 [details] [diff] [review] patch v1.3 Requesting rs from jag.
Attachment #121475 - Flags: superreview?(jaggernaut)
Comment on attachment 121475 [details] [diff] [review] patch v1.3 rs=jag
Attachment #121475 - Flags: superreview?(jaggernaut) → superreview+
Comment on attachment 121475 [details] [diff] [review] patch v1.3 requesting approval1.4b. The risk is not great. The value of this fix is that users will be able run the installer that was saved during the download (if they chose to save it). There are cases where this does not currently work right now, which means if the users tries to run the installer from Mozilla\Setup Mozilla, it will download all the .xpis again even if they are already there. I've tested all the possible scenarios where this patch affects: * sea .exe file with .xpis in a xpi\ subdir * sea .exe file with _no_ .xpis in a xpi\subdir, but in cwd (should _not_ find the .xpis in cwd in this case) * setup.exe files with .xpis in cwd * setup.exe files with .xpis in xpi\ subdir, but not in cwd (made sure this does not work)
Attachment #121475 - Flags: approval1.4b?
Comment on attachment 121475 [details] [diff] [review] patch v1.3 a=sspitzer
Attachment #121475 - Flags: approval1.4b? → approval1.4b+
patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
build 2003050104
Status: RESOLVED → VERIFIED
QA Contact: bugzilla → gbush
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: