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
87
votes
3 answers

Wix create non advertised shortcut for all users / per machine

In WIX, how do you create a non advertised shortcut in the allusers profile? So far I've only been able to accomplish this with advertised shortcuts. I prefer non-advertised shortcuts because you can go to the shortcut's properties and use "find…
mcdon
  • 4,931
  • 3
  • 38
  • 36
77
votes
5 answers

How to build a minimal WiX installer UI without a license page?

I would like to use the WixUI_Minimal installer, but I don't want the license page. How can I do this?
Adam Tegen
  • 25,378
  • 33
  • 125
  • 153
76
votes
13 answers

WiX 3.0 throws error 217, while being executed by continuous integration

This is the error that is thrown by our automated build suite on Windows 2008, while running ICEs (after migrating from WiX 2.0 to WiX 3.0): LGHT0217: Error executing ICE action 'ICE01'. The most common cause of this kind of ICE failure is an…
Rinat Abdullin
  • 23,036
  • 8
  • 57
  • 80
75
votes
5 answers

How to get Wix to update a previously installed version of a program

I wrote an install program with Wix and it worked fine to install my program. Now I need to update it, so I bumped up the version number but when I go to install the new program over the old one it complains that an older version is already…
EddieD
  • 916
  • 2
  • 9
  • 10
74
votes
8 answers

Free software for Windows installers: NSIS vs. WiX?

I'm need to choose a software package for installing software. NSIS and WiX seem promising. Which one would you recommend over the other and why? Feel free to offer something else if you think it's better than these two.
John Smith
  • 4,402
  • 4
  • 32
  • 34
70
votes
8 answers

Uninstalling an MSI file from the command line without using msiexec

msiexec is command prompt software that installs an MSI program. But I have found that you can install an MSI file from the command line by just typing in the name of the MSI file on the command line. But in order to uninstall the MSI file, it seems…
xarzu
  • 8,657
  • 40
  • 108
  • 160
69
votes
2 answers

One file per component or several files per component?

Should I wrap all the files I want to install in individual components? What is the advantage of putting several files in one component?
Nestor
  • 13,706
  • 11
  • 78
  • 119
69
votes
3 answers

How to pass CustomActionData to a CustomAction using WiX?

How are properties set on CustomActionData to be retrieved by a deferred custom action?
Ayo I
  • 7,722
  • 5
  • 30
  • 40
68
votes
4 answers

How to install and start a Windows Service using WiX

I tried to use the code below in Wix. But when installing, the installer was freezing for like 3 minutes on status: Starting services, then I got this message "Service Jobservice failed to start. Verify that you have sufficient privileges to start…
Ray
  • 1,893
  • 7
  • 22
  • 24
68
votes
6 answers

Create shortcut to desktop using WiX

How do I create a shortcut on the desktop from a wix setup project?
Raymond Holmboe
  • 2,061
  • 1
  • 16
  • 18
67
votes
4 answers

What alternatives are there to ClickOnce?

I've used ClickOnce a lot over the years, but I have run up against a lot of its limitations. What alternatives are there for web deployment? So far the only one I've been able to turn up is ClickThrough, which is part of WiX now on the back burner.…
ScottB
  • 1,363
  • 2
  • 14
  • 24
67
votes
3 answers

In WiX files, what does Name="SourceDir" refer to?

WiX files always seem to include this line: What is "SourceDir"? What is it used for? It's not a real directory name. Is it some kind of magical value?
dan-gph
  • 16,301
  • 12
  • 61
  • 79
67
votes
8 answers

Extract MSI from EXE

I want to extract the MSI of an EXE setup to publish over a network. For example, using Universal Extractor, but it doesn't work for Java Runtime Environment.
emdadgar2
  • 820
  • 1
  • 9
  • 15
67
votes
6 answers

WiX ICE validation errors

I'm having some strange issues with WiX on my local machine. The problem is intermittent, but after a few rebuilds of the solution, the WiX project starts throwing ICE validation errors. If I go into my AppData\Local\Temp folder and delete all the…
levelnis
  • 7,665
  • 6
  • 37
  • 61
64
votes
3 answers

How do you create an event log source using WiX

I'm creating an installer for a website that uses a custom event log source. I would like our WiX based installer to create that event log source during installation. Does anyone know the best way to do this using the WiX framework.
Edward Wilde
  • 25,967
  • 8
  • 55
  • 64