Bug 139197 - Impossible to run LibreOffice. DLL api-ms-win-crt-runtime-l1-1-0.dll is missing.
Summary: Impossible to run LibreOffice. DLL api-ms-win-crt-runtime-l1-1-0.dll is missing.
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
7.0.3.1 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-23 20:16 UTC by usreop
Modified: 2020-12-28 21:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description usreop 2020-12-23 20:16:48 UTC
Description:
Instead of running LibreOffice after installation (on Windows 7, 64 bits),  a message box appears telling "Impossible to run the program because api-ms-win-crt-runtime-l1-1-0.dll is missing on your computer".

api-ms-win-crt-runtime-l1-1-0.dll has then been downloaded, and copied in directories windows/system32 and windows/sysWOW64 (as I have been told on the webpage from wich the dll was downloaded).

Nothing changed. Same message appears again & again...

Thanks for any help in advance.



Steps to Reproduce:
1.Download libreOffice 7.0.3.1 
2.Install it (Windows 7 - 64 bit - Hardware see (*) )
3.Run it

(*) : PC DELL VOSTRO 400, 4 Gb RAM installed [only 2.75 Gb usable with Windows 7 !],  Processor: Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33 GHz. Hard disk: 700 Gb with 510 Gb free.

Actual Results:
As said in "Description", a message box tells me "Impossible to run the program because api-ms-win-crt-runtime-l1-1-0.dll is missing on your computer".

Expected Results:
Libre Office should have run.


Reproducible: Always


User Profile Reset: No



Additional Info:
No menu available, as the program won't start !
Comment 1 V Stuart Foote 2020-12-23 22:46:55 UTC
Is Win7 SP1 installed on this system? Minimum required os is Win7 SP1.
Comment 2 Mike Kaganski 2020-12-24 05:54:29 UTC
(In reply to usreop from comment #0)
> api-ms-win-crt-runtime-l1-1-0.dll has then been downloaded, and copied in
> directories windows/system32 and windows/sysWOW64 (as I have been told on
> the webpage from wich the dll was downloaded).

Doing such things is a sure way to get malware on your system.
The problematic missing file is a part of UCRT, and may be installed using MS Visual Studio redistributable [1]. It is a system component, and installing a random file from Internet to your system directory is risky.

The UCRT *should* be installed by LibreOffice installer normally. In case of some problems during the installation, installer should produce a warning that KB2999226 component could not be installed, and user must install it manually [2][3] (you have not mentioned if you saw any warnings during installation; likely you haven't, which is strange, taking into account the result).

> Nothing changed. Same message appears again & again...

Are you positive that this is the *same* message? UCRT consists of multiple similarly-named files, and you might now be asked, say, for "api-ms-win-crt-process-l1-1-0.dll" or "api-ms-win-core-synch-l1-2-0.dll" instead of "api-ms-win-crt-runtime-l1-1-0.dll"?

[1] See resp. platform download under "Visual Studio 2015, 2017 and 2019" at https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
[2] https://wiki.documentfoundation.org/Faq/General/api-ms-win-*.dll_is_missing
[3] https://wiki.documentfoundation.org/Faq/General/General_Installation_Issues_(Windows)#Enable_Windows_Update
Comment 3 usreop 2020-12-28 20:01:59 UTC
(In reply to V Stuart Foote from comment #1)
> Is Win7 SP1 installed on this system? Minimum required os is Win7 SP1.

Yes, SP1 is installed. The problem is now resolved as LibreOffice runs now normally, though i tried only very simple features. 
The problem was a long list of about 12 or more DLLs missing. I downloaded them (one by one, from WikiDll.com) and copied them in the directory Windows\system32.
Thanks for your reply.
Comment 4 usreop 2020-12-28 20:30:00 UTC
(In reply to Mike Kaganski from comment #2)
> (In reply to usreop from comment #0)
> > api-ms-win-crt-runtime-l1-1-0.dll has then been downloaded, and copied in
> > directories windows/system32 and windows/sysWOW64 (as I have been told on
> > the webpage from wich the dll was downloaded).
> 
> Doing such things is a sure way to get malware on your system.
> The problematic missing file is a part of UCRT, and may be installed using
> MS Visual Studio redistributable [1]. It is a system component, and
> installing a random file from Internet to your system directory is risky.
> 
> The UCRT *should* be installed by LibreOffice installer normally. In case of
> some problems during the installation, installer should produce a warning
> that KB2999226 component could not be installed, and user must install it
> manually [2][3] (you have not mentioned if you saw any warnings during
> installation; likely you haven't, which is strange, taking into account the
> result).

::   I can't tell about UCRT and MS Visual studio redistr. But indeed I did not see any warning message, excepted the bug mentioned when trying to run libreOffice.

> > Nothing changed. Same message appears again & again...
> 
> Are you positive that this is the *same* message? UCRT consists of multiple
> similarly-named files, and you might now be asked, say, for
> "api-ms-win-crt-process-l1-1-0.dll" or "api-ms-win-core-synch-l1-2-0.dll"
> instead of "api-ms-win-crt-runtime-l1-1-0.dll"?

::    Yes, you're right, the message was not exactly the same: the same phrases but a new dll name each time. After each message, i downloaded the corresponding dll from wikiDll.com, scanned it (with AVG antivirus) and then put it in windows\system32, tryed to run libreOffice again to get the new dll name and doing the same again and again ; nearly 12 times or more where necessary to see at last LO running.
I wonder if a possible explanation is that I use Win 7 SP1 as received and never did a single update at Microsoft.
Thank you for your detailed reply. I've changed the status to Resolved.


> [1] See resp. platform download under "Visual Studio 2015, 2017 and 2019" at
> https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-
> c-downloads
> [2]
> https://wiki.documentfoundation.org/Faq/General/api-ms-win-*.dll_is_missing
> [3]
> https://wiki.documentfoundation.org/Faq/General/
> General_Installation_Issues_(Windows)#Enable_Windows_Update