How to call a function from the attached native dll from CLI? - Advanced Installer Community
creepspectral
Posts: 1
Joined: Mon Jun 24, 2024 4:27 am

How to call a function from the attached native dll from CLI?

Hi, I'm a newbie.

How can I automate the addition of a custom action that calls a function from the associated native dll? None of the methods in the ICustomActionsComponent mimic this. Is there a difference between PowerShell and the AdvancedInstaller.com CLI tool?

Thanks
Liviu
Posts: 1419
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: How to call a function from the attached native dll from CLI?

Hello and welcome to our forums,

Have you tried IInstalledDllFunctionCallCustomAction or IAttachedDllFunctionCallCustomAction?

These interfaces facilitate editing custom action for calling function from attached/installed native dll.

Let us know if you have any questions.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”