Problem in DLL Registration - 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!

colinng
Posts: 13
Joined: Wed Mar 31, 2010 7:07 pm

Problem in DLL Registration

Hi all,

I am experiencing strange problems in DLL registration in Advanced Installer v7.5.1 & v7.5.2.

Step to reproduce:
Scenerio 1:
1) add A.DLL
2) add B.DLL (A.DLL depends on B.DLL)
3) set the registration option for A.DLL to (Auto register file, Extract registration from native library, Synchronization=BuildTime)
4) Save as test.AIP
5) Quit the Advanced Installer
6) load test.aip and relanuch Advanced Installer (Popup System error message : missing dll)

Scenerio 2:
1) add A.DLL
2) add B.DLL (A.DLL depends on B.DLL)
3) Save as test.AIP
4) Quit the Advanced Installer
5) load test.aip and relanuch Advanced Installer
6) set the registration option for A.DLL to (Auto register file, Extract registration from native library, Synchronization=BuildTime)
7) Popup System error message : missing dll and fail to register A.DLL

I believe that A.DLL fails to register, but strangely, the MsI is able to build when I load A.DLL and B.DLL together. I have posted similar problem in another thread regarding to this as well. My orginal problem is
" The missng DLL problem occurs when I have two pairs of DLL which is registered using the option "extract registration info from native library" and "synchronization = buildtime".

Apparently, the root cause is related to the registration option of "Extract registration from native library" + Synchronization=BuildTime

Does any one have any idea how to fix this or bypass this problem?

Colin

PS I attached my problem AIP project file
Attachments
test1.aip
(7.67 KiB) Downloaded 299 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Problem in DLL Registration

Hello,

Can you also send the necessary dependencies to build the .aip so we can properly test it?
Send them to support at advancedinstaller dot com.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”