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)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.4alpha
People
(Reporter: ssu0262, Assigned: ssu0262)
References
Details
(Whiteboard: [adt2])
Attachments
(1 file, 3 obsolete files)
|
7.64 KB,
patch
|
samir_bugzilla
:
review+
jag+mozilla
:
superreview+
sspitzer
:
approval1.4b+
|
Details | Diff | Splinter Review |
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.
Comment 1•22 years ago
|
||
Installer triage team: nsbeta1+/adt2 for option 3.
Comment 2•22 years ago
|
||
*** Bug 197545 has been marked as a duplicate of this bug. ***
patch tested. this one works.
Attachment #120471 -
Attachment is obsolete: true
Attachment #120527 -
Flags: review?(sgehani)
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 6•22 years ago
|
||
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-
new patch containing sgehani's suggestions.
Attachment #120529 -
Attachment is obsolete: true
Attachment #121475 -
Flags: review?(sgehani)
Updated•22 years ago
|
Attachment #121475 -
Flags: review?(sgehani) → review+
Comment 8•22 years ago
|
||
Comment on attachment 121475 [details] [diff] [review]
patch v1.3
Requesting rs from jag.
Attachment #121475 -
Flags: superreview?(jaggernaut)
Comment 9•22 years ago
|
||
Comment on attachment 121475 [details] [diff] [review]
patch v1.3
rs=jag
Attachment #121475 -
Flags: superreview?(jaggernaut) → superreview+
| Assignee | ||
Comment 10•22 years ago
|
||
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 11•22 years ago
|
||
Comment on attachment 121475 [details] [diff] [review]
patch v1.3
a=sspitzer
Attachment #121475 -
Flags: approval1.4b? → approval1.4b+
| Assignee | ||
Comment 12•22 years ago
|
||
patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•