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!

Rajeshree
Posts: 13
Joined: Thu Sep 05, 2013 12:10 pm

Calling a function from standard DLL

Hi,

I have added the "Call function from standard DLL" without sequence custom action. I have passed the function name of the .dll file.
But, the log generates the foll. error

ction start 16:32:48: CallFunctionFromDLL.
MSI (c) (14:60) [16:32:48:216]: Invoking remote custom action. DLL: C:\DOCUME~1\knaker\LOCALS~1\Temp\MSI1BE.tmp, Entrypoint: CallStdFcn
MSI (c) (14:F8) [16:32:48:248]: Product: Empart Publisher -- Error 4157. Failed to load C:\Program Files\ARI Network Services\Empart Publisher\GetDSNList.dll. Error:The specified module could not be found.


Action ended 16:32:48: CallFunctionFromDLL. Return value 3.
Info 2896. Executing action CallFunctionFromDLL failed.

And the setup ends prematurely.
Is there any problem in the .dll file??
Please provide some help..

Thanks and Regards,
Rajeshree B
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Calling a function from standard DLL

Hello Rajeshree,

This may happens if the related .DLL is not available when the Call function from standard DLL custom action is executed.
So, the .DLL file from which the function is called must be included in the application files. You can do this in the Files and Folders Page as a temporary file.

If that is not necessary your case can you please send us the .AIP (project file) and the full verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”