I've never had a problem with extracting registration information from my DLL's until today. I traced it down to a new dependency, MPR.dll (from WNetAddConnection2). tools.exe extreg chokes on my DLL when I have that dependency. Without it, it works fine. ProcMon says it all boils down to this
1:41:24.0796363 PM Tools.exe 6148 4008 RegOpenKey HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\MPR.dll NAME NOT FOUND Desired Access: Query Value, Enumerate Sub Keys
1:41:24.0796884 PM Tools.exe 6148 4008 RegQueryKey HKCU\Software\Caphyon\Advanced Installer\Temporary\HKLM SUCCESS Query: HandleTags, HandleTags: 0x400
1:41:24.0797006 PM Tools.exe 6148 4008 RegOpenKey HKCU\Software\Caphyon\Advanced Installer\Temporary\HKLM\system\CurrentControlSet\control\NetworkProvider\HwOrder NAME NOT FOUND Desired Access: Read
With that final error, tools.exe gives up.
I can delay-load MPR.dll, but there's no good technical reason to do so. Any idea what's going on here?