https://bugs.documentfoundation.org/show_bug.cgi?id=117492
Bug ID: 117492
Summary: MSI: When installation fails, ensure not to remove
previous installed version
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Installation
Assignee: libreoffice-bugs@lists.freedesktop.org
Reporter: mikekagan...@hotmail.com
Currently RemoveExistingProducts action is scheduled before InstallInitialize.
This uninstalls previous versions prior to installing the new, and in this
case, any failure in following installation leaves the system without both the
new, and the old version of LO [2],[3],[4],[5],[6].
The correct way to fix this is to resequence the RemoveExistingProducts after
installing files [1],[7], presumably after InstallFinalize (as mentioned in the
MSDN article to be the most efficient placement for it).
This needs a simple patch, but an extensive QA testing.
[1] https://msdn.microsoft.com/en-us/library/aa371197
[2] https://ask.libreoffice.org/en/question/50586
[3] https://ask.libreoffice.org/en/question/75285
[4] https://ask.libreoffice.org/en/question/82286
[5] https://ask.libreoffice.org/en/question/98504
[6] https://ask.libreoffice.org/en/question/144563
[7] https://stackoverflow.com/questions/8155097
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs