際際滷

際際滷Share a Scribd company logo
Presented by Chris Schiffhauer
www.schiffhauer.com

Windows Installer XML 101:
Introduction to WiX
Official Tutorial

 http://wix.tramontana.co.hu/tutorial
 Written for WiX 3.0, released in 2009
 Included technical descriptions of WiXs tools
  (candle, light, etc.)

 Current WiX version is 3.7
   Addition of Burn, a bootstrapper/chainer tool
   Support for Visual Studio 2010 and 2012
Getting Started
The Files Inside

 WiX recreates the directory structure we define.
 It installs the components into the directories to
  which they are assigned.
 Top level directory has predefined name
  TARGETDIR
   Next level uses predefined name ProgramFilesFolder
     Next level uses undefined INSTALLFOLDER, which is the ID
      when assigning components. Name attribute is for naming.
 Complete list of MSI predefined names at
  http://kb.flexerasoftware.com/selfservice/viewConte
  nt.do?externalID=Q105880
Building the Application
candle.exe  Compiles the application
Light.exe  Links the appropriate files
Installer File Template
Thank You

 Jeremy Clark (Meet the Next Code Camp
  Speaker: You!)
   http://www.jeremybytes.com/Demos.aspx#MTNCCP


 Benjamin Rice (WiX tutorials)
   http://bensnose.blogspot.com/
Resources and Links

 WiX Toolset 3.7
   http://wixtoolset.org/
 Official WiX Tutorial (v3.0)
   http://wix.tramontana.co.hu/tutorial
 Rob Menschings Blog (WiX creator)
   http://robmensching.com/blog/posts/tag/wix
 WiX Community Form
   http://windows-installer-xml-wix-
    toolset.687559.n2.nabble.com/

More Related Content

Windows Installer XML 101: What is WiX?

  • 1. Presented by Chris Schiffhauer www.schiffhauer.com Windows Installer XML 101: Introduction to WiX
  • 2. Official Tutorial http://wix.tramontana.co.hu/tutorial Written for WiX 3.0, released in 2009 Included technical descriptions of WiXs tools (candle, light, etc.) Current WiX version is 3.7 Addition of Burn, a bootstrapper/chainer tool Support for Visual Studio 2010 and 2012
  • 4. The Files Inside WiX recreates the directory structure we define. It installs the components into the directories to which they are assigned. Top level directory has predefined name TARGETDIR Next level uses predefined name ProgramFilesFolder Next level uses undefined INSTALLFOLDER, which is the ID when assigning components. Name attribute is for naming. Complete list of MSI predefined names at http://kb.flexerasoftware.com/selfservice/viewConte nt.do?externalID=Q105880
  • 5. Building the Application candle.exe Compiles the application Light.exe Links the appropriate files
  • 7. Thank You Jeremy Clark (Meet the Next Code Camp Speaker: You!) http://www.jeremybytes.com/Demos.aspx#MTNCCP Benjamin Rice (WiX tutorials) http://bensnose.blogspot.com/
  • 8. Resources and Links WiX Toolset 3.7 http://wixtoolset.org/ Official WiX Tutorial (v3.0) http://wix.tramontana.co.hu/tutorial Rob Menschings Blog (WiX creator) http://robmensching.com/blog/posts/tag/wix WiX Community Form http://windows-installer-xml-wix- toolset.687559.n2.nabble.com/