Closed
Bug 735177
Opened 14 years ago
Closed 13 years ago
Windows XP does not trigger Maintenance Service Uninstaller when installing product
Categories
(Toolkit :: Application Update, defect)
Tracking
()
RESOLVED
FIXED
mozilla12
Tracking | Status | |
---|---|---|
firefox11 | --- | unaffected |
firefox12 | --- | verified |
firefox13 | --- | verified |
firefox14 | --- | verified |
People
(Reporter: sbadau, Assigned: bbondy)
References
Details
(Whiteboard: [qa+])
Attachments
(1 file)
6.68 KB,
patch
|
robert.strong.bugs
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Windows NT 6.0; rv:12.0a2) Gecko/20120312 Firefox/12.0a2
Mozilla Maintenance service is not uninstalled with the last Firefox product that would use it.
Reproducible: always
Prerequisites:
- make sure that no Firefox versions that are updating through the service is installed.
Steps to reproduce:
1. Install the latest build that uses the service to update - make sure that "Install Maintenance Service" box is checked
2. Install the second latest build that uses the service to update
3. Uninstall the build from step 1 (make sure that the service was not uninstalled with the build)
4. Uninstall the build from step 2.
Expected results:
In step 4 the service is uninstalled with the last build.
Actual results:
The service is not uninstalled with the last build.
Notes:
Reproducible on: Windows 7, Windows Vista and Windows XP.
Not reproducible on Windows Server 2003.
Assignee | ||
Comment 1•13 years ago
|
||
Could you uninstall the builds, then delete this folder:
HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\MaintenanceService
Then re-run the test, does it still reproduce?
I think maybe it has a previous unclean uninstall that leaves behind a registry key for the install directory underneath HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\MaintenanceService. Another thing is it could be a fallback key on your test machines that we used to install as part of the installer before releasing.
Please let me know if you can reproduce after that.
Reporter | ||
Comment 2•13 years ago
|
||
(In reply to Brian R. Bondy [:bbondy] from comment #1)
> Could you uninstall the builds, then delete this folder:
> HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\MaintenanceService
>
> Then re-run the test, does it still reproduce?
Issue is not reproducible after deleting the folder on Windows 7 32-bit and 7 64-bit.
But issue is still reproducible On Win XP - even if the folder is deleted.
Reporter | ||
Comment 3•13 years ago
|
||
After deleting the folder from HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\MaintenanceService - issue is also not reproducible on Windows Vista.
Assignee | ||
Comment 4•13 years ago
|
||
I can't think of why off hand but I did reproduce this on Windows XP and not on my Windows 7 machine. For some reason the registry key isn't being removed from the NSIS command on Windows XP. Since it isn't removed the NSIS uninstaller for the service won't be automatically run.
Assignee | ||
Updated•13 years ago
|
Summary: Mozilla Maintenance service does not get uninstalled when removing all the Firefox builds → Windows XP does not trigger Maintenance Service Uninstaller when installing product
Assignee | ||
Comment 5•13 years ago
|
||
So it turns out that on 32bit systems the following NSIS command is ignored:
SetRegView 64
... EXCEPT in the case of Windows XP x86 and if you are doing a delete reg key operation. All other operations work and delete reg key works on all other OS as well.
Assignee | ||
Comment 6•13 years ago
|
||
By the way this was reproducible on XP even with 1 installer and not related specifically to having 2 installs.
Assignee | ||
Comment 7•13 years ago
|
||
The patch only needed the check around the delete reg key, but I think it is better to put it around all set reg view operations in case something else pops up one day in the future.
Assignee: nobody → netzen
Attachment #606549 -
Flags: review?(robert.bugzilla)
Reporter | ||
Comment 8•13 years ago
|
||
Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0
Verified on Firefox 12 beta 1 - issue is reproducible only on Windows XP (tested on 2 different machines).
Tested on Win 7, Win Vista, Win 2003 and issue is not reproducible.
![]() |
||
Updated•13 years ago
|
Attachment #606549 -
Flags: review?(robert.bugzilla) → review+
Assignee | ||
Comment 9•13 years ago
|
||
This is ready to land but I'm away until next week so I'd rather wait to land it until I'm around in case something goes wrong.
Assignee | ||
Comment 10•13 years ago
|
||
Target Milestone: --- → mozilla14
Comment 11•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 12•13 years ago
|
||
Comment on attachment 606549 [details] [diff] [review]
Patch v1.
[Approval Request Comment]
Regression caused by (bug #): 720521
User impact if declined: When uninstalling Firefox on Windows XP the maintenance service will not be automatically uninstalled. The user would be able to uninstall from add/remove programs using the maintenance service uninstaller though. It could make some users upset that they installed Firefox and then uninstalled but some things are left behind.
Testing completed (on m-c, etc.): I tested it myself on m-c.
Risk to taking this patch (and alternatives if risky): Low risk.
String changes made by this patch: None.
Attachment #606549 -
Flags: approval-mozilla-beta?
Attachment #606549 -
Flags: approval-mozilla-aurora?
Comment 13•13 years ago
|
||
Comment on attachment 606549 [details] [diff] [review]
Patch v1.
[Triage Comment]
One more fix for the updater service - approved for all branches for the same reason as bug 720521.
Attachment #606549 -
Flags: approval-mozilla-beta?
Attachment #606549 -
Flags: approval-mozilla-beta+
Attachment #606549 -
Flags: approval-mozilla-aurora?
Attachment #606549 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 14•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
status-firefox11:
--- → unaffected
status-firefox12:
--- → fixed
status-firefox13:
--- → fixed
status-firefox14:
--- → fixed
Target Milestone: mozilla14 → mozilla12
Reporter | ||
Comment 15•13 years ago
|
||
Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0
I am still able to reproduce this on Firefox 12 beta 3. I previously uninstalled all the Firefox versions and I installed the latest beta (beta 3).
The service is not uninstalled with the build.
Assignee | ||
Comment 16•13 years ago
|
||
Does it work on Nightly for you? Did you try clearing your registry folder for the service before the test?
Reporter | ||
Comment 17•13 years ago
|
||
Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120330 Firefox/14.0a1
Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20120330 Firefox/13.0a2
Not reproducible on the latest Nightly and Aurora.
But the issue is still encountered on both Nightly and Aurora for the following scenario:
1. Clean the registry folder
2. Install Firefox 12 beta 3
3. Manually uninstall Firefox 12 beta 3 and the service
4. Installed Nighlty/Aurora
5. Uninstall Nightly/Aurora
Actual results: The service does not uninstall with the latest build (Nightly/Aurora).
The key that I have left in the registry folder is after step 5 is:
HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\MaintenanceService\eee36f85e3f34e5ed2956b29a116c85e
Assignee | ||
Comment 18•13 years ago
|
||
Does the service get uninstalled after Step 3 but before Step 4?
Reporter | ||
Comment 19•13 years ago
|
||
Yes, the service gets uninstalled but only if I uninstall it manually from Control Panel.
Reporter | ||
Comment 20•13 years ago
|
||
Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0
This is not reproducible on Firefox 12 beta 4. The service gets uninstalled with the latest build that uses it.
Marking this as Verified on Firefox 12.
Reporter | ||
Comment 21•13 years ago
|
||
Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0
Verified that on Firefox 13 beta 2 the service gets uninstalled with the latest build that uses it.
Reporter | ||
Comment 22•13 years ago
|
||
Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20100101 Firefox/14.0
Verified on Firefox 14 beta 7 that the Mozilla Maintenance service is uninstalled along with the build (the last build that could use it).
You need to log in
before you can comment on or make changes to this bug.
Description
•