Closed Bug 301579 Opened 19 years ago Closed 19 years ago

SeaMonkey installer closes Mozilla 1.7.x without warning

Categories

(SeaMonkey :: Installer, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey1.0alpha

People

(Reporter: Biesinger, Assigned: csthomas)

References

Details

(Keywords: fixed1.8, qawanted)

Attachments

(1 file, 3 obsolete files)

When installing seamonkey, the installer automatically closes a running Mozilla
1.7.8.

that's not nice. it shouldn't do that :-)

additionally, when starting seamonkey and mozilla 1.7.x is already running, it
opens a window there. it should be independent of mozilla. I suspect these two
issues are somewhat related.
Flags: blocking-seamonkey1.0a?
SM and Moz share the profile like NS6-7 and Moz, similiar problems for that.
Version: unspecified → Trunk
Summary: Seamonkey installer closes Mozilla 1.7.x without warning → SeaMonkey installer closes Mozilla 1.7.x without warning
config.it hard-codes MozillaWindowClass, but we actually use
@MOZ_APP_DISPLAYNAME@WindowClass
Summary: SeaMonkey installer closes Mozilla 1.7.x without warning → Seamonkey installer closes Mozilla 1.7.x without warning
Version: Trunk → unspecified
To be precise, some of the .it files used by the (un)installer have been changed
from MozillaWindowClass to SeaMonkeyWindowClass - ideally they would all be
preprocessed to whatever magic string expands to @MOZ_APP_DISPLAYNAME@

