First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

can't find msvcp140_1.dll

I did a build of wireshark 3.4.5 with Qt 5.15.1 using Visual Studio 2019 on WINDOWS. I tested it and delivered it to my customer base and things are working fine.

I delivered the build to one particular customer and when he ran the .exe it came back and said "can't find msvcp140_1.dll". We check and verified the .dll exists in his System32 directory. I had him install the redistributable just to make sure.

What could be causing that error?

vemson's avatar
1
vemson
asked 2022-03-10 07:55:28 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

A few things to consider here. The Wireshark installer attempts to install a copy of the VC++ redistributable, and MS is less than helpful in ensuring the return values make sense, often returning an error code that actually means the installation succeed but with a minor observation, e.g. a newer version exists. The Wireshark devs have been playing whack-a-mole trying to handle this.

As you're building an old version from the old-stable branch (3.4.12 is the latest for old-stable) you may be missing fixes that would correct this issue, so please try a build using 3.4.12. You might also consider moving to the current stable branch and give your users the benefit of all the fixes and improvements added to the current build 3.6.2.

The version of the vc-redist used by the installer is usually obtained from the Visual Studio installation use to build Wireshark, the CMake configuration step prints out the path in use, it's possible there might be issues with the vc-redist you're currently using depending on the specific updates you have applied to Visual Studio.

As you state you're distributing to a customer, if using npcap, you should ensure compliance with the license for npcap which has restrictions on distribution. Wireshark itself relies on the GNU General Public License, version 2 for distribution which you should also observe.

grahamb's avatar
23.8k
grahamb
answered 2022-03-10 09:18:19 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer