Closed Bug 794936 Opened 12 years ago Closed 11 years ago

Work - Resolve or avoid updater problems with Metro and Desktop browsers being open at the same time

Categories

(Toolkit :: Application Update, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 794937

People

(Reporter: bbondy, Assigned: bbondy)

References

Details

(Whiteboard: feature=work)

Background: Updates are currently enabled on desktop and disabled in Metro.  Both use a different update directory as well so the Metro browser should never try to apply the update of the Desktop browser.

Problem: Several users will have both Desktop and Metro browsers open at the same time.  If the Desktop browser tries to apply an update, it will get a write error that the firefox.exe file is already in use (sharing violation error code 32).

Possible solutions:
- In updater code we can detect if the Metro process is suspended, and if so kill it.  Windows 8 makes no guarantee that Metro processes that are suspended will remain alive anyway. 
- Before we apply updates, we can do an extra check to see how many firefox.exe processes are open for the current binary path.  If > 1 then we would skip launching updater.exe to do the update. We'd just start the browser instead and the user would still have an update that is staged.
Whiteboard: metro-beta
Depends on: 794937
CCing rstrong for feedback, no rush.
Whiteboard: metro-beta → [metro-mvp]
Whiteboard: [metro-mvp] → [metro-mvp] [LOE:1]
Depends on: 801198
Blocks: 833182
No longer depends on: 801198
Summary: Resolve or avoid updater problems with Metro and Desktop browsers being open at the same time → Work - Resolve or avoid updater problems with Metro and Desktop browsers being open at the same time
Whiteboard: [metro-mvp] [LOE:1] → feature=work
No longer depends on: 794937
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.