Using WiX 3.7 and .NET 4.0.
How does one set burn variables when running a WiX bootstrapper EXE from the command line?
相关问题
- How does the setup bootstrapper detect if prerequi
- Wix: How can I set, at runtime, the text to be dis
- softlinks atime and mtime modification
- Get unexpanded argument from bash command line
- Include and Execute EXE in C# Command Line App
相关文章
- chained msi's/Bootstrapper/prerequisite?
- Compile and build with single command line Java (L
- How to update command line output?
- How do I require a value in a textbox in a Wix cus
- How to execute another python script from your scr
- How to prevent WiX bundle with same UpgradeCode/Ve
- Python file keyword argument?
- Interactively merge files tracked with git and unt
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 includeWixBalExtension.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:
Below is an example of a WXS file that satifies all of the conditions described above: