Controlling features

Got a problem you cannot solve? Try here.
Post Reply
penfold
Posts: 48
Joined: Mon Jan 17, 2011 8:37 am

Controlling features

Post by penfold »

Hi

I have another question regarding features. I need to only display features based on a compile time variable, how can this be achieved, i.e. how do you stop a feature being displayed on the feature selection dialog.

Thanks
bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: Controlling features

Post by bokkie »

I've only been able to do this using a compiler variable and then wrapping all of the feature selection/deselection statements inside compiler variable if statements, like I've illustrated in two screencaps. Does that help?
Compile variable.jpg
Compile variable.jpg (106.62 KiB) Viewed 2653 times
If statement.jpg
If statement.jpg (115.32 KiB) Viewed 2653 times
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
Post Reply