Feature merge modules custom actions - 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!

waspy
Posts: 64
Joined: Fri Oct 03, 2008 10:58 am

Feature merge modules custom actions

Dear guys,

I'm experiencing the following problem: I have set a merge module to a particular feature. The feature is not installed, but its custom actions are executed!!! Since the files are not copied it fails with 2869 error message. Which condition I need to set inside the merge module custom action so it is NOT executed if the parent feature is not installed?

Kind regards,
Alex
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Feature merge modules custom actions

Hi Alex,

Unfortunately a custom action in a merge module cannot be conditioned by the feature of the MSM. However, you can condition it with the components of the files it uses. In the "Custom Action Properties" pane for a custom action you can click the "..." button in the "Expression" field to show the Condition Editor. This way you can use the component actions for your files in the condition of the custom action.

You can find more details about using component actions here:
Conditional Statement Syntax
Examples of Conditional Statement Syntax

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”