api-ms-win-crt-runtime-l1-1-0.dll is missing when opening Microsoft Office file [closed] - crt

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I am facing this .dll library missing error:
This programme can't start because api-ms-win-crt-runtime-l1-1-0.dll
is missing. Try to reinstall this.
When I try to open an Microsoft Office file.
How do I solve that?

The default solution is to install KB2999226 of Microsoft.

While the answer from alireza is correct, it has one gotcha:
You can't install Microsoft Visual C++ 2015 redist (runtime) unless you have Windows Update KB2999226 installed (at least on Windows 7 64-bit SP1).

Recursively update Windows 7 until it shows no more updates, using Windows Update check option in Windows 7.
Then download and install Visual C++ Redistributable vc_redist.x64.exe from the Windows website.
Then try to run Apache server.

This error is usually caused by the missing Visual C++ Redistributable file, which is a required dependency for most of the application on Windows Computer.
Download Visual C++ Redistributable from here and install it. After installing this, Reboot the system.
Link: Visual C++ Redistributable

Delete all temp files
search %TEMP%
delete all
Perform a clean boot.
see How to perform a clean boot in Windows
Install vc_redist.x64
see Download Visual C++ Redistributable for Visual Studio 2015
Restart without clean boot

In case nothing of the previous answers worked, add one of these paths to your PATH environment variable:
C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x64
C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86
Of course, make sure they exist first and that they contain the DLL files needed.
If they don't exist, try installing "Windows Universal CRT SDK" from the Visual Studio 2015 or Visual Studio 2017 installer.

if anybody unable to update windows online, I suggest you go to http://download.wsusoffline.net/ and download Most recent version.
Then install update generator -> select your operating system. and hit START, just wait few minutes let him download updates and complete all it's process. hope this help.

This is old post and I am sorry but even installing of KB2999226 will not help if you don't have April 2014 update rollup for Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2 (2919355) update package.
Without it the installation of KB2999226 returns error "The update is not applicable to your computer". Typically you will get this problem if you have some offline envinroment for example dev virtual machines without access to the WSUS or Windows Update services and old ISO images of Windows 8.1, Server 2012 R2.

Related

Why can't I install MySQL Workbench

I've downloaded the MySQL installer and tried to run it. On the Check Requirements, MySQL Workbench 8.0.20 is listed. I clicked and got this message in the requirement:
Microsoft Visual C++ 2019 Redistributable Package (x64) is not installed. Latest binary compatible version will be installed if agreed to resolve this requirement.
I click Next and I get:
One or more product requirements have not been satisfied.
I click Yes, and MySQl Workbench is not listed. How do I install?
The intuitive thing is to go to https://dev.mysql.com/downloads/workbench/ and select the
Windows (x86, 64-bit), MSI download.
However this failed for me with VS C++ 2019 Redistributable required even after installing the latest version (2015-2019).
So I clicked on
Go to Download Page button which took me to:
https://dev.mysql.com/downloads/windows/installer/8.0.html
and selected the 2nd, larger download (the 435MB file at this writing)
Although this is labeled (x86/32-bit), don't be fooled. It includes both versions and will install the 64 bit version on a 64-bit machine.
The following link will download the current installer as of 6/23/2021:
https://dev.mysql.com/get/Downloads/MySQLInstaller/mysql-installer-community-8.0.25.0.msi
If you are installing significantly later than 6/23/2021, I suggest you start at
https://dev.mysql.com/downloads/workbench/
to get the latest version.
Update 2023: The installer has a button to "download prerequisites" that opens https://dev.mysql.com/downloads/workbench/
From there get the MySQL Installer and hit next to go to step 2. There, you can select only the "ODBC Connector" that will also include the redistributable. It is far smaller than the whole MySQL db install (e.g. 20Mb).
I had the same problem when trying to install the 35mb 64bit version. Kept coming back with requiring Visual C++ 2019...
Poking around found that if I went back to the install page and looked around the 32bit version of MySQL, there are two other installs. I chose to install the 405mb MySql Workbench 8 32bit and was able to install successfully. Albeit, mine was an upgrade from 6 to 8.0.20.
Uninstall the previous MYSQL and download the (Windows (x86, 64-bit), ZIP Archive
Debug Binaries & Test Suite) 499Mb version, when the error prompts on the screen simply hit No and execute. If the error persists, you might want to to download Microsoft Visual C++ 2015-2019 Redistribution manually and then continue the installation again.
Install Microsoft visual C++ X86 or X64 from this link ( https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 ).
For those seeing this later, I had the same issue with a fresh install of Win11, new PC, and trying to get 8.0.3.1 WB, and got the same dependency error on VC++ 2019. I followed all the same guidance above, and on other threads but it didn't work. The WB installer didn't recognize the VC++ redist pack as being installed.
I went to my old PC, found the old version of VC++ redist, and installed it....voila, WB would install. I used VC++ 14.30.30708, and it worked fine. As of this writing the current version of VC++ redist from the links above, was 14.34.31931
Hope it helps someone.

