Questions tagged [wix]

The WiX Toolset (formerly known as Windows Installer XML) is a toolset that builds Windows installation packages and WiX bootstrappers from XML source code. The toolset supports a command line environment that developers may integrate into their build processes to build MSI and MSM setup packages and EXE bootstrappers. For the cloud-based web development platform, use the [velo] tag.

The WiX Toolset (formerly known as Windows Installer XML) is a toolset that builds Windows installation packages and WiX bootstrappers from XML source code. The toolset supports a command line environment that developers may integrate into their build processes to build MSI setup packages, MSM merge modules, MSP patches and EXE bootstrappers. The installer also provides a Visual Studio extension that creates WiX projects, which can be built with Visual Studio or MSBuild.

References:

10232 questions
63
votes
7 answers

How to Enable WiX Projects in Visual Studio 2017

In Visual Studio 2017's New Project dialog, there is no entry for Windows Installer XML (WiX). Is it possible to enable WiX projects in Visual Studio 2017?
Chris Schiffhauer
  • 17,102
  • 15
  • 79
  • 88
63
votes
2 answers

How to create a bootstrapper application without a license agreement step

I have created a WiX Bootstrapper project. When the installation runs, it presents a license agreement. I want to create a bootstrapper without this step as I don't want it to show any license agreement. Is it possible to do it? If yes, how?
Monika
  • 669
  • 1
  • 6
  • 6
59
votes
4 answers

Directory NN is in the user profile, but is not listed in the RemoveFile table

When I am trying to create the installer i am getting the following error: The directory ProgramMenuDir is in the user profile but is not listed in the RemoveFile table. How do I resolve this issue? Below is the directory structure I am…
subs
  • 2,189
  • 12
  • 35
  • 59
54
votes
1 answer

How to include Wix Fragments created by Heat

I have the following fragment:
Michael
  • 657
  • 1
  • 6
  • 6
53
votes
5 answers

How to add a whole directory or project output to WiX package

We decided to switch from VS integrated setup to WiX. However, what we currently do is use projects output files as the input for the setup project. This lets us easily add Application Files to a directory (for images, samples, and other…
Coincoin
  • 27,880
  • 7
  • 55
  • 76
52
votes
5 answers

Installers: WIX or Inno Setup?

I'm comparing these two tools. The impression I have is: Inno Setup does not produce an MSI, but can do everything WIX can do WIX does produce an MSI, but has a steep learning curve Do you agree with this characterization? What other differences…
Brent Arias
  • 29,277
  • 40
  • 133
  • 234
51
votes
4 answers

wix specify licence shows nothing

I'm trying to specify the licence for my wix setup project. I have created a rtf with a few dummy lines in wordpad/notepad/vs tried a few different ways as I read there was an issue with ones created in word but I dont think that should apply here,…
Daniel Powell
  • 8,143
  • 11
  • 61
  • 108
51
votes
1 answer

WiX undefined preprocessor variable

I'm starting to use WiX in order to do automated builds to create msi's of my c# projects and am experiencing the error "Undefined preprocessor variable '$(var.MyProject.TargetDir)'" I am using the latest WiX v3.0.5419. Inside my wxs file I am…
David
  • 15,150
  • 15
  • 61
  • 83
50
votes
2 answers

Why does my WiX installer need an empty CreateFolder to conditionally update an Xml file?

TL;DR: Why do I need an empty element in this conditional component in order to make it work? I'm putting together a simple WiX based installer for an in-house application. This installer needs to deploy a standard configuration file…
Bevan
  • 43,618
  • 10
  • 81
  • 133
47
votes
5 answers

Custom WiX Burn bootstrapper user interface?

I'm creating an installation package with WiX 3.6 primarily so I can take advantage of the Burn bootstrapping features. So far I have several MSI packages bundled together that will be installed with the built-in bootstrapper application…
Bill Campbell
  • 1,101
  • 1
  • 9
  • 11
47
votes
5 answers

How to add a UI to a WiX 3 installer?

I've tried , but I get "Unresolved reference to symbol WixUI:WixUIMinimal". What am I doing wrong?
Adam Tegen
  • 25,378
  • 33
  • 125
  • 153
44
votes
11 answers

How to find the UpgradeCode and ProductCode of an installed application in Windows 7

I have an application installed on my machine. I also have its source code but somehow the ProductCode and UpgradeCode of this application were changed. Now I want to get the UpgradeCode and ProductCode of this installed application. I feel there…
codeLover
  • 3,720
  • 10
  • 65
  • 121
44
votes
3 answers

Wix: How to set permissions for folder and all sub folders

I know how to set the permissions for a folder:
Mike
  • 463
  • 2
  • 5
  • 5
44
votes
5 answers

GUI for Dialog-design for WiX

WiX is great in that there is no GUI, you just write the installer you want it to be. No fiddling with GUI-wizards! However, drawing GUI is actually one thing I prefer to use a GUI for. So, is there any Dialog-drawing program which exports…
leiflundgren
  • 2,876
  • 7
  • 35
  • 53
42
votes
4 answers

WiX: Digitally Sign BootStrapper project

I have a project for which I have built a WiX msi file. I also have a WiX bootstrapper (exe file) that checks for the existence of C++ 2005, installs it if not found and then installs the msi package. My project includes Crystal Reports as an msm…
BrianKE
  • 4,035
  • 13
  • 65
  • 115