vcruntime140_1.dll not found

Bevan Thomas 60 Reputation points
2024-11-08T05:28:01.0466667+00:00

I have a wix project to which i include Microsoft_VC141_CRT_x64.msm and Microsoft_VC141_MFC_x64.msm merge modules but i still get the error mfc140u.dll and vcruntime140_1.dll not found.
What is the issue here?are these dlls not part of these merge modules

Developer technologies C++
{count} votes

Accepted answer
  1. Minxin Yu 13,501 Reputation points Microsoft External Staff
    2024-11-08T07:27:08.4533333+00:00

    Hi, @Bevan Thomas

    I tested wix project including merge module

    C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC\v143\MergeModules\Microsoft_VC143_CRT_x64.msm
    
    C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC\v143\MergeModules\Microsoft_VC143_MFC_x64.msm
    

    And I am able to find mfc140u.dll and vcruntime140_1.dll in system32 folder.

    What you need to check

    1.Is your exe 64-bit?

    You can manually copy the 64-bit output files to the test machine to see if the problem still occurs.

    2.Are there mfc140u.dll and vcruntime140_1.dll files in system32 folder?

    Best regards,

    Minxin Yu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.