crandom
Posts: 13
Joined: Thu Sep 29, 2011 7:18 pm

Unable to extract registration information due to MPR.dll

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?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Unable to extract registration information due to MPR.dl

Hello,

Do you have the registration synchronization enabled for your .DLL? If not can you please try to synchronize the file's registration from the Registration tab and see the result?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
crandom
Posts: 13
Joined: Thu Sep 29, 2011 7:18 pm

Re: Unable to extract registration information due to MPR.dl

Yes, I do. Yes, it fails with the result I posted previously when the DLL is dependent on MPR.dll.
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Unable to extract registration information due to MPR.dl

This could happen if the file MPR.dll is not found in the same directory as the DLL to which it is a dependency, or not found in PATH environment variable.
Also, the same applies for all the dependencies of MPR.dll itself.

In order to debug this further more we would need your DLL files, as well as the aip file you are using. You can send them to support at advancedinstaller dot com.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
crandom
Posts: 13
Joined: Thu Sep 29, 2011 7:18 pm

Re: Unable to extract registration information due to MPR.dl

I sent them along. Thanks, Bogdan.
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Unable to extract registration information due to MPR.dl

This has been fixed in version 8.9 of Advanced Installer, released on January 26, 2011.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”