Conditional Features not working - 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!

FergusMurray
Posts: 150
Joined: Thu Sep 30, 2010 10:44 am

Conditional Features not working

Im having some issues with conditional features im installing

At the moment none of my condition features are working correctly, this seems to have happened during the period that I was moving the components around in the "Organisation"

I have 3 colourised template directories Blue, Green & Silver syncronised with content on disk, and set to install into their parent folder, each of the sync'd folder is set to a different feature. When the appropriate selection is made on the dialog it sets my APERTA_TEMPLATECOLOUR property to Green, Blue or Silver, I then have the organisation set for each of the "colour" features to only install on the that condition e.g "APERTA_TEMPLATECOLOUR=Blue"

At the moment regardless of what is selected on the dialog, i'm always getting the Blue template installed, i've checked the log and i can see the APERTA_TEMPLATECOLOUR property getting set to other colours when i choose them

Any pointer?
Thanks,
Fergus,
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Conditional Features not working

Hi Fergus,

You cannot condition the installation of a feature by using a property set in the installation's User Interface.. However, you can follow the guide article from this link to achieve this functionality.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FergusMurray
Posts: 150
Joined: Thu Sep 30, 2010 10:44 am

Re: Conditional Features not working

Thanks Mihai,

I have it working using this method.

Cheers,
Fergus

Return to “Common Problems”