Questions tagged [wix3.5]

For issues relating to deployment using Windows Installer XML, version 3.5.

The Windows Installer XML (WiX) is a toolset that builds Windows installation packages 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.

768 questions
264
votes
31 answers

WiX tricks and tips

We've been using WiX for a while now, and despite the usual gripes about ease of use, it's going reasonably well. What I'm looking for is useful advice regarding: Setting up a WiX project (layout, references, file patterns) Integrating WiX into…
si618
  • 16,580
  • 12
  • 67
  • 84
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
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
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
34
votes
6 answers

Wix Not Removing Files on Uninstall

I've seen others' questions on this matter, but I can't make it work for me. I'm trying to get used to Wix so we can migrate our vdproj's (I feel like we've taken 1 step forward and 4 steps back here...the most basic of things have become completely…
Jeff
  • 35,755
  • 15
  • 108
  • 220
31
votes
3 answers

WiX installer fails with error code 2819

I am trying to create an installer using WiX which doesn't show the license agreement at the start. But I get the error as below. This is the full Product.wxs file I have at the moment. It compiles and builds OK. Why am I getting an error like…
user20358
  • 14,182
  • 36
  • 114
  • 186
29
votes
3 answers

How can I exclude files from being harvested with heat (WiX 3.5)?

I would like to harvest a folder with a lot of files by using heat.exe. But instead of harvesting all files, I would like to exclude specific file extensions like "*.txt" or something like that. How can I do this?
Marcus
  • 1,105
  • 2
  • 21
  • 35
28
votes
4 answers

How do I make a WIX MSI always remove a previous version?

I have CI build system builds an MSI whenever a developer checks in a change. We run automated acceptance tests on the installed MSI. Basically every MSI is a complete install of the product, so we don't have any versioning (ala Windows installer)…
grillp
  • 1,273
  • 1
  • 11
  • 13
27
votes
2 answers

Referencing a WixVariable defined in a WiX Library Project from a WiX Setup Project

I'm trying to configure a WiX setup and library so that the version of one of the files in the library is used as the Product/@Version in the setup. Background In a setup with the files defined locally this is relatively straightforward in that…
Michael Phillips
  • 862
  • 2
  • 7
  • 17
23
votes
2 answers

(WiX) Program files shortcut for per-machine install

Following the example here, I added a shortcut to the ProgramMenuFolder that launches my application. (My code is actually simpler because I don't need the extra folder.)
Adrian McCarthy
  • 45,555
  • 16
  • 123
  • 175
21
votes
8 answers

Custom Action in C# used via WiX fails with error 1154

I am using WiX 3.5.1930 in Visual Studio 2010, targeting the .NET Framework 3.5. (Later weekly builds of WiX seem to be very broken with respect to their custom action template, at least for now. 1930 is the most recent build that seems to make a…
MikeBaz - MSFT
  • 2,938
  • 4
  • 28
  • 57
19
votes
1 answer

WiX install error 2762 while invoking a CustomAction from dialog

I am a beginner, started learning WiX. I want to capture and validate and register user details during the installation process. I have created a dialog to capture user registration and invoking a custom action once user clicks on 'Next'. But here I…
user961330
  • 193
  • 1
  • 1
  • 4
18
votes
3 answers

How can I set recovery-options of a service with WiX?

I have following .wxs-file:
user57508
17
votes
5 answers

WIX Custom Actions built for .Net Framework 4.0 does not work? Ways to resolve?

We were using WIX 3.5 (Build Number 1811) and built a custom action built using Visual Studio 2008 and with target framework as .Net 3.5. This used to work great, until we built the custom action using Visual Studio 2010 and with target framework as…
coder_bro
  • 10,503
  • 13
  • 56
  • 88
1
2 3
51 52