COnditions on Services

Request new features that you would like to see in the next version of Advanced Installer.

COnditions on Services

Postby sony » Mon Jul 12, 2010 9:20 am

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
sony
 
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: COnditions on Services

Postby Cosmin » Mon Jul 12, 2010 4:10 pm

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
http://www.advancedinstaller.com/
Cosmin
 
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest