Dependency walker and VC++ 2010 redist
Posted on 2014-01-21
I'm trying to run NSS certutil without installing the VC++2010 redist that it requires by placing the DLLs it needs in the same folder as my exe. We have no choice- we cannot run the installer as standard user without elevating to admin.
That being said, I've copied the following DLLs to the same folder as certutil.exe (an exe from NSS): [ mfc100.dll, mfc100u.dll, msvcr100.dll, msvcp100.dll, msvcr100_clr0400.dll ]
I am still not able to execute certutil.exe properly - getting an exception at startup (Exception 0xc000007b).
Dependency walker has various errors:
- At least one module has an unresolved import due to a missing export function in an implicitly dependent module
- Modules with different CPU types were found.
I got my DLLs from the C:\WINDOWS\SYSTEM32 folder of a virtual machine with the exact same image of my current machine (with the VC++ 2010 redist installed). So I'm wondering if the different CPU type error is a false positive.
There are 2 DLLs directly below my exe in dependency walker shown in red (MSVCR100.DLL and KERNEL32.DLL).
Do I have to include every single DLL that is in red in other subtrees as well? How much faith should I put in dependency walker?
Thanks for any help!