Hi,
With the last libreoffice's update, the software doesn't open either if I click on a file associated, or if I try to open it by poirtableapps' suite.
Libreoffice doesn't appaer in the process' list though if lunch it by command line.
I've this problem in windows 7 and windows 8.
Thanks
You are here
[Fixed] Libreoffice 6.0.5 doesn't start on machines missing Visual C runtimes
July 19, 2018 - 3:25pm
#1
[Fixed] Libreoffice 6.0.5 doesn't start on machines missing Visual C runtimes
Please explore to LibreOfficePortable\App\libreoffice\program and run soffice.exe so that you can see the error it is reporting.
Sometimes, the impossible can become possible, if you're awesome!
Experiencing the same on my unupdated Windows 8.1 system.
Running directly soffice.exe gives me the following error:
soffice.exe - System Error
The program can't start because api-ms-win-crt-heap-l1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem.
By the way, in my case, this the second app that cannot launch, the first one was the recently released Falkon browser, giving me the same error message.
MiK wrote:
I confirm the error message
While experimenting with transplanting "api-ms-win-crt-..." DLLs from LibreOfficePortable 6.0.4 to 6.0.5, I've noticed they are named differently, i.e. old names use dashes, and the new ones use underscores.
Like: api-ms-win-crt-conio-l1-1-0.dll vs api_ms_win_crt_conio_l1_1_0.dll
Anyway, I've pasted all fifteen (15) of them, and this helped, LibreOfficePortable.exe launched, regardless there are many more api DLLs that now use underscores in their names, instead of dashes.
I've done one more experiment by renaming the existing "api-ms-win-crt-...", and that does the trick too, program launches.
In what folder are these files?
They are in "...\LibreOfficePortable\App\libreoffice\program\" folder.
Full, default, path of my installation is:
C:\PortableApps\LibreOfficePortable\App\libreoffice\program\
I've even gone further with checking on this matter, and downloaded regular msi installers, both x86 and x64 versions, and found out that their "System", and "System64" folders contain those and other api dll's with names using dashes, not underscores.
So, the question is, to John, how did this happen that you ended up packing underscores instead of dashes?
And, another question is, since no one else is reporting the problem, does that mean that they pick up the api's with the correct names from the host systems?
*
Installers checked:
LibreOffice_6.0.5.2_Win_x86.msi
LibreOffice_6.0.5.2_Win_x64.msi
Instead I checked on my another pc with windows 7. Libreoffice portable, with the file with underscores, perfectly works!
So, what is the difference between the two systems, this new Win-7 PC and the other Win-7 mentioned in your original post?
I don't know. If you are able to suggest me something, I will checked.
However, I installed libreoffice portable on another pc with windows 8.1 and libreoffice doesn't start. In this libreoffice's version, the files name are with underscores
Okay, after taking a closer look at my own Windows system, I can now expand on my question, asking that you check your "System32" folders to see, if you have there any api DLLs with the "crt" segment, like: "api-ms-win-crt-"?
On my unupdated Win-8.1 system, I have none of those. Though, I have 263 other dll files of the "api-ms-win-..." variety.
*
Check and Compare > C:\Windows\System32\
In the win 7's folder C:\Windows\System32 where libreoffice portable starts, there are the DLLs with the name with dashes.
In win 8.1's folder C:\Windows\System32, where Libreoffice portable doesn't start, there aren't these files
So, here is your answer. What I've gathered from the Internet, versions earlier than Win-10 need proper updates to have them.
But if they are missing, LibreOffice should still launch because it includes them in its own package.
Also, apps like Firefox, and Thunderbird, include them in their packages. On the other hand app like the new browser Falkon, does not. You can use it as an additional test to check your systems.
Ok. Now we will wait a new release of libreoffice portable which will correct the error
Nothing critical for me, I can wait even for the next version release.
But, regarding this faulty one, thanks to your early reporting, I could skip installing it as my default copy, plus, which is most important, I've learned new things in the process of investigating the matter.
Thx,
MiK
Yes, but there are many people who will have this problem and they don't know how solve it.
Thank you for your capacity of investigation
This is fixed in 6.0.5 Rev 3. The <1MB patch is being automatically pushed to platform users now. Non-platform users can manually download it from the LibreOffice Portable homepage. A full installer download of Rev 3 is being compiled now and will be sent to The Document Foundation today. It will take ~2-14 days for them to post it.
I inadvertently used an old/broken template for this Fresh build that had underscores instead of dashes in the filenames. The files are oddly stored with underscores inside of the Visual C runtime installer but renamed on extraction. My apologies for the inconvenience.
Sometimes, the impossible can become possible, if you're awesome!
No fix for me ...
Applied the patch, still no go, found out that the new files are written to "...\LibreOfficePortable\App\libreoffice\" folder instead of its subfolder "...\LibreOfficePortable\App\libreoffice\program\".
*
Patch:
LibreOfficePortable_6.0.5_Rev_2_UpdateFrom_6.0.5_ONLY.paf.exe
Apologies, it's been a long week. It's been fixed and posted as Rev 3.
UPDATE: Full installers built for 6.0.5 Rev 3 and sent to The Document Foundation for publishing...
Sometimes, the impossible can become possible, if you're awesome!
It's all right, no apologies necessary, at least for me, as I stated previously it is a no critical issue for me, and it was easy to remedy once I knew what was going on. But, since only two users reported it, including me, I felt obliged to test the fix, and provide feedback.
The patch Rev 3 obviously works, I could tell it's been fixed just opening in 7-Zip, but have run fresh installations test anyway.
*
Patch:
LibreOfficePortable_6.0.5_Rev_3_UpdateFrom_6.0.5_ONLY.paf.exe
The full Rev 3 packages are now up in addition to the Rev 3 patch which is still available for existing 6.0.5 users.
Sometimes, the impossible can become possible, if you're awesome!