This problem has been with Libroffice for a long time now without a solution as far as I can tell: For a few years I was happy with older versions of LO running on Windows PC’s from XP up to Win 7. Then I made the big mistake of installing newer versions to see if they would fix a problem I had with MS Excel sheets containing cell hyperlinks to my local drive folders not working. The uninstall and re-install was fatal leaving tons of LibreOffice registy entries behind and Win7_64 unable to install any version of LO as error messages were given by the installer (previous version still existing). This was so bad I had to use a cleaner utility to remove what i thought were all the left over traces of LO. I was wrong because I still couldn’t run any LO msi version, gave up and went back to re-installing MS Office.
After 3 years in the cold I decided to try again with the latest version of LO and got the same errors on install, plus another new issue related to MS visual C++ even though the correct version dependency was present after checking?
I persisted and now make a plea to LO developers:
Please provide a cleanup utility that will detect ALL left over file and registry entries for all versions of LO. Look at how Adobe do it - their cleanup utility works for all their products and really works.
LO creates a huge list of windows registry entries and it isn’t good practice for software to leave them behind. O.K the LO uninstall should take care of this, but if it doesn’t you are left with a big headache and for some an OS re-install.
What do I do now? I don’t trust LO to clean uninstall. I install it with an app like Revo Uninstaller. That isn’t 100% perfect so I use CC cleaner or others, but once you use these there’s a high risk of registry corruption and you still find LO won’t install on that PC. Great for Microsoft!
When you get in this mess you have to activate msi installer logging if you haven’t done so, find your Win system temp folder with %temp% and look at the install log at the date and time your LO install failed. Search the text file for ‘error’ (add the LO error code if you wish). Some logged entries further back you may find the reason or reference to a registry key which you delete. My problem was in the branding area. There was nothing in the registry key relevant to LO that would be found by a registry search or cleaner - really nasty left over only discoverable reading the msi install log:
The solution is cleaning out LO in the first place with an App and LO software writers know exactly what was created at install time! , but this post was really helpful:
https://forum.openoffice.org/en/forum/viewtopic.php?f=6&t=78765
I hope others aren’t going to suffer being locked out of a LibreOffice install and have to revert to MSoffice!