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

Advertised shortcuts vs. non-advertised shortcuts in windows setup project

I cannot understand what is exact consequences of using attribute Advertise in Shortcut attribute. What is the diffirence?
fakir314
  • 592
  • 1
  • 4
  • 12
41
votes
3 answers

What is the state of WiX v4?

I really feel like I shouldn't have to ask a question on SO to get basic information like this, but I can't find a reliable source anywhere. Is WiX v4 released? In Development? In Beta? Still being designed? Lots of people seem to already be using…
slb
  • 761
  • 1
  • 5
  • 13
41
votes
3 answers

How to register file types/extensions with a WiX installer?

I didn't find an explicit answer to this question in the WiX Documentation (or Google, for that matter). Of course I could just write the appropriate registry keys in HKCR, but it makes me feel dirty and I'd expect this to be a standard task which…
OregonGhost
  • 23,359
  • 7
  • 71
  • 108
40
votes
4 answers

Replicating Visual Studio COM registration with a WiX Installer

Once upon a time, a young, naive engineer thought it would be a good idea to separate out some of the functionality for his app into a COM component, written in C#. Visual studio had all the tools to do that, right? .NET was practically made for…
Robert P
  • 15,707
  • 10
  • 68
  • 112
40
votes
4 answers

How do I do a silent install and uninstall with WiX and MSI?

How can a silent installer be created in WiX that does not display any UI dialogs to the user and installs, upgrades and uninstalls with default settings?
MX4399
  • 1,519
  • 1
  • 15
  • 27
40
votes
4 answers

Removing license dialog

I'm using Wix 3.6 to make a simple MSI which is used internally. I would like to know if there is an easy way to remove the license agreement dialog. Thanks for any suggestions
user1770609
  • 463
  • 1
  • 4
  • 12
39
votes
3 answers

Can anyone give me a example of modifying windows environment system variables in WIX?

I still don't know how to add the installdir into the PATH of the Windows System Variables after I went through the WIX tutorial. I tried to use Environment Id='UpdatePath' Action='create' Name='PATH' System='yes' Value='[INSTALLDIR]' But…
Ray
  • 1,893
  • 7
  • 22
  • 24
38
votes
3 answers

How do you register a Win32 COM DLL file in WiX 3?

I found an example on registering DLLs, Registering an Assembly for COM Interop in a MSI file with the Windows Installer XML toolset., and WiX complains about the "AssemblyRegisterComInterop" attribute. I removed that and changed the "Assembly"…
Davy8
  • 30,868
  • 25
  • 115
  • 173
38
votes
3 answers

How to Select Features From Command Line

This might be a naive question. I have to manually edit a .WXS file to make it support select features from command line. For example, there are 3 features in .WXS file.
Morgan Cheng
  • 73,950
  • 66
  • 171
  • 230
38
votes
3 answers

How to create a directory in wix?

My requirement is to create a directory in programdata/test/example. How can I do that in wix?
Prakash
  • 533
  • 1
  • 5
  • 12
37
votes
5 answers

WiX x64 platform target

When I create a WiX project and try to build it with the platform set to 'x64', I get errors in my build output like this: ------ Build started: Project: MyProject, Configuration: Release x64 ------ C:\Program Files…
Tim Long
  • 13,508
  • 19
  • 79
  • 147
36
votes
2 answers

Is there alternative way to access session details in deferred custom action?

I have a custom action and need to get below values for copying some parts from installation folder to VS2010 folder VS2010 directory path (VS2010DEVENV property) Installation path (INSTALLLOCATION property) To give enough privileges, I've set…
jcha
  • 629
  • 1
  • 8
  • 16
36
votes
8 answers

WIX: Howto set the name of the msi output file dynamically

I want to include some dynamic part in the filename of the msi file my wix projects produce. This dynamic part should be controlled by variables which are part of my wix project and are declared like this: Does…
Jan
  • 15,802
  • 5
  • 35
  • 59
35
votes
3 answers

WiX Includes vs Fragments

What's the difference between a WiX include (.wxi file) and a WiX fragment (.wxs file)? What are the use cases for each? Which should be used and why?
alastairs
  • 6,697
  • 8
  • 50
  • 64
35
votes
3 answers

NSIS Vs WiX Vs AnyOther Installation Package

Need to create a Installation Package that would need to a) install a Database, b) create database and tables, c) installed already created installable in Visual Studio, d) create ODBC datasource, e) copy files. f) create shortcuts, etc Can you…
Sandeep Jindal
  • 14,510
  • 18
  • 83
  • 121