Dll registration issue - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

olivier
Posts: 3
Joined: Tue Jan 29, 2013 11:21 am

Dll registration issue

Hi,

I'm using AI 9.7 (Enterprise license) and can't register my project dynamic libraries.

I checked "Auto register file" and "Self register native library" in "registration" tab of dll properties, but dlls are not present in Windows registry. :(

I also tried to register my 2 dlls in "custom actions" / "Add resources" (Function "DllRegisterServer"): Installer execution displays "... setup wizard ended prematurely" :(

I'm sending .aip (autoregister.aip and custom_actions.aip) and log file (installer.log generated with "custom actions" installer) in separated email.

Cordially,
Olivier
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Dll registration issue

Hello Olivier and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.
I checked "Auto register file" and "Self register native library" in "registration" tab of dll properties, but dlls are not present in Windows registry. :(
I'm afraid I didn't find any DLL file with this option enabled in your "autoregister.aip" project.
I also tried to register my 2 dlls in "custom actions" / "Add resources" (Function "DllRegisterServer"): Installer execution displays "... setup wizard ended prematurely" :(
Can you please enable the "Deferred with no impersonation" execution option, from "Custom Action Properties" right pane, for your register DLL custom actions and see if the behavior still persist?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
olivier
Posts: 3
Joined: Tue Jan 29, 2013 11:21 am

Re: Dll registration issue

Hi,

I enabled "defered with no impersonation", result is "setup ended prematuretly" and rollback.
Find deferred.aip and deferred.log file in following email.

Cordially,
Olivier.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Dll registration issue

Hello Olivier,

Can you try to manually register the dll files using the related dll functions and see if the registration succeeds? Also, from what I see in the log file you've sent to us the installation succeeds. Are you sure you've attached the corresponding log file?

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

Return to “Common Problems”