PDA

View Full Version : Suite and required feature



RuneStav
11-14-2012, 03:59 PM
I have a Suite feature which should be a required feature.

Then, in custom installation, the user should not be able to deselect this feature.

In a msi installation, we have the required feature setting.

How can we achieve the same with a Suite feature?

SherylSikora
11-14-2012, 04:51 PM
You can achieve this by manually adding the AllowSelectionChange="no" attribute to the xml project. Open the .issuite file in a text editor and find the feature that you want to set to required. You will find it in the <SelectionTree> element. Add AllowSelectionChange="no" to the <Selection> element that contains your feature.

It should look something like this:

<SelectionTree>
<Selection Name="Required Feature" DisplayName="Feature_Name_String" Install="{featureGUID}" Description="Feature_Desc_String" AllowSelectionChange="no"/>
</SelectionTree>