For issues relating to deployment using Windows Installer XML, version 3.
Questions tagged [wix3]
587 questions
9
votes
2 answers
Copy if not exist in WiX
I have a config file, myapp.exe.config, that I want to install only if it does not already exist. That is, I don't want to overwrite any existing config file. How can this be done in WiX?
(Ultimately I will have to do something more sophisticated…

dan-gph
- 16,301
- 12
- 61
- 79
9
votes
2 answers
Upgrade individual feature in WIX feature-tree without uninstalling/upgrading other feature(s)
I'm trying to create a setup project using WIX that will allow me to install multiple features of a single product. How can I update one of the installed features (which is independent of the other installed features) without having to reinstall…

Scott
- 2,183
- 18
- 33
9
votes
3 answers
WIX, Dot Net managed custom Action, dynamically fill combo box with SQL Server instances, MSI
In WIX am in-need of a dot net managed custom code to dynamically populate a combo box with the values of sql server instances in that network.
I tried to google but got nothing worked
Any help is greatly appreciated.

Ramji
- 2,536
- 7
- 34
- 54
9
votes
2 answers
Wix cannot resolve symbol "Icon"
I'm just starting out with WiX 3 and can't figure out why it can't understand the Icon attributes in my .wsx file. I get the error message:
Error 2
Unresolved reference to symbol 'Icon:Sample.exe' in section…

Eric J.
- 147,927
- 63
- 340
- 553
9
votes
2 answers
registering com dll in wix
If not self registering. then how do we perform the COM dll registering while installation using WIX?
As per the tutorial, I used ComPlusApplication example (non .net dll). But its not working. It fails to register.
I can register using regsvr32…

rakheep
- 95
- 1
- 4
8
votes
1 answer
Validate user must install at least one of sub features
Here is the structure of my Application's Installer in FeatureTree/SelectionTree
Application Core
|_ _ Feature 1
|_ _ Feature 2
|_ _ Feature 3
I want make sure that when user selects Application Core, he must select atleast one of…

NileshChauhan
- 5,469
- 2
- 29
- 43
8
votes
1 answer
How to check for .net framework 4.7.1 with Wix 3.11
I am trying to check for .net Version with Wix 3.11 via Condition. This works fine until 4.5 like this:

hot33331
- 805
- 11
- 25
8
votes
3 answers
Features installed to different locations but referencing the same components
I have a product that consists of multiple features that can be installed to different locations e.g. Feature 1 is an executable installed in Program Files and Feature 2 is a website installed in wwwroot. However both Feature 1 and Feature 2 rely on…

Casey
- 693
- 7
- 18
8
votes
1 answer
Copying multiple files using wildcards/recursively using Wix
I'm a total noob on Wix (and installers in general) so please forgive me.
My goal is to be able to traverse a directory, search for all, say, *.exe files and copy them to a predefined destination folder. Thing is, I don't know what these files are…

callie16
- 570
- 1
- 11
- 26
8
votes
1 answer
WiX unresolved reference error
I'm using Wix version 3.0.5419.0. I have two .wxs files, one which is a fragment, and another which uses the fragment to create the .msi file.
Here is the file which uses the fragment (DaisyFarmer.wxs):

David Weiser
- 5,190
- 4
- 28
- 35
8
votes
3 answers
How to log the installation date to the registry
When an install completes successfully, the date and time and some other info needs to be written to the registry. How can a date be generated and how do you know if an install was completed successfully? (writing to the registry with wix is not a…

MX4399
- 1,519
- 1
- 15
- 27
8
votes
2 answers
Customizing text in the standard Wix dialogs
I'm making use of the Wix standard dialogs. How do I customise the text of the messages displayed?
For example, in the License Agreement page, I want to change the text "I accept the terms in the License Agreement" to "I acknowledge and accept the…

Samuel Jack
- 32,712
- 16
- 118
- 155
8
votes
1 answer
What is the difference between NetFx45WebLink and NetFx45RedistLink
I used WiX 3.7 to write a bootstrapper which installs .net 4.5 first and then my application's MSI:

Ceco
- 1,586
- 3
- 16
- 23
8
votes
1 answer
Reusing WIX components to speed up candle/light
I am fairly new to WIX, so forgive me if I'm completly missing the boat here, but I was wondering if it was possible to reuse components (mwm,cab,etc) from within a wxs file without having light re-link them every time. The installer I'm working on…

David French
- 125
- 1
- 9
7
votes
2 answers
Wix: Is there any wix command to create database user?
Is they any wix command I can use to create database and to also add a user to the database?
If yes, is there any example on how to do this?

user966511
- 83
- 5