If the installer fails for any reason it leaves the original set of files in a non functional state, including asking for another update.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Rails |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
If the installer fails for any reason the end user is left w/ a non-functional OR, including not being able to request another update.
If this is not classified as a bug then how about this for a Blueprint:
* Installer should begin by checking for a previous version of OR in the targeted directory and if found move those OR Directories and files to a temp location before attempting to install the update.
* Do the installation.
* If the installation update is successful then delete the temp directory created in step 1.
* If the update fails, delete whatever partial installation is present in the target directory and return the contents of the temp storage location back to their original location so the end user is left whole. Notify user the update failed.
description: | updated |
description: | updated |
Changed in or: | |
status: | Incomplete → New |
Do you mean the installer (the exe downloaded from the website) or the updater (the built-in process)? The installer should not be failing in the first place, and the updater works very much like the proposed steps (it upzips to UpdateStage and puts the old files in UpdateDirty) - so I'd like to confirm which one we're talking about here. And please can you explain what the failure was, either symptoms or cause if known?