4

I used to have QGIS installed on my computer (functioning) but I decided recently to upgrade. However, attempts to install QGIS have failed. My computer is running Windows Vista (upgrading my operating system is not an option in my case) with 32-bit operating system.

During installation (which I have tried with both QGIS 2.18 and QGIS 2.14 several times now), the following error shows up: "Could not find C:/Program Files/QGIS 2.18/postinstall.log" but I can find a postinstall.txt file when I look manually installation_error When I try to open QGIS, I get the following error message: "This application failed to start because api.ms.wind.crt.runtime-l1-1-0.dll was not found. Re-installing the application may fix this problem." execution_error

If there is a known problem with the latest QGIS and older operating systems, what is the last version of QGIS that is known to work correctly with Windows Vista? [edit: I have successfully installed QGIS 2.10.1 on Windows Vista]

Additional issue: QGIS 2.18.14 (latest release in December 2017) nor QGIS 2.14 (long-term repository release) nor OSGeo4W does not install on my Windows 7 64-bit computer. No error messages were given during the Stand-alone installation but the same error message when I attempt to open QGIS pops up:

"This application failed to start because api.ms.wind.crt.runtime-l1-1-0.dll was not found. Re-installing the application may fix this problem." execution_error

8
  • 1
    Looks like you're using the stand-alone installer and some people have experienced difficulties with that. I install via OSGEO4W, which is a Swiss Army knife installer for a ton of FOSS4GIS software and seems to give better results. As for upgrading your Operating System, it is always an option. Vista is a bit long in the tooth and wasn't brilliant to start with. On an older computer I'd recommend considering switching to Linux with its smaller OS overhead. For Windows users I recommend the Linux Mint distro as this will feel familiar (you can run both Windows and Linux on the same machine) Commented Apr 28, 2017 at 7:10
  • 1
    Upgrading operating system is not an option. I tried OSGEO4W and the same error message. Also, during installation, I got this message: "crssync.exe has stopped working."
    – kl-higgins
    Commented May 3, 2017 at 14:06
  • Maybe related: issues.qgis.org/issues/17588 and gis.stackexchange.com/questions/256452/…
    – AndreJ
    Commented Dec 5, 2017 at 19:20
  • Did you try support.microsoft.com/en-us/kb/2999226 ?
    – AndreJ
    Commented Dec 5, 2017 at 19:40
  • This problem has been reported as a bug #17588 and I have linked this post to it to provide more details to the developers who hopefully believe that their software should be available to all users with relatively recent operating systems. I am wary of installing updates to the windows operating system itself since it may lead to other incompatibility issues with other software and general loss of functionality of computer.
    – kl-higgins
    Commented Dec 5, 2017 at 20:10

1 Answer 1

5

I have overcome this issue after hours of trying on my Windows 7 x64. Here's how it worked for me:

  1. I was getting the same error when launching QGIS2.18. It said that "This application failed to start because api.ms.wind.crt.runtime-l1-1-0.dll was not found. Re-installing the application may fix this problem." Tried re-installing, but didn't work.

  2. First I had to install MS C++ Redistributable 2015 (Not sure if it's needed, but wouldn't hurt).

  3. Then I needed to install Microsoft update KB2999226 (as suggested by many here). This Windows Update contains the missing api.ms.wind.crt.runtime-l1-1-0.dll file, so it's critical to have it on your PC. But here I encountered a major issue. Since I hadn't updated my Windows in a while, the .msu file would go on a never ending loop and get stuck. (If you don't face this, and are able to install KB2999226 successfully, you should be done at this point and QGIS should be working).

  4. So I followed the Windows Service cleanup instructions here: https://www.howtogeek.com/247380/how-to-fix-windows-update-when-it-gets-stuck/. I a) turned off Windows Update, b) then from Services.msc, I stopped the windows update service, c) restarted in safe mode and cleared the contents in C:\Windows\Software Distribution folder, d) restarted in regular mode, and then e) installed KB3020369 (April 2015 servicing stack update for Windows 7), followed by KB3172605 (July 2016 update rollup for Windows 7 SP1) by following the instructions provided in the link. Finally, after restarting, and ensuring that my Windows Update service is still stopped, I installed the KB2999226 update. This time it got installed really fast (no more never-ending loop!), and then when I tried to launch: Voila! I had QGIS!!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.