Background Updates/Implementation Strategies: Difference between revisions

Jump to navigation Jump to search
Line 92: Line 92:
==== Alternative approach ====
==== Alternative approach ====
I'm not yet quite confident that it's OK to have a current directory without firefox.exe inside it.  An alternative approach is to write a new stub executable from scratch which does as little as possible, picks the latest version and forks the firefox.exe process inside that directory.  That way, almost nothing will change compared to the way existing installations work, except for one component being added to the path.
I'm not yet quite confident that it's OK to have a current directory without firefox.exe inside it.  An alternative approach is to write a new stub executable from scratch which does as little as possible, picks the latest version and forks the firefox.exe process inside that directory.  That way, almost nothing will change compared to the way existing installations work, except for one component being added to the path.
=== Downgrade path ===
We need to have a clear solution for users which install an older Firefox version without the side-by-side installation feature.  I believe that the installer should just look at the log of the previous installation and just remove it before doing a new installation.  The only tricky question is the name of the version directory.  I think this may be a problem in the following scenario.
# User installs Firefox 10.
# User upgrades to Firefox 11.  Now, the path names inside uninstall.log point to the side-by-side installation for 10.
# User reinstalls Firefox 10 over the existing version.  The 10 installation directory is removed by the uninstall process, and Firefox 10 is reinstalled in the same side-by-side directory.
# User starts up Firefox.  The stub executable will see side-by-side directories for 10 and 11, and will pick 11 and starts that up.
This will effectively break installing older versions over newer versions.
=== Risks ===
# What happens to the applications which install stuff to the firefox installation directory?  (Does that even work these days?)
Confirmed users
657

edits

Navigation menu