Extract registration info for DLLs stopped working on XP - Advanced Installer Community
mikd
Posts: 42
Joined: Fri Aug 15, 2008 6:09 pm

Extract registration info for DLLs stopped working on XP

My setup is built on Windows XP machine.
It worked fine on version 11.1. After I upgraded to v.11.4.1-11.6.1 registration information from DLLs is not extracted any more (with any type of synchronization).
When I try it on Windows 7, Advanced Installer requests administrative privileges and extracts information successfully. On Windows XP it just does nothing, not producing any error messages. The XP user has administrative privileges.

We build setup on XP because previously we had similar problems with DLL registration, when we were trying to build setup on Windows 7 in batch mode, using command line interface.

Regards,
Mikhail
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Extract registration info for DLLs stopped working on XP

Hello Mikhail,

I've tested the scenario and indeed I can replicate the behavior. This seems to be an Advanced Installer limitation. Starting with version 11.3 of Advanced Installer we have added a new method to use for extracting the registration registries when the "Extract registration info from native library" option is used, and it seems this method fails on older operating systems like Windows XP. We apologize for this inconvenience. A fix will be added in the next version (11.7) of Advanced Installer. I'll update this thread when the 11.7 version of Advanced Installer will be out.

Until then, as a workaround you can downgrade to Advanced Installer 11.2 or older version.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mikd
Posts: 42
Joined: Fri Aug 15, 2008 6:09 pm

Re: Extract registration info for DLLs stopped working on XP

Thanks,

I prefer moving to Windows 7. It seems that now it works correctly in batch mode when lauched with administrative provileges.

Regards,
Mikhail
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Extract registration info for DLLs stopped working on XP

You're welcome Mikhail.

Indeed, on newer operating systems you shouldn't encounter any issues when using our newer versions of Advanced Installer (11.3 or later). However, as another workaround starting with version 11.7 (which wasn't released yet) you can also configure the Advanced Installer to use the older method for extracting the registration registries when the "Extract registration info from native library" option is used. Just manually created the following registry value (of REG_SZ type):

Code: Select all

HKEY_CURRENT_USER\Software\Caphyon\Advanced Installer\Settings\ComExtractionMethod
setting it with the keyRedir value.

This should also avoid the related issue on Windows XP operating systems.

Please keep in mind that the above workaround can be implemented only starting with version 11.7 of AI which is up to be released. I'll update this thread when AI 11.7 will be out.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Extract registration info for DLLs stopped working on XP

Hello,

The above improvement has been added in version 11.7 of Advanced Installer released on December 16th, 2014.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”