dougR
Posts: 21
Joined: Mon Nov 19, 2007 9:48 pm

Extract the Registration Info failed to register dll and ocx

When trying to auto register a number of DLLs and OCXs using the Extract Registration info from native library, I found that it did not properly register the file on the target system. This occurred in both a MSI and a merge module project.

After a bit of testing, I was finally able to duplicate the issue for one of the files and found that the path in the registry was actually referring to a path on my build machine, and not the target PC.

The entry in the registry was

Code: Select all

[HKEY_CLASSES_ROOT\CLSID\{66589880-8F68-11D0-AA69-00A0C9274B91}\InProcServer32]
@="C:\\Projects\\CIFSET~1\\RESOUR~1\\CRYSTA~1\\System32\\cpeaut32.dll"
When it should have been

Code: Select all

[HKEY_CLASSES_ROOT\CLSID\{66589880-8F68-11D0-AA69-00A0C9274B91}\InProcServer32]
@="C:\\WINDOWS\\system32\\cpeaut32.dll"
I was able to fix the problem by modifying the registry to use a formatted value, after noticing that this was not a new issue. http://www.advancedinstaller.com/forums ... php?t=1154

Code: Select all

[SystemFolder]cpeaut32.dll
Is this still a known bug? Let me know if you would like me to provide you the two files that caused the problem.

Doug
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

This is a bug in Advanced Installer which will be fixed in the 6.2 version (it is scheduled for release in the near future).

Can you please send us the DLL and OCX files which show this behavior to support at advancedinstaller dot com so we can further investigate this problem?

Note that if you want to manually edit the values, you should use [!filename.ext] in order to replace them with the short path of the file.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dougR
Posts: 21
Joined: Mon Nov 19, 2007 9:48 pm

Version 6.2 fixes the problem

Hi -

I just downloaded the new version this morning, and recreated the project from scratch and it resolved the problem.

Doug

Return to “Common Problems”