setup should unregister existing install in case of reboot necessary

Bug #274628 reported by Mark Hammond on 2008-09-26
2
Affects Status Importance Assigned to Milestone
Bazaar
Medium
Unassigned
Bazaar Windows Installers
Undecided
Unassigned
TortoiseBZR
Low
Unassigned

Bug Description

If we upgrade while tbzr is running, then inno setup offers to reboot - but between clicking OK and the reboot actually happening, TBZR restarts itself - but it will be in an inconsistent state, as some files have been updated but others have not.

The installer should probably ask the existing installation to unregister its COM objects, so they won't be reused by explorer until the reboot actually happens and reregistration occurs.

Mark Hammond (mhammond) wrote :

Affects bzr as it's bzr.iss.cog is where this must live.

Jelmer Vernooij (jelmer) on 2009-06-18
Changed in bzr:
importance: Undecided → Medium
status: New → Triaged
Changed in tortoisebzr:
importance: Undecided → Medium
status: New → Triaged
INADA Naoki (songofacandy) wrote :

Now Windows Installer is not affects bzr core project.

Changed in bzr:
status: Triaged → Invalid
INADA Naoki (songofacandy) wrote :

Is this bug still live?

I think "restartreplace" uses MoveFileEx with MOVEFILE_DELAY_UNTIL_REBOOT flag and move file in boot time.
So TortoiseBZR should not work when replacing dll/exe files.

Changed in bzr-windows-installers:
status: New → Incomplete
Changed in tortoisebzr:
status: Triaged → Incomplete
Changed in tortoisebzr:
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers