deployment-tools icon indicating copy to clipboard operation
deployment-tools copied to clipboard

netcorecheck.exe is missing api-ms-win-crt-stdio-l1-1-0.dll

Open sinsedrix opened this issue 4 years ago • 2 comments

Description

image

Configuration

On windows 7, I need netcorecheck.exe in an InnoSetup installer to check if an installation of dotnet runtimes is needed. When I run it, I get an error telling that a dependency is missing: api-ms-win-crt-stdio-l1-1-0.dll

Is there a way to auto-udpate netcorecheck or should I use another tool?

sinsedrix avatar Jan 05 '22 10:01 sinsedrix

[Triage] PTAL

NikolaMilosavljevic avatar Jan 05 '22 21:01 NikolaMilosavljevic

@sinsedrix Can you confirm you're asking about Win7 SP1 here?

This seems fixable, if we statically linked some of the MS VC redist binaries. Using dumpbin /imports it looks like there's 8 from the vc redist that we use:

api-ms-win-crt-stdio-l1-1-0.dll api-ms-win-crt-time-l1-1-0.dll api-ms-win-crt-string-l1-1-0.dll api-ms-win-crt-convert-l1-1-0.dll api-ms-win-crt-runtime-l1-1-0.dll api-ms-win-crt-heap-l1-1-0.dll api-ms-win-crt-locale-l1-1-0.dll api-ms-win-crt-math-l1-1-0.dll

I'd want to see how much size this would add to NetCoreCheck.exe before committing to this.

MSLukeWest avatar Jan 13 '22 00:01 MSLukeWest