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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:31:57+00:00 2026-06-18T12:31:57+00:00

Using WiX 3.7 and .NET 4.0. How does one set burn variables when running

  • 0

Using WiX 3.7 and .NET 4.0.

How does one set burn variables when running a WiX bootstrapper EXE from the command line?

  • 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-06-18T12:31:58+00:00Added an answer on June 18, 2026 at 12:31 pm

    First of all, the burn variables that you wish to set need to be set as Overridable. To do this you must include the follow namespace in your WXS: xmlns:bal="http://schemas.microsoft.com/wix/BalExtension" and if you’re using Visual Studio like me you need to include WixBalExtension.dll in your project references. Next you need to add the following attribute to all of the burn variables that you want to set via the command line: bal:Overridable="yes".

    Now you can set the variables via the command line in this fashion:

    BootstrapperSetup.exe /i /passive MyBurnVariable1=1 MyBurnVariable2=2
    

    Below is an example of a WXS file that satifies all of the conditions described above:

    <?xml version="1.0" encoding="UTF-8"?>
    <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
             xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
    
      <Bundle Name="MyProduct" Version="1.0.0" Manufacturer="MyManufacturer" UpgradeCode="PUT-UPGRADE-CODE-HERE">
    
        <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
          <bal:WixStandardBootstrapperApplication LicenseUrl="MyLicense.htm" ThemeFile="MyThemeFile.xml" LocalizationFile="MyLocFile.wxl" />
        </BootstrapperApplicationRef>
    
        <Variable Name="MyBurnVariable1" bal:Overridable="yes" Type="numeric" Value="0" />
        <Variable Name="MyBurnVariable2" bal:Overridable="yes" Type="numeric" Value="0" />
    
        <Chain>
          <MsiPackage Id="MyFirstMsiPackage"
                      SourceFile="first.msi"
                      InstallCondition="MyBurnVariable1 = 1" />
    
          <MsiPackage Id="MySecondMsiPackage"
                      SourceFile="second.msi">
            <MsiProperty Name="MY_PROPERTY" Value="[MyBurnVariable2]" />
          </MsiPackage>
        </Chain>
      </Bundle>
    </Wix> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a WiX installer to deploy my .Net application. I have a
I'm using c#, .net 4, WIX 3.5, Windows Vista. I have made my application
I am using WiX 3.6 to create an msi that copies a few exe's
I have built an installer using WiX that consists of multiple .exe files that
I am using Wix::Extensions::CommonUi from AppSecInc. I need to deploy two databases in my
I have a current build process which does a .NET build using MSBuild and
Using WiX 3.6, I have a custom .NET BootstrapperApplication where I've included the .Net
I'm using Visual Studio to build my wix file. So far I have one
I'm trying to deploy a .NET library using WiX. The MSI copy the library
I'm building a patch using PCP, according to this tutorial: http://wix.sourceforge.net/manual-wix3/patch_building.htm I'v two MSI

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.