5.0.2 will not install on windows 10

Every time I try to install 5.0.2 Libreoffice I get a “Error 1335. The cabinet file ‘libreoffice1.cab’ required for this installation is corrupt and cannot be used…”

Hi davetdu

"Error 1335" is a MSI error and is lying through it’s teeth:-

“The cabinet file ‘[2]’ required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.”

(imagine a small boy stood next to a broken jar of sweets & pointing at the cat).

MSI installation files are specialised versions of those ZIP .exe files and, in exactly the same way as ZIP files, are compressed collections of the files required to install something. In this case, one of those files in the collection is “libreoffice1.cab”.

If the MSI file itself was broken then you would obtain a completely different error. However, if “libreoffice1.cab” was corrupt when stored within the MSI file then nobody could install that version. The big question:- what is actually causing the error?

Here are a series of things to try:

  1. If ‘error 1335’ is preceded by warnings about programs that will prevent install, stop installation, reboot into Safe Mode & restart the install.
    (autostart is disabled in safe mode)
    (MSCONFIG is an alternative to safe-mode) (temp switch off all start-up programs)

    If the same problems re-occur in Safe Mode, then the problem is from something else other than the earlier warning.
  1. Many of the working fixes for this error are to do with a bad Registry. So,

    Try the “Microsoft Fix-It” website:-

"Automatically repair issues that block program installation or removal because of corrupted registry keys."

This is an attempt by M$ to help you avoid the ultimate fix for MS Windows, which is to wipe the disc & re-install the OS + Programs from scratch. It is a replacement for the Windows Installer Cleanup utility (MSICUU2.exe) which has been retired by M$ as they said that it corrupted some Registry instead of fixing them (whoops).

The website will test out + fix the Registry. There is also a Windows Update onsite & it seems more thorough than the normal Update.

  1. Restart.

    If you did not use the Windows Update in the previous step, go back & use it. If necessary, after a restart go back & see if there are any more Updates until it reports that everything is updated.
  2. Hack the Registry

    (here’s a scary fix!)

    “the registry has reached its size limit and must be increased”

    Key: RegistrySizeLimit
    Type: REG_DWORD
    Value: 4294967295 (decimal), or, ffffffff (eight 'f’s) (hex)
  3. Prevent the installer from trying to install the runtime:-

    msiexec /i name-of-installer VC_REDIST=0
  4. Wipe the HDD & re-install Windows, then Update.
  5. At this stage it’s a bug, no mistake.
    Use Bugzilla or the Bug Submission Assistant + point out that Windows was installed on to a blank disc then updated immediately prior to LO installation.

If this helps then please tick the answer (:heavy_check_mark:)

…and/or show you like it with an uptick ()