As for the SeaMonkey opening a window in Mozilla, that's caused by a stale
module.rc - it needs to depend on module.ver milestone.txt and build_number.
Summary: Seamonkey installer closes Mozilla 1.7.x without warning → SeaMonkey installer closes Mozilla 1.7.x without warning
Version: unspecified → Trunk
(In reply to comment #3)
> As for the SeaMonkey opening a window in Mozilla, that's caused by a stale
> module.rc - it needs to depend on module.ver milestone.txt and build_number.

ah yes. you are, of course, correct. (for anyone's reference: the one in
xpfe/bootstrap)
Flags: blocking-seamonkey1.0a? → blocking-seamonkey1.0a+
<biesi> so splash.res: splash.rc module.ver … ought to work in
xpfe/bootstrap/Makefile.in
Attached patch patch (obsolete) — Splinter Review
Use the right message window name.
Assignee: general → cst
Status: NEW → ASSIGNED
Attachment #193118 - Flags: superreview?(dveditz)
Attachment #193118 - Flags: review?(benjamin)
Comment on attachment 193118 [details] [diff] [review]
patch

obsolete patch per CTho's request, it's wrong (doesn't close 1.7.x but doesn't
close SeaMonkey either). Some $foo$ replacement needs to be used instead of
@MOZ_APP_DISPLAYNAME@
Attachment #193118 - Attachment is obsolete: true
Attachment #193118 - Flags: superreview?(dveditz)
Attachment #193118 - Flags: review?(benjamin)
Attached patch patch (obsolete) — Splinter Review
This patch actually causes the right string ("SeaMonkeyMessageWindow") to show
up in the generated .ini files.
Attachment #193290 - Flags: superreview?(dveditz)
Attachment #193290 - Flags: review?(benjamin)
Comment on attachment 193290 [details] [diff] [review]
patch

Since SeaMonkey is still going to be using existing Mozilla profiles, you
really should close old Mozillas (with a nice warning+cancel, of course).
Attachment #193290 - Flags: review?(benjamin) → review-
I won't be able to get to this in the very-near future.
Keywords: helpwanted
This is an Alpha blocker - how are we going to tackle this and who is going to
fix this ASAP?
Could we swap out the NS6-detection strings with Mozilla strings?  Would that
handle all the necessary situations?
can we add them in addition to the ns6 ones?
Attachment #193290 - Flags: superreview?(dveditz)
Attached patch patch v2 (obsolete) — Splinter Review
Is this better?  I can't test it right now, but a build with it is
http://ctho.ath.cx/smtree2/mozbuild/dist/install/seamonkey-1.1a.en-US.win32.installer.exe
Attachment #193290 - Attachment is obsolete: true
Attached patch patchSplinter Review
This one actually works.
Attachment #195258 - Attachment is obsolete: true
Attachment #195406 - Flags: superreview?(dveditz)
Attachment #195406 - Flags: review?(benjamin)
Comment on attachment 195406 [details] [diff] [review]
patch

s/it's/its/
Attachment #195406 - Flags: review?(benjamin) → review+
Comment on attachment 195406 [details] [diff] [review]
patch

sr=dveditz
Attachment #195406 - Flags: superreview?(dveditz) → superreview+
Comment on attachment 195406 [details] [diff] [review]
patch

SeaMonkey-only patch needed for 1.0 alpha.
Attachment #195406 - Flags: approval1.8b5?
Attachment #195406 - Flags: approval1.8b4?
Attachment #195406 - Flags: approval1.8b4?
Comment on attachment 195406 [details] [diff] [review]
patch

Nits !?

>Index: xpinstall/packager/build/win/mozilla/config.it
>===================================================================
>@@ -379,36 +379,54 @@ confirm_install=false
> [Check Instance0]
> ; These keys are not normally necessary for checking instances.  They are
> ; set here because Mozilla requires a way to shut down it's turbo mode.

$ProductName$ (or Seamonkey) !?

>Index: xpinstall/packager/build/win/mozilla/uninstall.it
>===================================================================
>@@ -52,30 +52,42 @@ Decrypt Main Key=TRUE
> [Check Instance0]
> ; These keys are not normally necessary for checking instances.  They are
>-; set here because Mozilla requires a way to shut down it's turbo mode.
>+; set here because SeaMonkey requires a way to shut down it's turbo mode.

(Why not $ProductName$ ?)

>Index: xpinstall/packager/win_gre/config.it
>===================================================================
>@@ -282,41 +282,64 @@ confirm_install=false
> [Check Instance0]
> ; These keys are not normally necessary for checking instances.  They are
> ; set here because Mozilla requires a way to shut down it's turbo mode.

$ProductName$ (or Seamonkey) !?

> Extra Cmd0 Reg Key=Software\Microsoft\Windows\CurrentVersion\App Paths\seamonkey.exe

(Why not $MainExeFile$ ?)

>Index: xpinstall/packager/win_gre/uninstall.it
>===================================================================
>@@ -55,19 +55,19 @@ Decrypt Main Key=TRUE
> [Check Instance0]
> ;*** LOCALIZE ME BABY ***
> Message=SeaMonkey is detected to be currently running.  Please quit SeaMonkey before continuing.  Click OK to exit SeaMonkey automatically and proceed with uninstallation.
> ;*** LOCALIZE ME BABY ***
> Message wait=Shutting down SeaMonkey.  Please wait...

(Why not $ProductName$ ? (there and probably after))

> ; This key indicates whether or not to close all the windows associated with

>Index: xpinstall/packager/windows/config.it
>===================================================================
>@@ -444,18 +444,41 @@ Close All Process Windows=TRUE
> 
> ; These keys are not normally necessary for checking instances.  They are
> ; set here because SeaMonkey requires a way to shut down it's turbo mode.

(Why not $ProductName$ ?)

> [Check Instance1]
>+; These keys are not normally necessary for checking instances.  They are
>+; set here because SeaMonkey requires a way to shut down it's turbo mode.

Mozilla !

>Index: xpinstall/packager/windows/uninstall.it
>===================================================================
>@@ -73,18 +73,39 @@ Close All Process Windows=TRUE
> ; These keys are not normally necessary for checking instances.  They are
> ; set here because Mozilla requires a way to shut down it's turbo mode.

$ProductName$ (or Seamonkey) !?
Comment on attachment 195406 [details] [diff] [review]
patch

a=dveditz for 1.8 branch [seamonkey-only code]
Attachment #195406 - Flags: approval1.8b5? → approval1.8b5+
Checked in on branch.

I did not address comment 19 on trunk or branch.  Hopefully we can switch to a
better installer for 1.9 anyway.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Keywords: qawanted
Resolution: --- → FIXED
(In reply to comment #21)
> I did not address comment 19 on trunk or branch.  Hopefully we can switch to a
> better installer for 1.9 anyway.

Does it mean I could be the one preparing the patch ?
Or is it a "don't waste anymore time on this" situation ?
Target Milestone: --- → Seamonkey1.0alpha
*** Bug 310413 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: