87

I've given up trying to apply lipstick to the pigs of installers that come out of Visual Studio and have decided to look at WiX.

What resources would you recommend to learn and reference?

(Note - this is not a which-installer-technology-do-you-use question - it's specific to WiX.)

Peter Mortensen
  • 28,342
  • 21
  • 95
  • 123
Ryan
  • 22,869
  • 23
  • 81
  • 126
  • As per http://stackoverflow.com/questions/128434/what-are-community-wiki-posts-in-stackoverflow This is more or less a poll to find the best WiX references – Ryan Nov 21 '08 at 22:42

11 Answers11

70
Rob Mensching
  • 31,084
  • 3
  • 84
  • 123
Cristian Libardo
  • 9,173
  • 3
  • 33
  • 41
14

One of the best ways I found to learn WiX was to take an existing MSI that did something I wanted to do, and used the Dark decompiler to generate a WiX script from it, and then I read that.

Chris
  • 6,623
  • 6
  • 49
  • 67
  • 1
    'Dark' link is dead mate. – IbrarMumtaz Nov 09 '13 at 20:23
  • Couldn't quite find a good replacement link, their docs have changed a lot. – Chris Nov 12 '13 at 19:26
  • I second this - using dark this way is in fact a great way to learn Wix and yields a surprising granularity and control for special installation cases such as IIS and similar advanced features. This granularity is actually lacking in other tools since they focus on simplicity. – Stein Åsmul Apr 22 '14 at 00:16
12

Apart from the links provided by people above, also have a look at the approach I use to explain this to people :

Wix Commands for creating msi from wix :

Sid
  • 3,725
  • 1
  • 14
  • 17
9

From first glance From MSI to WiX seems fairly comprehensive.

Peter Mortensen
  • 28,342
  • 21
  • 95
  • 123
Ryan
  • 22,869
  • 23
  • 81
  • 126
6

I have to add wix-users@lists.wixtoolset.org. That's where everyone hangs out and asks/answers questions as they come up. Just lurking on that mailing list will provide lots of real-time education on the WiX toolset.

Rob Mensching
  • 31,084
  • 3
  • 84
  • 123
6

Even though it's not only related towards WiX, the book from Apress:

The Definitive guide to Windows Installer By Phil Wilson link

It helped me to understand the installation processes. It's a good book to have when writing installers.

Peter Mortensen
  • 28,342
  • 21
  • 95
  • 123
CheGueVerra
  • 7,321
  • 3
  • 34
  • 48
5

Here's a shameless plug to the book I've recently published through Packt:

WiX: A Developer's Guide to Windows Installer XML

It covers a lot of what you'd need to know to get going using WiX 3.0.

Nick R.
  • 437
  • 6
  • 13
2

If you understand German, then read the articles in the Entwickler Magazin, edition: 2008-05, 2008-06 and 2009-01.

A follow-up will be published in 2009-02, with more developing stuff (MSI API).

Peter Mortensen
  • 28,342
  • 21
  • 95
  • 123
Bernd Ott
  • 4,075
  • 1
  • 23
  • 42
2

You may use link as a reference https://www.firegiant.com/wix/tutorial/ It won't help a beginner as it didn't provide any practical examples.

For a beginner, if you have a pluralsight subscription, there is a course which will teach you the basics.

'WIX-Cookbook' https://www.packtpub.com/web-development/wix-cookbook by Nick-Ramirez (Covers Wix-3.8). This is the book if anyone looking to get the job done quickly.

If you want to gain in-depth knowledge on how and why everything works, you probably better of going through Wix-3.6 A Developers Guide by the same author. https://www.packtpub.com/application-development/wix-developers-guide-windows-installer-xml

To create an installer for websites, refer following series by Bart De Meyer http://blog.bartdemeyer.be/2013/10/create-an-installer-for-website-with-wix-part-1/ This article will show you how to use Wix tools like Candle and Light.

Jayee
  • 517
  • 5
  • 15
1

I've written a tutorial that shows you how to create a WIX installer for a console application here, if you wanted a practical example.

biological
  • 123
  • 1
  • 10
0

Chiming in with another shameless plug; I recently wrote an article where I somewhat desperately try to explain some of the concepts of WiX in a more easily-understood way than the others. No offence.

http://www.optimalbpm.se/wiki/index.php/WiX

It is meant to be read before reading any tutorials, because it specifically tries to address some of the things people always seem to misunderstand as a result of well, reading those tutorials. And especially the documentation. At least I did.

Also, there is another article, a little bit more advanced, that has an angle to those distributing script(like Python etc)-based systems, and why one in not only those, but all cases should use Paraffin rather than Heat.

http://www.optimalbpm.se/wiki/index.php/Wix_and_scripting_languages