danliang
Posts: 8
Joined: Thu Dec 28, 2006 7:31 pm

Are custom actions attached to a feature

As the title states, I was wondering if custum actions were attached to a feature. For example, I have 3 features in my install each of which has its own custom action to perform, granted that I have selected the correct feature as the current one, will the custom actions work as I intend them to?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
I was wondering if custum actions were attached to a feature.
No, custom actions are not attached to features. But you can condition the execution of a custom action with the feature state like this:

Code: Select all

&MainFeature = 3
Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
danliang
Posts: 8
Joined: Thu Dec 28, 2006 7:31 pm

gigi wrote:Hi,
I was wondering if custum actions were attached to a feature.
No, custom actions are not attached to features. But you can condition the execution of a custom action with the feature state like this:

Code: Select all

&MainFeature = 3
Best Regards,
Gigi
http://www.advancedinstaller.com

Ahhh, very nice and obvious, stupid me! Thanks!

Return to “Common Problems”