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!

craigd27527
Posts: 2
Joined: Fri Mar 03, 2017 5:31 pm

How to use action data in a c++ dll

I have a C++ DLL that is being called from a custom action. I need to pass parameters into a function. I see that action data should be used. I have seen examples in C# but not in C++. Could someone post an example of using action data in C++.

Thanks!!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How to use action data in a c++ dll

Hello,

To achieve what you want you should just get the property value of the "CustomActionData" property from your DLL code.

If you have any questions let us know.

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

Return to “Building Installers”