locked
Redistributing DbgHelp.dll SDK 8.1 RRS feed

  • Question

  • Hi,

    I need to know if the DbgHelp.dll is directly redistributable, according to this topic it may not be: https://social.msdn.microsoft.com/Forums/windows/en-US/693e7e06-522c-42d9-b659-4ea2fd76f9a5/distribution-rights-for-dbghelpdll-where-can-i-find-the-details?forum=windbg

    This was also the only place I could find a redist license for the Debugging Tools for Windows (http://go.microsoft.com/fwlink/?LinkId=294840), there were no links provided in the Windows SDK itself, nor on its page about the license for redistributing.

    However, the DbgHelp.dll Versions MSDN page states that you should ship the DbgHelp.dll next to your binary (as we need to do): https://msdn.microsoft.com/en-us/library/windows/desktop/ff805116(v=vs.85).aspx

    "When using DbgHelp, the best strategy is to install a copy of the library from the Debugging Tools For Windowspackage in the application directory logically adjacent to the software that calls it. If Symbol Server and Source Server are also needed, then both SymSrv.dll and SrcSrv.dll must be installed in the same directory as DbgHelp.dll, as DbgHelp will only call these DLLs if they share the same directory with it. (Note that DbgHelp will not call these two DLLs from the standard search path.) This helps prevent the usage of mismatched DLLs; likewise, it also improves security overall."

    Redistributing a msi package is not possible, as we're running into situations where customers have installed old software that is installing old versions of DbgHelp.dll into the System32 folders (incorrectly) - these could be installed after the redist package and we would be again linking to older, unsupported versions.

    Tuesday, March 17, 2015 5:01 PM