For issues relating to deployment using Windows Installer XML, version 3.
Questions tagged [wix3]
587 questions
7
votes
4 answers
Harvesting a .csproj with heat.exe in Visual Studio 2008 and WiX(v3)
I found that Wix v3 uses a tool (heat.exe) to "harvest" information into WiX fragments. Either I am looking in the wrong location, or this is thinly documented.
What is the best way to auto-generate a WiX fragment (likely using heat.exe) for a…

el2iot2
- 6,428
- 7
- 38
- 51
7
votes
1 answer
How do I use Team Build Properties in MSBuild?
I have a simple tfs-2010 build definition using the default process template. In it I defined the Build Number Format using $(BuildID) to define part of the computed field. This works and I can see what BuildID's value is.
Now I try to pass the…

Christopher Painter
- 54,556
- 6
- 63
- 100
7
votes
4 answers
Add a summary information to WiX generated MSI
How to add (or change a default values) a summary page information to a WiX-generated MSI file?
Summary page is the tab page which is visible if you right click on the MSI file in the Windows Explorer and includes following text…
AlexWendy
7
votes
1 answer
How to execute Custom Action before RemoveExistingProducts with After="InstallValidate" in WiX
I have something like this:
Since one of the uninstallation fails i need to execute a Custom Action to solve the problem BEFORE…

Jarmo Pertman
- 1,905
- 1
- 12
- 19
7
votes
1 answer
Using WiX how do I disable/enable controls based on property change?
I'm having a bit of a brain melt at the moment where I have a WiX Combobox and when I change the selection I want to disable/enable other UI controls.

JTew
- 3,149
- 3
- 31
- 39
7
votes
2 answers
WiX Standard Dialogues
Does anyone know if there are any WiX standard UI dialouges out there that you can use to integrate into your own WiX msi package?
For example:
Editing Connection Strings to database
Editing paths to log files in web.config/app.config
Setting up…

David
- 581
- 6
- 15
7
votes
3 answers
Wix - change the installation folder based on privilege
I have to create an installation package using Wix. If an admin user is installing the package, it should install into %programfiles%/[applicationName], if the user is an non-admin user then it should install into its local profile folder(…

Rajeesh
- 4,377
- 4
- 26
- 29
7
votes
1 answer
Wix: Stopping a Windows Service on uninstall
When I uninstall my service I get the error where it says I have to stop such and such service before uninstalling. This is unsatisfactory - the uninstaller should automatically stop it.
I found a blog or newsgroup posting on this months ago and got…

evilfred
- 2,314
- 4
- 29
- 44
6
votes
3 answers
How to check for installed package in WiX 3.0?
I'd like to check that Crystal Reports Basic for Visual Studio 2008 is installed as a condition for my own installation package.
I found this in the bootstrapper description for this product (C:\Program Files\Microsoft…

Mac
- 8,191
- 4
- 40
- 51
6
votes
2 answers
Windows service does not stop and not deleted on uninstall (Wix)
I've seen a few related questions on stackoverflow that relate to this one, but none of them seem to address the specific behavior I'm observing.
I have a Windows Service defined as follows in a Wix 3.0 .wxs file.

Thomer Gil
- 121
- 2
- 3
6
votes
2 answers
How show version number in title of installation in WIX?
I need to display the version number in the title along with the application name.
Currently, it looks like
Here is my wix snippet:

Prakash
- 422
- 1
- 12
- 31
6
votes
1 answer
WiX3 major upgrade not working
I have a major upgrade that I am trying to do, but it just doesn't work. It simply installs the new program along side the old one. They are in different directories (as I changed the directory structure with the new version) so there are no…

Christopher B. Adkins
- 3,499
- 2
- 26
- 29
6
votes
2 answers
Using Wix to generate an MSI
I am using Wix 3.8 to create an MSI installer for a Visual Studio project I have created. I followed this simple tutorial but even with this simply Wix project I am getting errors. Here is My
I have added my VS2012 project as a reference to my Wix…

John 'Mark' Smith
- 2,564
- 9
- 43
- 69
6
votes
3 answers
Howto use configurable Merge Modules in Wix?
AFAIK it's done like this:
Product:
Merge…

DanielB
- 111
- 1
- 6
6
votes
2 answers
Wix - how to handle project references when using heat's output with candle?
I'm trying to use heat on a web .csproj, and then use candle on the output. So far, I've done:
heat project "StatusReport Web.csproj" -pog:Binaries pog:Content -ag -out StatusReport.wxs
And then:
candle StatusReport.wxs
However, upon the latter,…

David Hodgson
- 10,104
- 17
- 56
- 77