Install service per feature - Advanced Installer Community
stoodsmj
Posts: 3
Joined: Thu Jun 13, 2013 3:17 am

Install service per feature

Hi

Is it possible to install a service only if the end user has selected a feature / component to install?

If not, is it possible to execute a custom action only if a user has selected a feature / component to install?

Thanks,

Mike
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Install service per feature

Hi Mike,
Is it possible to install a service only if the end user has selected a feature / component to install?
You can add the service resources under the related feature that will be conditionally installed. For this, you can select the .EXE from the Service page and use the Go to Component toolbar button. You will be redirected to the Organization page. There you can add the component under the feature that will be conditionally installed.
If not, is it possible to execute a custom action only if a user has selected a feature / component to install?
Yes, you can condition a custom action execution through its condition field. There you can add a a boolean expression which must be true for the Custom Action to be executed. Edit this field using Smart Condition Edit Control.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”