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!

sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

COnditions on Services

Hello Support,

I have added the services files as features in the AI and services exe's in the "Service" Page. If a particular feature is not selected, the service file related to that feature will not be installed. Actual issue is that, I do not want to install the service if a service related feature is unselected. I have tried to apply the conditions to the service components, but it dint work. Is there any way to place conditions on the service installation?

I look forward to hear back from you soon..

Thanks
Soni
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: COnditions on Services

Hi Soni,

Unfortunately this is not supported directly. However, you can try using a custom action which modifies the feature actions based on other features. This custom action should run after "InstallExecuteSequence" -> "MigrateFeatureStates".

You can find a sample VBScript custom action in the Show a custom feature selection dialog how-to.

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

Return to “Feature Requests”