After a centralized upgrade to dozen of various Windows computers (XP, 7, 10) from LO 4.4.6 to LO 5.0.5, some of them (not related to Windows version) lost some fonts.
There were no DejaVu, Liberation, Linux, PT family of fonts in C:\Windows\Fonts. WinFontsView listed those fonts, but without sample. Manual copying fixed them with the warning that fonts already existed.
Another installation of 5.0.5 didn't fix the issue where fonts were missing after the first installation. But, it didn't delete them where they were previously copied after the first deletion. Then, installation repair fixed Liberation, Linux, PT but it didn't fix DejaVu.
Created attachment 122769 [details]
Sample of fonts display with WinFontsView
Created attachment 122770 [details]
Sample of fonts display with WinFontsView
Oh well... I did what I could with bug 76239. I believe we are doing the same as MS Office installer, in regards to fonts.
I uninstalled 5.0.5 and installed 4.4.6 again but DejaVu wasn't repaired. I installed it manually. Next manual installation retained all fonts.
So I couldn't find a rule how this happens.
*** Bug 99748 has been marked as a duplicate of this bug. ***
Same with LO 5.1.6. I guess this may be related to centralized upgrade with Lansweeper, but I don't see how exactly.
MSI (s) (F8:24) [10:43:02:320]: Verifying accessibility of file: LiberationSerif-Italic.ttf
MSI (s) (F8:24) [10:43:02:325]: Executing op: FileCopy(SourceName=LIBER~7.TTF|LiberationSerif-Regular.ttf,SourceCabKey=LiberationSerif_Regular.ttf,DestName=LiberationSerif-Regular.ttf,Attributes=16384,FileSize=388352,PerTick=65536,,VerifyMedia=1,,,,,CheckCRC=0,Version=22.214.171.124,,InstallMode=58982400,,,,,,,)
MSI (s) (F8:24) [10:43:02:326]: File: C:\Windows\Fonts\LiberationSerif-Regular.ttf; Overwrite; Won't patch; New file versioned - existing file unversioned
MSI (s) (F8:24) [10:43:02:326]: Source for file 'LiberationSerif_Regular.ttf' is compressed
Error 1603. File C:\Windows\Fonts\LiberationSerif-Italic.ttf already in use. Close the application and try again.
MSI (s) (F8:24) [10:43:02:326]: Re-applying security from existing file.
MSI (s) (F8:24) [10:43:02:327]: Transforming table Error.
Created attachment 128305 [details]
Verbose install log
Some parts are localized. So "Informacija 1603. Datoteka C:\Windows\Fonts\LiberationSerif-Regular.ttf se već koristi . Zatvorite aplikaciju i pokušajte ponovo." is translated sth. like "Error 1603. File C:\Windows\Fonts\LiberationSerif-Italic.ttf already in use. Close the application and try again."
The same deployment procedure with LO 5.2.7, again this problem.
This time it's those fonts: (not DejaVu) again Liberation and Linux family, PT, now also Source Code family.
*** Bug 110427 has been marked as a duplicate of this bug. ***
*** Bug 99152 has been marked as a duplicate of this bug. ***
*** Bug 115441 has been marked as a duplicate of this bug. ***
*** Bug 113308 has been marked as a duplicate of this bug. ***
See also https://ask.libreoffice.org/en/question/152440. Isn't here a similar problem?
I wrote "There were no .. fonts in C:\Windows\Fonts". But link says "Files exist in C:\Windows\Fonts".
So I looked again in my fonts folder: dir C:\Windows\Fonts /q /p
and got (just and example):
26.10.2017 12:49 301.684 NT AUTHORITY\SYSTEM LiberationMono-Bold.ttf
19.02.2016 09:36 301.684 BUILTIN\Administrators LiberationMono-Bold_0.ttf
04.10.2012 14:24 301.684 BUILTIN\Administrators LiberationMono-Bold_1.ttf
26.10.2017 12:49 277.912 NT AUTHORITY\SYSTEM LiberationMono-BoldItalic.ttf
19.02.2016 09:36 277.912 BUILTIN\Administrators LiberationMono-BoldItalic_0.ttf
04.10.2012 14:24 277.912 BUILTIN\Administrators LiberationMono-BoldItalic_1.ttf
26.10.2017 12:49 274.984 NT AUTHORITY\SYSTEM LiberationMono-Italic.ttf
19.02.2016 09:36 274.984 BUILTIN\Administrators LiberationMono-Italic_0.ttf
04.10.2012 14:24 274.984 BUILTIN\Administrators LiberationMono-Italic_1.ttf
26.10.2017 12:49 313.408 NT AUTHORITY\SYSTEM LiberationMono-Regular.ttf
19.02.2016 09:36 313.408 BUILTIN\Administrators LiberationMono-Regular_0.ttf
04.10.2012 14:24 313.408 BUILTIN\Administrators LiberationMono-Regular_1.ttf
Can't say what this means.
What I do is installation of those fonts in batch after LO installation.
I didn't also understand whether Bug 116581 is related. I asked brgsousa to test.
*** Bug 125562 has been marked as a duplicate of this bug. ***