While installing PostgreSQL on windows getting an popup "Microsoft Visual C++ 2013 Redistributable (x64)-12.0.40660 has stopped working"

I am trying to install the PostgresSQL on windows7 (64-bit). I have referred the installation steps, downloaded the postgresql-9.4.12-1-windows-x64.exe file.
But when I am running this file, an popup occurs and installation gets interrupted.
getting this pop up
Then I tried to install the postgresql-9.6.3-3-windows-x64.exe also but facing same error.
After searching for the solution and then I tried several ways like
"Run as administrator",
modified the file name to "postgresql-9.4.12-1-windows-x64.exe --install_runtimes 0",
installed the other visual c++ packages from microsoft support.
But still facing the same error popup.
Could someone help me to understand why I am getting this and suggest any solution for this.
You get this message because you are on an unsupported state (Windows 7 RTM without Sp1 and any update with the version 6.1.7600.16385).
To be able to install new Visual C++ Runtimes, you need to install the Windows 7 Sp1, next the April Servicing Stack update and June 2016 Rollup, reboot, run Windows Update, scan for new updates and install all offered updated.
Reboot and now install postgresql-9.4.12-1-windows-x64.exe.

How can I tell if SP1 is installed on Windows Server 2008 R2 Standard? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've been given access to a server and told SP1 was installed on it, but I think maybe it wasn't.
How can I check if Service Pack 1 is installed on Windows Server 2008 R2?
What I've tried:
If I right click Computer, then click Properties, it says "Windows Server 2008 R2" under Windows Edition. I would expect it to say "Windows Server 2008 R2 Service Pack 1" if it was installed, but I did find something in a Windows 7 forum about the Service Pack not showing up in computer properties.
If I click Control Panel - > Programs - > View Installed Updates, it's not there either. I don't see the words "Service Pack" or any reference to KB 976932, which I believe is the KB for Service Pack 1 for Server 2008 R2 as well as Windows 7. (Maybe I'm wrong?)
If I run msinfo32, it shows Version as 6.1.7600 Build 7600
If I call ver.exe from command prompt it says Microsoft Windows [Version 6.1.7600]
Is there any other way to verify if SP1 is installed? Or, could I prove it is NOT installed?
UPDATE: Maybe someone can move this to Server Fault?
Here's the explanation I received: "The Windows Server 2008 R2 w/sp1 is from our Microsoft download, and the key used only works on that download" Is this normal/expected behavior for a MSDN download?
Go to start > run and type winver. Hit enter and a dialog will appear. On the second line in the main dialog body, you will either see something like this:
Microsoft Windows [Version 6.1.7600]
Or, if SP1 is installed you will see this:
Microsoft Windows [Version 6.1.7600: Service Pack 1]
If a service pack is properly installed, it will always appear in the winver dialog, so it's absence is proof that it is not installed, or is corrupted in some way.

How to install VC80CRT debug runtimes without full visual studio 2005?

I can't run a debug sdk application because it requires both VC 8 and VC 9 versions of the CRT. But it only requires visual studio 2008 for plugin dev, which is what I need.
How do I install the debug runtimes from 2005 on to a Windows7 machine? I can't figure out how to make them run app local nor can I copy anything into the winSxS folder without a trusted installer.
Refer to this post.
As per this the debug dlls can be found at:
For Visual Studio 2005:
C:\Program Files\Microsoft Visual
Studio 8\VC\redist\Debug_NonRedist\x86
For Visual Studio 2008:
C:\Program Files\Microsoft Visual
Studio
9.0\VC\redist\Debug_NonRedist\x86
Also as per what I know you need not have these dlls in the WinSxS folder. Even if these dlls are present in the same directory as your application exe is, it will do.
Anyways using debug dlls in production environment is not recommended.
In case you elevate your application, make sure you set the 'Start in' path to the application home/install directory or add the path to the VC++ debug dlls to the PATH environment variable.
You must install visual studio to get the debug CRT. This will be moot as soon as we don't need 2005 or 2008 again.
You can create a simple setup project (vdproj) which pulls in the debug merge modules.
This works fine up to Visual Studio 2010 (VS10) but is not supported for 2012 (VS11) and later :o(
You must install the C++ compilers to get the debug CRT, but you don't have to install all of Visual Studio. Instead, use the web install of the Windows SDK to install the compilers. The Windows 6 SDK includes the VC8 compilers, the Windows 7 SDK includes the VC9 compilers and the Windows 7.1 SDK includes the VC10 compilers.

Getting windbg without the whole WDK? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Does anyone know how to get ahold of windbg without having to download the entire 620MB WDK ISO?
All I can find on the net to download the debugger is this link, which says you have to get the whole WDK: http://www.microsoft.com/whdc/devtools/debugging/default.mspx.
Actually, Microsoft has now made the Debugging Tools downloadable separately from the SDK. Look for the section "Standalone Debugging Tools for Windows (WinDbg)" about mid-page:
for Windows 8.1
for Windows 10
Officially, you can't. But someone's been extracting them for your convenience and hosting them.
Note: You can get the older releases on the official site, but the latest ones are part of the WDK.
If you run winsdk_web.exe from the following link, you can selectively install windbg or extract windbg installer msi.
Microsoft Windows SDK for Windows 7 and .NET Framework 4
http://go.microsoft.com/fwlink/?LinkID=191420
The standalone MSI file of windbg can be downloaded from here. The version is 6.12.0002.633 (x86). http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKDebuggingTools/dbg_x86.msi
If you're on Windows 7 x64, the solution provided by Sukesh doesn't work.
I managed to install the debugging tools by downloading the Windows SDK installer for Windows 8 (here), and then choosing "Debugging Tools for Windows" in the installer:
http://codemachine.com/downloads.html
Has all the individual msi files
Try the MSDN archive link at http://archive.msdn.microsoft.com/debugtoolswindows/Release/ProjectReleases.aspx?ReleaseId=4912. It has the WinDbg MSI for both 32- and 64-bit (Version 6.12.2.633).
I found both, x64 and x86 version 6.12.0002.633 here:
http://rxwen.blogspot.de/2010/04/standalone-windbg-v6120002633.html
The saga continues with the Windows 10 version. I had to install Win Debug Tools on clean Windows 10 OS with Visual Studio 2015.
To make a long story short, just follow the instructions in the link provided by David Black. After downloading the files, instead of running the SDK installer, browse to the installers directory and execute the msi files directly.
I wonder how many man hours have been lost through the last decade because of MS sloppiness in regards to WDK/SDK installation?
You can also get it from Chocolatey:
https://chocolatey.org/packages/windbg
For Windows 7 x86 you can also download the ISO:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=8442
And run \Setup\WinSDKDebuggingTools\dbg_x86.msi
WinDbg.exe will then be installed (default location) to:
C:\Program Files (x86)\Debugging Tools for Windows (x86)
I was looking for the same thing for a quick operation and found this question. I needed both 32-bit and 64-bit versions.
This is an older version but the links are from the Microsoft servers, it should be safe. The link for 32-bit version is also in a previous answer but the version number i get on the install is different, maybe the same link is updated with a newer version since 2013.
Cheksums are generated both locally and on VirusTotal, they match.
Debugging Tools for Windows (x64) (6.12.2.633)(VirusTotal Scan): http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKDebuggingTools_amd64/dbg_amd64.msi (SHA-256:2e491bb98850abf9b9d2627185b57e048ba9b2410d68303698ac68c2daad9e5d)
Debugging Tools for Windows (x86) (6.12.2.633)(VirusTotal Scan): http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKDebuggingTools/dbg_x86.msi (SHA-256:5a0f43281e51405408a043e2f94dd51782ef29671307d3538cfdff5b0e69d115)
I tested the 64 bit debugger with a 64 bit program that was compiled some years ago (~2012) and it works. Test is done on Windows 10 Pro 64 bit (v2004 Build 19041.207).
WinDbg is now available separately via MS Store. It's called "Preview" but I tested it to analyse some memory dumps and it works fine.
If you're on Windows 10 - launch MS Store, type "WinDbg" in the search box and voi-la - you have it. The download is approx. 100mb. It will downlaod required symbols automatically.
This Microsoft link allows you to select the SDK. When you run the install and only select Windows debugging tools it will only download 288mb and install the tool as stand alone.
https://developer.microsoft.com/en-us/windows/hardware/download-windbg