Wednesday, March 20, 2013

WiX Installer from the Ground Up

I have poked at creating a WiX installer before, but I have to get it working now.

1) Update WiX Toolkit to v 3.8.309

2) Read the Manual....Conclusion... written by an idiot.

3) Read the tutorial....Conclusion... written by the same idiot.

Please not, I am not an XML noob. I've spent a lot of time building tricky schemas so its not the XML that's bothering me.  Simply the unstructured nature of the documentation.   And the version issues.

4) Start following along from the Sample to try to get a grasp on whats going on.  Still baffled.

5) Accidentally find a page in the docs called "How To Guides"  (http://wix.sourceforge.net/manual-wix3/toc.htm)  Score!

Making progress now.... Must be a decent editor for this kind of thing....ask the G man (Google to you lot)

6)  WiXTrim http://sourceforge.net/projects/wixtrim/?source=dlp Looks interesting. Shows recent activity but crashes when I try to load my file into it.

WiX Edit http://sourceforge.net/projects/wixedit/  looks functional.  Basic but progress is much faster than simple hand editing.  Some version incompatability with some of the stuff from the WiX Toolkit docs.  Clean that crap out and use WiX Edit.

WiX Edit seems to be at Version 3.0.5419.0 of WiX
Not compatable with some features that I pulled out  of the current WiX docs:
  • MajorUpgrade Tag
  • MediaTemplate Tag
  • Files which include ShortCut Child Tags
Mmm... keep looking.


The following two are full suite's which will need some more detailed reviewing.

InstallSoft http://sourceforge.net/projects/installsoft/?source=directory
This freaks out the SmartScreen Filter in IE.  Its also bullshit.  Its nothing but a demo project jammed in Italian.  Ignore this project.


War Setup http://sourceforge.net/projects/warsetup/?source=directory
This installer Toolkit is nice. It gets the job done for straight forward projects.  The documentation is good and well written.

OK. I'm calling it.  There are no other sourceforge projects worth mentioning.

Blog post here on WiX editors from the guy who seems to be up to his elbows in the WiX Toolkit development.  Covers most of the candidates that I have found. 
http://robmensching.com/blog/posts/2007/11/20/wix-editors

Votive is the more interesting candidate. Seems to be part of the package but I can't find it on my machine.  Reading the docs that came with the package....


CodeProject?
http://www.codeproject.com/Tips/105638/A-quick-introduction-Create-an-MSI-installer-with

This is a four part article that seems fairly comprehensive. 
http://www.codeproject.com/Articles/103746/Creating-a-Localized-Windows-Installer-Bootstrappe

CodePlex
http://iswix.codeplex.com/


No comments:

Post a Comment