How to add supporting Files/Dlls in UI Custom Action - 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!

ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

How to add supporting Files/Dlls in UI Custom Action

Hi,

I want to call one exe file as my “UI Custom Action”, but that exe requires 2 more Dlls. (I want to call this exe in my second dialog itself)
In “UI Custom Action” I can add only exe [means one file in one custom action]. My question is where I can add those other Dll so that when the exe invoked by installers then exe will pick the Dlls also.

This functionality I want because I need to validate some file then only my installer allow user to move to the next dialog in the installer.

Please help.

Thanks
Amit
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: How to add supporting Files/Dlls in UI Custom Action

Hi,

Here is what you can try:
-- you can add the EXE and the two DLL files as temporary files in one of the predefined folders from the Files and Folders page, for example "WindowsVolume" folder
-- now you can go to Custom Actions page and add a "Launch File or Open URL" custom action under the UI Custom Actions tree
-- use the [Edit] button to select the EXE
-- after the installation has finished the EXE and the two DLL files will be removed automatically

Please let me know if you have any questions.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Re: How to add supporting Files/Dlls in UI Custom Action

Thanks

It is working

Return to “Common Problems”