Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7557001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:00:43+00:00 2026-05-30T12:00:43+00:00

I am trying to make it so that when the user selects something via

  • 0

I am trying to make it so that when the user selects something via check box, a corresponding feature will be installed.

I am aware of the prebuilt feature tree that Wix provides but there are some other things that I am doing that do not allow me to use this function. I am curious as to how to link the two together so that when the user selects the check box “Install Feature X”, feature X is installed when the user clicks the install button.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T12:00:44+00:00Added an answer on May 30, 2026 at 12:00 pm

    I found what it was that solves my issue. To do as I had intended, I needed to create a checkbox for each feature as so.

    <Control Id="FeatureX" Type="CheckBox" X="191" Y="50" Width="140" Height="17"
         Property="FEATUREX_CHECKED" CheckBoxValue="myValue" Text="Install feature X" />
    <Control Id="FeatureY" Type="CheckBox" X="191" Y="67" Width="140" Height="17"
         Property="FEATUREY_CHECKED" CheckBoxValue="myValue" Text="Install feature Y" />
    <Control Id="FeatureZ" Type="CheckBox" X="191" Y="84" Width="140" Height="17"
         Property="FEATUREZ_CHECKED" CheckBoxValue="myValue" Text="Install feature Z" />
    

    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:

    <Control Id="Next" Type="PushButton" Text="Next" X="254" Y="243" Height="17" Width="56">
       <Publish Event="Remove" Value="ALL" Order="1">1</Publish>
       <Publish Event="AddLocal" Value="FeatureX" Order="2">
          <![CDATA[FEATUREX_CHECKED]]>
       </Publish>
    </Control>
    

    NOTE:

    Remove 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).

    Then each feature is checked to see if the “corresponding checkbox” has been selected and if so adds it to the “AddLocal” Property. AddLocal would look like this if one were to look at it:

    ADDLOCAL=FeatureX, FeatureY, FeatureZ...
    

    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 checkboxes matched up with the ComponentGroupRefID used:

     <ComponentGroupRef Id="FeatureX"/>
    

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make a ASP.NET (C#) poll that will ask a user a
I'm trying to create a user control that allows users to make something like
I'm trying to make a query that selects all messages from a specific user
I'm trying to make a UITableView that when a user selects a cell it
I am trying to make it so that a user can ctrl-click outside of
OK I am trying to make it so that when a user launches my
I'm trying to make a progress bar that updates the user on the progress
Im trying to make a function that will return an element of type point:
I'm trying to make a Teradata SQL query that will return the n -th
I'm trying to make a script that outputs user names based on weather they

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.