How to handle installation of msvcr100.dll

Ask for help, how to use AHK_H, etc.
User avatar
runie
Posts: 304
Joined: 03 May 2014, 14:50
Contact:

How to handle installation of msvcr100.dll

08 Jun 2017, 05:33

I'm currently using an installer to install a program written in AHK_H, which brings the issue of how to handle installation of msvcr100.dll on the users computer.

I first encountered the issue when I tried the installer on my laptop (which had a relatively fresh OS install), and got the error message saying msvcr100.dll was missing.
I installed various Microsoft VC Redist packages, to no avail. I restarted after having installed numerous different packages, but it still didn't work. I went into the sys32 folder and msvcr100.dll was in there but the AHK_H program would still not start.
Looking a bit at these subforums I quickly figured out the dll is bundled in the AHK_H download.

So my question is, when installing should I:
  • 1. Copy the dll to sys32 if it doesn't exist
    2. Overwrite the dll even if it does exist
Considering the issue I had on my laptop I'm not 100% sure what the right approach here is.

Thanks in advance for help!
User avatar
TheDewd
Posts: 1510
Joined: 19 Dec 2013, 11:16
Location: USA

Re: How to handle installation of msvcr100.dll

08 Jun 2017, 11:35

In 64-bit Windows, the dll must also exist in "SysWOW64" as well as "System32". Can you check to see if the dll exist in "SysWOW64"? If it doesn't exist, try adding it to there and try the program again.
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: How to handle installation of msvcr100.dll

08 Jun 2017, 17:34

I would simply copy it to the same location where the exe is.
User avatar
runie
Posts: 304
Joined: 03 May 2014, 14:50
Contact:

Re: How to handle installation of msvcr100.dll

08 Jun 2017, 17:52

HotKeyIt wrote:I would simply copy it to the same location where the exe is.
What if I have multiple exes in subfolders? Is it possible defining the location of the dll in a script?
User avatar
runie
Posts: 304
Joined: 03 May 2014, 14:50
Contact:

Re: How to handle installation of msvcr100.dll

08 Jun 2017, 18:27

Thanks for the resource. Looks like I'll have to bundle two copies of the dll to have it work properly.

Return to “Ask for Help”

Who is online

Users browsing this forum: No registered users and 20 guests