Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I found what it was that solves my issue. In order to do as I had intended I needed to create a check box for each individual feature as so. </p> <pre><code>&lt;Control Id="FeatureX" Type="CheckBox" X="191" Y="50" Width="140" Height="17" Property="FEATUREX_CHECKED" CheckBoxValue="myValue" Text="Install feature 1" /&gt; &lt;Control Id="FeatureY" Type="CheckBox" X="191" Y="67" Width="140" Height="17" Property="FEATUREY_CHECKED" CheckBoxValue="myValue" Text="Install feature 1" /&gt; &lt;Control Id="FeatureZ" Type="CheckBox" X="191" Y="84" Width="140" Height="17" Property="FEATUREZ_CHECKED" CheckBoxValue="myValue" Text="Install feature 1" /&gt; </code></pre> <p>Now once I did that I then added a corresponding publish to each, and made a condition that made it so that only if the check box is selected will that feature be installed. Like so:</p> <pre><code>&lt;Control Id="Next" Type="PushButton" Text="Next" X="254" Y="243" Height="17" Width="56"&gt; &lt;Publish Event="Remove" Value="ALL" Order="1"&gt;1&lt;/Publish&gt; &lt;Publish Event="AddLocal" Value="FeatureX" Order="2"&gt; &lt;![CDATA[FEATUREX_CHECKED]]&gt; &lt;/Publish&gt; &lt;/Control&gt; </code></pre> <h3>NOTE:</h3> <p><b>Remove</b> is used to deselect everything from being installed (It was brought to my attention that once the UI is invoked it is too late to change feature levels). </p> <p>Then each feature is checked to see if the "corresponding check box" has been selected and if so adds it to the "AddLocal" Property. AddLocal would look like this if one was to look at it:</p> <pre><code>ADDLOCAL=FeatureX,FeatureY,FeatureZ... </code></pre> <p>The Final thing I needed to do to get this to work was too check in my main.wxs to make sure that the FeatureID used in the check boxes matched up with the ComponentGroupRefID used:</p> <pre><code> &lt;ComponentGroupRef Id="FeatureX"/&gt; </code></pre> <p>So there it is... I again thank everyone for their help with this. If anyone reading this is confused by anything please feel free to drop me a line and I will do my best to explain things a little bit further.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload