stax76 / OpenWithPlusPlus

Open with++ context menu shell extension
MIT License
332 stars 15 forks source link

DLL not found #5

Closed davidmef closed 4 years ago

davidmef commented 4 years ago

Probably it is a very silly thing, but I cannot install it. This is Windows 8.1. I unzip OpenWithPP-3.0.0.0.7z in C:\Users\D\Portable\OpenWithPlusPlus. I click OpenWithPPGUI.exe. The window opens. I click Install. I confirm. A warning appears that it will install the DLL. Then a RegSvr32 window says that it could not load the module c:\Users\D\Portabl...\OpenWithPPShellExtension.dll. However the DLL file is there. What is the problem?

Thanks for your work.

stax76 commented 4 years ago

Maybe your system isn't 64-bit, I don't provide 32-bit builds.

davidmef commented 4 years ago

It is a 64-bit operating system with an x64 processor.

I have tried also the 2.1.0.0 version. It fails in the same way.

I noticed that the Details tab of the DLL has most fields empty. 7Zip doesn't complain about the integrity of the archive, though.

stax76 commented 4 years ago

Maybe try register it manually with regsvr32.exe <dll path>.

davidmef commented 4 years ago

I also tried that: C:\Users\D\Portable\OpenWithPlusPlus>c:\windows\System32\regsvr32.exe c:\Users\d\Portable\OpenWithPlusPlus\OpenWithPPShellExtension.dll

Could it be a missing dependence? I installed .NET Framework 4.8 before since I didn't have it.

stax76 commented 4 years ago

Probably, it's compiled with VC++ 2019.

davidmef commented 4 years ago

I installed https://aka.ms/vs/16/release/vc_redist.x64.exe from https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads and it still fails.

davidmef commented 4 years ago

I rebooted to be sure that every installation had finished but it still fails.

ilhamepri commented 4 years ago

check if your folder readonly or not

Demitrix2k commented 4 years ago

I am running into the exact same issue, net framework is up to date and everything.

ericist commented 4 years ago

Here's a fix: Install Visual Studio Community 2019 and select the 'Desktop development with C++' workload. Seems like this includes a dependency required for OpenWithPP. Had the same error message on W10 1909 with https://aka.ms/vs/16/release/vc_redist.x64.exe installed.

stax76 commented 4 years ago

@ericist

Prior to that did you try VC++ redist 2019 ?

https://support.microsoft.com/en-au/help/2977003/the-latest-supported-visual-c-downloads

ericist commented 4 years ago

@stax76 Yes I did, the redist you linked is the same as the one in my comment. I'm not too familiar with VC++, if you open the VS installer, deselect everything but C++ desktop dev. and look under individual components you might get an idea of what it's installing besides the redist.

whudwl commented 4 years ago

same issue here.

BeardedOranges commented 4 years ago

I downloaded 'Desktop development with C++' on my Visual Studio Community 2019 and the error went away for me. I already had .NET Framework 4.8 installed, so that did the trick. Hope this information will help you guys!

stax76 commented 4 years ago

The problem is I released a debug build instead of a release build.

I hope I have soon time to make a new release.

stax76 commented 4 years ago

This should now be fixed:

https://github.com/stax76/OpenWithPlusPlus/releases

yzhang-gh commented 4 years ago

Have the same issue with v3.6.0.0 😥

stax76 commented 4 years ago

It's probably not the same problem because the old problem was the release of a debug build.

Dependency Walker shows that v3.6.0.0 uses VCRUNTIME140.DLL, if it was a debug build then it would show VCRUNTIME140D.DLL

yzhang-gh commented 4 years ago

Prior to that did you try VC++ redist 2019 ?

https://support.microsoft.com/en-au/help/2977003/the-latest-supported-visual-c-downloads

I tried this and it works now. Thank you!

stax76 commented 4 years ago

Ok, I've updated the Setup instructions:

https://github.com/stax76/OpenWithPlusPlus#setup