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 122053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T04:04:04+00:00 2026-05-11T04:04:04+00:00

I have a WiX project that installs a few EXE files. One is the

  • 0

I have a WiX project that installs a few EXE files. One is the ‘Main’ executable and the others are supporting programs to help diagnose problems.

The main executable is optional, and the support programs will run on their own. Often, the end user will install a third-party program instead of my main executable.

At the end of the WiX installer, I want to have a ‘launch program’ checkbox that will run the program as soon as the installer closes.

I can hide the checkbox based on the INSTALLLEVEL property, but that only changes depending on if the user selected a ‘Typical’ or ‘Complete’ install. I would like to hide it based on if the main executable feature is installed or not.

Something like this would be ideal:

<Feature Id='MainProgram' Title='MainExe'          Description='This application stores and displays information from our hardware.'          ConfigurableDirectory='INSTALLDIR' Level='4'          AllowAdvertise='no'>     <ComponentRef Id='MainExecutable' />     <ComponentRef Id='SQLLibrary' />     <ComponentRef Id='ProgramIcon' />     <ComponentRef Id='RemovePluginsFolder'/>     <Property Id='ShowFinalCheckbox'>1</Property> #<--This won't work, but I'd like it to. </Feature> 
  • 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. 2026-05-11T04:04:05+00:00Added an answer on May 11, 2026 at 4:04 am

    The SetProperty element can be used to change the value of a Property before or after an action. To set a value based on the install state of an executable I would use a combination of Component states documented in the Conditional Statement Syntax in MSI SDK. You’ll have to play around with this example, but I think this will get you close.

    <SetProperty Id='ShowFinalCheckBox' Value='1' After='CostFinalize'>?MainExecutableComponent&gt;2 OR $MainExecutableComponent&gt;2</SetProperty> 

    All of the magic in there is explained in the link to the MSI SDK above.

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

Sidebar

Related Questions

I have created a WiX project that installs a bunch of different EXEs and
I have a WiX 3 project that has hundreds of files, and I can't
I have built an installer using WiX that consists of multiple .exe files that
So I have a Wix 3.0 project that installs an IIS7 Native Code Module.
I have a WiX install project that includes IIS setings for virtual directory and
I have created a wix installer project which is working fine. It installs my
I have a project where I create WiX (Windows Installer for XML) files, when
I have a WiX based MSI that installs a service and some shortcuts (and
I have inherited a WiX project from a contractor that recently left. When I
Hi I have written code for my wix project such that it creates and

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.