<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Joy of Setup &#187; WiX</title>
	<atom:link href="http://www.joyofsetup.com/tag/wix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joyofsetup.com</link>
	<description>Bob Arnson's blog about setup and servicing</description>
	<lastBuildDate>Tue, 29 Jun 2010 02:41:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>WiX source code using Mercurial and TortoiseHg, Part 1</title>
		<link>http://www.joyofsetup.com/2010/06/28/wix-source-code-using-mercurial-and-tortoisehg-part-1/</link>
		<comments>http://www.joyofsetup.com/2010/06/28/wix-source-code-using-mercurial-and-tortoisehg-part-1/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 02:18:28 +0000</pubDate>
		<dc:creator>Bob Arnson</dc:creator>
				<category><![CDATA[WiX]]></category>

		<guid isPermaLink="false">http://www.joyofsetup.com/2010/06/28/wix-source-code-using-mercurial-and-tortoisehg-part-1/</guid>
		<description><![CDATA[Now that Rob moved the WiX source repository and releases to Codeplex, how you interact with the WiX source code changes. Before the move to Codeplex, we published a .zip file that contains most—but not all—of the files needed to rebuild WiX. (Some large binary files were omitted because of space limitations at SourceForge.) For [...]]]></description>
			<content:encoded><![CDATA[<p>Now that <a href="http://robmensching.com/blog/posts/2010/6/6/WiX-toolset-source-and-releases-move-to-CodePlex">Rob moved the WiX source repository and releases to Codeplex</a>, how you interact with the WiX source code changes. Before the move to Codeplex, we published a .zip file that contains most—but not all—of the files needed to rebuild WiX. (Some large binary files were omitted because of space limitations at SourceForge.) For example, <a title="http://wix.sourceforge.net/releases/3.5.1811.0/wix35-sources.zip" href="http://wix.sourceforge.net/releases/3.5.1811.0/wix35-sources.zip">http://wix.sourceforge.net/releases/3.5.1811.0/wix35-sources.zip</a> contains the source code as of the 11-June-2010 release of WiX v3.5. For now, we’re continuing to publish those files but the move to Codeplex makes them pretty much obsolete.</p>
<p>I’m writing a couple of posts that talk about how to use the WiX source repository to view, modify, and patch the WiX source code.</p>
<h1>Getting WiX source code</h1>
<p>Getting WiX source code out of Mercurial is straightforward using <a href="http://tortoisehg.bitbucket.org/download/index.html">TortoiseHg</a>:</p>
<ol>
<li>Install <a href="http://tortoisehg.bitbucket.org/download/index.html">TortoiseHg</a>. </li>
<li>Use Explorer to create a directory where you want to store the source code. I used “wix” in the root of my X: drive. </li>
<li>Right-click the directory you created in step 2 and choose <strong>TortoiseHg|Clone</strong>. </li>
<li>In <strong>Source path</strong>, enter <strong>https://hg01.codeplex.com/wix</strong>. That’s the Mercurial clone URL, provided by Codeplex. You can see it for your self by going to <a title="https://wix.codeplex.com/" href="https://wix.codeplex.com/">https://wix.codeplex.com/</a> then clicking the <strong>Source Code</strong> tab and clicking <strong>Mercurial </strong>in the Source Control Setup box in the right bar.
<p><a href="http://www.joyofsetup.com/wp-content/uploads/2010/06/TortoiseHgClone.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="TortoiseHg Clone" border="0" alt="TortoiseHg Clone" src="http://www.joyofsetup.com/wp-content/uploads/2010/06/TortoiseHgClone_thumb.png" width="476" height="148" /></a> </li>
<li>Click <strong>Clone</strong>. TortoiseHg will fetch many “chunks” from Codeplex. It’ll take a while, depending on your Internet connection speed. </li>
</ol>
<p>Your patience is rewarded with a directory that contains one subdirectory and two files (at least as of today). Huh? All you’ve done so far is cloned the WiX Mercurial repository. Next up is updating your working directory with a particular revision of that repository. (The default branch in the WiX repository contains no interesting files; all past and active development is happening on the named branches wix20, wix30, and wix35, shown below in green.)</p>
<ol>
<li>Right-click the directory you created in step 2 and choose <strong>Hg Repository Explorer. </strong>You’ll get a window that contains the changes that have been committed to the Mercurial repository.       </p>
<p><a href="http://www.joyofsetup.com/wp-content/uploads/2010/06/wixRepositoryExplorer.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="wix - Repository Explorer" border="0" alt="wix - Repository Explorer" src="http://www.joyofsetup.com/wp-content/uploads/2010/06/wixRepositoryExplorer_thumb.png" width="564" height="427" /></a> </li>
<li>Right-click the line representing the version you’re interested in and choose <strong>Update</strong>. To get the latest version, look toward the top for the version with the yellow “tip” box. </li>
<li>Click <strong>Update</strong> to get the version you selected.
<p><a href="http://www.joyofsetup.com/wp-content/uploads/2010/06/Updatewix.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Update - wix" border="0" alt="Update - wix" src="http://www.joyofsetup.com/wp-content/uploads/2010/06/Updatewix_thumb.png" width="408" height="417" /></a> </li>
</ol>
<p>The directory now contains a WiX source enlistment. Up next: creating patches against a clone of the official repository.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joyofsetup.com/2010/06/28/wix-source-code-using-mercurial-and-tortoisehg-part-1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Experimental results part I</title>
		<link>http://www.joyofsetup.com/2010/05/28/experimental-results-part-i/</link>
		<comments>http://www.joyofsetup.com/2010/05/28/experimental-results-part-i/#comments</comments>
		<pubDate>Fri, 28 May 2010 13:22:01 +0000</pubDate>
		<dc:creator>Bob Arnson</dc:creator>
				<category><![CDATA[WiX]]></category>
		<category><![CDATA[bugs]]></category>

		<guid isPermaLink="false">http://www.joyofsetup.com/2010/05/28/experimental-results-part-i/</guid>
		<description><![CDATA[So far the results of The Experiment have been minimal—I’ve received one public report and one private report—but 100 percent successful. So we need more data but so far it’s looking good. One issue has come up, however: Build failures with customized dialog sets. Fragments that define dialog sets need to include all the UI [...]]]></description>
			<content:encoded><![CDATA[<p>So far the results of <a href="http://www.joyofsetup.com/2010/05/20/its-time-to-experiment/">The Experiment</a> have been minimal—I’ve received one public report and one private report—but 100 percent successful. So we need more data but so far it’s looking good.</p>
<p>One issue has come up, however: Build failures with customized dialog sets. Fragments that define dialog sets need to include all the UI elements, properties, and WiX bind-time variables used by the dialogs in that set. By referring to the WixUICostingPopupOptOut WiX variable from the individual dialogs, custom dialog sets must also provide a value. You can provide a value for WixUICostingPopupOptOut anywhere in your project but the easiest is to do so in the same fragment with your dialog set. Just add this line:</p>
<blockquote><p>&lt;WixVariable Id=&quot;WixUICostingPopupOptOut&quot; Value=&quot;1&quot; Overridable=&quot;yes&quot; /&gt; </p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.joyofsetup.com/2010/05/28/experimental-results-part-i/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>It&#8217;s time to experiment</title>
		<link>http://www.joyofsetup.com/2010/05/20/its-time-to-experiment/</link>
		<comments>http://www.joyofsetup.com/2010/05/20/its-time-to-experiment/#comments</comments>
		<pubDate>Fri, 21 May 2010 03:20:50 +0000</pubDate>
		<dc:creator>Bob Arnson</dc:creator>
				<category><![CDATA[WiX]]></category>
		<category><![CDATA[bugs]]></category>

		<guid isPermaLink="false">http://www.joyofsetup.com/2010/05/20/its-time-to-experiment/</guid>
		<description><![CDATA[Last month, I posted a plea for help to try to figure out why sometimes (or rarely) (or frequently), Windows Installer fails to set an internal property that causes a never-ending “please wait” dialog. I got lots of feedback—thanks!—but unfortunately, nothing that helped me pinpoint a cause or a solution. So it’s time to make [...]]]></description>
			<content:encoded><![CDATA[<p>Last month, I posted a <a href="http://www.joyofsetup.com/2010/04/04/bug-hunting/">plea for help</a> to try to figure out why sometimes (or rarely) (or frequently), Windows Installer fails to set an internal property that causes a never-ending “please wait” dialog. I got lots of feedback—thanks!—but unfortunately, nothing that helped me pinpoint a cause or a solution.</p>
<p>So it’s time to make an guess. Let’s call it an educated guess but as I can’t reproduce the problem, I’m not sure it’s <em>entirely</em> educated.</p>
<p>Coming in the next weekly release of WiX is a mechanism to opt out of the costing popup dialog. And although it’s an opt-out mechanism, for now it’s opted-in by default. The idea is to see quickly if the change fixes the problem. If it does, we’ll keep the opt-in default for WiX v3.5. If not, we can either back out the change or just change the default to opt-out.</p>
<p>So what’s the change? Before, all the dialogs that initiated an install transaction used a SpawnWaitDialog control event with a condition of CostingComplete=1. The dialog would pop up until the condition was met. Now, the condition includes the bind-time WiX variable WixUICostingPopupOptOut. WixUICostingPopupOptOut defaults to 1, so the condition is always true and the popup never appears.</p>
<p>You can override WixUICostingPopupOptOut in your project with a value of 0 to return to the previous behavior:</p>
<blockquote><p>&lt;WixVariable Id=&quot;WixUICostingPopupOptOut&quot; Value=&quot;0&quot; /&gt;</p>
</blockquote>
<p>So, please grab the next release of WiX and try out your previously problematic installers. We want to fix this problem before we start locking down WiX v3.5 for RTM.</p>
<p><strong>Update</strong>: You can get the weekly release <a href="http://wix.sourceforge.net/releases/3.5.1721.0/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joyofsetup.com/2010/05/20/its-time-to-experiment/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Working hard or hardly working?</title>
		<link>http://www.joyofsetup.com/2010/05/14/working-hard-or-hardly-working/</link>
		<comments>http://www.joyofsetup.com/2010/05/14/working-hard-or-hardly-working/#comments</comments>
		<pubDate>Fri, 14 May 2010 18:28:40 +0000</pubDate>
		<dc:creator>Bob Arnson</dc:creator>
				<category><![CDATA[WiX]]></category>

		<guid isPermaLink="false">http://www.joyofsetup.com/2010/05/14/working-hard-or-hardly-working/</guid>
		<description><![CDATA[Don’t complicate your setups by doing more than you have to. Here are a few things I’ve run into lately of people doing more than they have to and opening themselves up to potential bugs or increased risk of getting something wrong. Some attributes are optional, really. Rob and I have blogged before about the [...]]]></description>
			<content:encoded><![CDATA[<p>Don’t complicate your setups by doing more than you have to. Here are a few things I’ve run into lately of people doing more than they have to and opening themselves up to potential bugs or increased risk of getting something wrong.</p>
<ul>
<li><strong>Some attributes are optional, really.</strong> Rob and I have <a href="http://robmensching.com/blog/posts/2010/1/16/Glimpses-of-life-with-WiX-v4.0">blogged before</a> about the language enhancements sneaking into WiX v3.5. Those enhancements focus on simplifying authoring, by collapsing elements (<a href="http://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier-than-ever/">MajorUpgrade</a>) or providing smart attributes (<a href="http://www.joyofsetup.com/2009/12/31/simplifying-wix-component-authoring/">Component</a>). I suspect many people rely on IntelliSense in Visual Studio when authoring their WiX source files. IntelliSense is pretty close to sliced bread on the greatness scale of inventions, but it has a significant downside in the current implementation in Votive: It lists all possible elements and attributes in the WiX schema, with no “intelligence” behind which are most important. So you get the positive IntelliSense feedback of providing values for every attribute. It’s addicting but you can fight it. (To be fair to IntelliSense, it’s just using the default XSD schema support in the XML language service; if someone were to add a WiX language service to Votive, IntelliSense could be much better.) </li>
<li><strong>Manually marking package and component bitness. </strong>MSI doesn’t support platform-neutral packages or components: They’re either 32-bit (x86) or 64-bit (x64 or IA64). In your authoring, you can specify a package’s platform using the <a href="http://wix.sourceforge.net/manual-wix3/wix_xsd_package.htm">Package/@Platform</a> attribute. Components are 32-bit by default; you can specify that they’re 64-bit by specifying “yes” as the <a href="http://wix.sourceforge.net/manual-wix3/wix_xsd_component.htm">Component/@Win64</a> attribute value. In a package full of 64-bit components, you have to specify @Win64=”yes” for <em>every</em> component. It’s typical to want to produce both 32-bit and 64-bit packages from the same WiX source, so a common approach is to make the @Win64 attribute value a preprocessor variable. Or, just let WiX handle it for you: Specify the –arch switch at the candle.exe command line or the &lt;InstallerPlatform&gt; property in a .wixproj MSBuild project. When you specify x64 or intel64, Candle automatically sets the package and components in the file being compiled as 64-bit. It’s still useful to be able to say “Win64=’no’” for those components that are 32-bit even in 64-bit packages. Of course, that’s also legal in 32-bit packages, so it’s safe to hard-code.</li>
<li><strong>Unnecessarily nuking registry keys. </strong>The <a href="http://wix.sourceforge.net/manual-wix3/wix_xsd_registrykey.htm">RegistryKey/@Action</a> attribute lets you specify some of the “special” <a href="http://msdn.microsoft.com/library/aa371168.aspx">Registry table</a> functionality that MSI supports. Specifying <em>create</em> lets you create an empty registry key; <em>createAndRemoveOnUninstall </em>tells MSI to delete the key and all values during uninstall. That’s useful functionality if your application creates additional values at runtime—but for per-machine registry keys (under HKEY_LOCAL_MACHINE) most apps don’t create additional values because it would require elevation. (The not-quite invisible hand of UAC gently guides developers toward good app behavior.) If you omit the @Action attribute or specify <em>none</em>, MSI will still delete the registry key if it deletes all the values in it (and so on, recursively down the registry key hierarchy). That’s the default; you don’t have to ask MSI to remove the registry entries it writes. So if you need to nuke your keys, go ahead, but otherwise, don’t bother. </li>
</ul>
<p>By the way, all of these things work in WiX v3.0 rtm.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joyofsetup.com/2010/05/14/working-hard-or-hardly-working/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Introducing Lux: Declarative unit testing for custom actions</title>
		<link>http://www.joyofsetup.com/2010/02/08/introducing-lux-declarative-unit-testing-for-custom-actions/</link>
		<comments>http://www.joyofsetup.com/2010/02/08/introducing-lux-declarative-unit-testing-for-custom-actions/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 02:18:49 +0000</pubDate>
		<dc:creator>Bob Arnson</dc:creator>
				<category><![CDATA[WiX]]></category>
		<category><![CDATA[custom actions]]></category>

		<guid isPermaLink="false">http://www.joyofsetup.com/2010/02/08/introducing-lux-declarative-unit-testing-for-custom-actions/</guid>
		<description><![CDATA[The Cambridge-based WiX East Virtual Team have is pleased to announce its first major contribution to WiX: The Lux unit-testing framework. Lux will be available in the next weekly release of WiX v3.5. Unit-testing custom actions with Lux Custom actions are a frequent cause of installation failures so it&#8217;s important to test them thoroughly. Custom [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://microsoftcambridge.com/Default.aspx">Cambridge</a>-based WiX East Virtual Team have is pleased to announce its first major contribution to WiX: The Lux unit-testing framework. Lux will be available in the next <a href="http://wix.sourceforge.net/releases/">weekly release</a> of WiX v3.5.</p>
<h3>Unit-testing custom actions with Lux</h3>
<p>Custom actions are a frequent cause of installation failures so it&#8217;s important to test them thoroughly. Custom actions themselves usually aren&#8217;t tested. The traditional testing approach is to run functional tests on an entire installer and to cover as many scenarios and platform combinations as possible. </p>
<h4>Custom action patterns</h4>
<p>WiX compiler extensions provide one way of improving custom action quality: Because compiler extensions run at build time instead of install time, they can perform all sorts of data validation and conversion on strongly-typed authoring before converting it to rows and columns of custom tables in the MSI package. </p>
<p>Immediate custom actions then read those custom tables, check current state (for example, component action state, the state of the machine itself), and serialize the resulting data into a custom action data property. Immediate custom actions are the place to do the logic that needs live state and cannot be determined at build time by a compiler extension. Because immediate custom actions run in the security context of the installing user and outside an installation transaction, they generally do not have permissions to modify the machine and if they fail, the installation simply ends without the need to do any cleanup or rollback. </p>
<p>Deferred custom actions read the custom action data property set by immediate custom actions to know what to do. One way to improve custom action reliability is to make as few decisions as possible in deferred custom actions; instead, implement all the logic in compiler extensions and immediate custom actions and have deferred custom actions simply read the custom action data property in a loop to modify the machine. </p>
<p>The WiX custom actions that modify the machine use this pattern. For example, XmlConfig authoring is validated by the WixUtilExtension compiler extension and translated to rows and columns in the XmlConfig table. The SchedXmlConfig immediate custom action reads the XmlConfig table, constructs a custom action data property based on the XmlConfig table and machine&#8217;s state (including checking component state and storing existing file data to support rollback), then schedules the ExecXmlConfig deferred custom action to execute the XML changes and the ExecXmlConfigRollback rollback custom action to roll back the changes. </p>
<h4>Testing with Lux</h4>
<p>Lux is a WiX extension (and associated tools) that let you write data-driven unit tests for your custom actions. The executive summary: Lux runs your immediate custom actions then validates they set properties to the values you expect. </p>
<p>While it&#8217;s a simple approach, if your custom actions are factored as discussed above, validating the properties set by immediate custom actions can validate all the interaction between your custom actions, the MSI package, and MSI itself. </p>
<p>If your custom actions aren&#8217;t factored as discussed&#8211;for example, if your deferred custom actions expect only an installation directory and have logic to construct file paths from it&#8211;then it&#8217;s likely that your immediate custom actions don&#8217;t have a lot of logic that&#8217;s useful to test. </p>
<p>Lux does not help you test the custom action code that actually modifies the machine; for that, continue to use other unit-test frameworks and automated tests. By working only with immediate custom actions, Lux can let MSI run the custom actions as-is, eliminating the need to write custom <a href="http://xunitpatterns.com/Test%20Double.html">test doubles</a> for the MSI API. Lux runs from a per-user package so unless you run the tests from an elevated command prompt, none of the custom actions get elevated privileges and therefore cannot modify the machine. </p>
<p>Here&#8217;s how Lux works: </p>
<ol>
<li>You write your unit tests using XML in WiX source files. </li>
<li>The Lux extension converts the XML to a table in a test .msi package. </li>
<li>The Lux custom action runs after all other immediate custom actions and evaluates your unit tests. </li>
</ol>
<h3>Authoring unit tests</h3>
<p>Lux supports the following unit tests:</p>
<ul>
<li>Property values </li>
<li>Expressions </li>
<li>Multi-value properties </li>
<li>Name/value-pair properties </li>
</ul>
<p>Note that you should always author unit tests in fragments separate from your custom action authoring or any other product authoring. If you mix unit tests with other authoring, WiX includes the unit-test data in your &quot;real&quot; installers.</p>
<h4>Property value tests</h4>
<p>A simple test lets you specify a property to test, a value to test against, and the operator to compare with (which defaults to &quot;equal&quot;).</p>
<pre>&lt;Fragment&gt;
  &lt;lux:UnitTest CustomAction=&quot;TestCustomActionSimple&quot; Property=&quot;SIMPLE&quot; Value=&quot;[INSTALLLOCATION]&quot; Operator=&quot;equal&quot; /&gt;
&lt;/Fragment&gt;</pre>
<p>When the test runs, Lux compares the value of the SIMPLE property against the (formatted) value [INSTALLLOCATION]. If the two match (because the operator is &quot;equal&quot;), the test passes. Legal values of the Operator attribute are:</p>
<dl>
<dt><dfn>equal</dfn></dt>
<dd>(Default) Compares Property to Value and succeeds if they are equal. </dd>
<dt><dfn>notEqual</dfn></dt>
<dd>Compares Property to Value and succeeds if they are NOT equal. </dd>
<dt><dfn>caseInsensitiveEqual</dfn></dt>
<dd>Compares Property to Value and succeeds if they are equal (ignoring case). </dd>
<dt><dfn>caseInsensitiveNotEqual</dfn></dt>
<dd>Compares Property to Value and succeeds if they are NOT equal (ignoring case). </dd>
</dl>
<h4>Test conditions</h4>
<p>Conditions let you validate code paths in your custom action. For example, if your custom action behaves differently on Windows XP than it does on Windows Vista and later, you can create two tests with mutually exclusive conditions:</p>
<pre>&lt;Fragment&gt;
  &lt;lux:UnitTest CustomAction=&quot;TestCustomActionSimple&quot; Property=&quot;SIMPLE&quot; Value=&quot;[INSTALLLOCATION]&quot;&gt;
    &lt;lux:Condition&gt;&lt;![CDATA[VersionNT &lt; 600]]&gt;&lt;/lux:Condition&gt;
  &lt;/lux:UnitTest&gt;
  &lt;lux:UnitTest CustomAction=&quot;TestCustomActionSimple&quot; Property=&quot;SIMPLE&quot; Value=&quot;[INSTALLLOCATION]&quot;&gt;
    &lt;lux:Condition&gt;&lt;![CDATA[VersionNT &gt;= 600]]&gt;&lt;/lux:Condition&gt;
  &lt;/lux:UnitTest&gt;
&lt;/Fragment&gt;</pre>
<p>If a test has a condition, the test runs only if its condition is true.</p>
<h4>Expression tests</h4>
<p>Expression tests let you test any valid MSI expression. If the expression is true, the test passes. If the expression is false or invalid, the test fails.</p>
<pre>&lt;Fragment&gt;
  &lt;lux:UnitTest CustomAction=&quot;TestCustomActionSimple&quot;&gt;
    &lt;lux:Expression&gt;NOT MsiSystemRebootPending AND SIMPLE&lt;/lux:Expression&gt;
  &lt;/lux:UnitTest&gt;
&lt;/Fragment&gt;</pre>
<h4>Multi-value property tests</h4>
<p>Because deferred custom actions can access only a single custom-action data property, custom actions that need more than one piece of data encode it in a single string. One way is to have the immediate custom action separate multiple elements with a known separator character, then have the deferred custom action split the string at those separate characters. Lux supports such separators using the ValueSeparator and Index attributes.</p>
<pre>&lt;Fragment&gt;
  &lt;lux:UnitTest CustomAction=&quot;TestCustomActionMultiValue&quot; Property=&quot;MULTIVALUE&quot; ValueSeparator=&quot;*&quot;&gt;
    &lt;lux:Condition&gt;VersionNT&lt;/lux:Condition&gt;
    &lt;lux:UnitTest Index=&quot;0&quot; Value=&quot;1&quot; /&gt;
    &lt;lux:UnitTest Index=&quot;1&quot; Value=&quot;[INSTALLLOCATION]&quot;&gt;
      &lt;lux:Condition&gt;NOT Installed&lt;/lux:Condition&gt;
    &lt;/lux:UnitTest&gt;
    &lt;lux:UnitTest Index=&quot;2&quot; Value=&quot;WIXEAST&quot; /&gt;
  &lt;/lux:UnitTest&gt;
&lt;/Fragment&gt;</pre>
<p>A condition under the parent UnitTest element applies to all individual unit tests. Override it with a Condition child element.</p>
<h4>Name/value-pair property tests</h4>
<p>Another way of providing multiple values to a deferred custom action is to combine name/value pairs into a single string. Lux supports name/value-pair properties using the NameValueSeparator and Index attributes.</p>
<pre>&lt;Fragment&gt;
  &lt;lux:UnitTest CustomAction=&quot;TestCustomActionNameValuePairs&quot; Property=&quot;NAMEVALUEPAIRS&quot; NameValueSeparator=&quot;#&quot;&gt;
    &lt;lux:UnitTest Index=&quot;InstallationRoot&quot; Value=&quot;[INSTALLLOCATION]&quot; /&gt;
    &lt;lux:UnitTest Index=&quot;Developers&quot; Operator=&quot;caseInsensitiveNotEqual&quot; Value=&quot;WIXEAST&quot; /&gt;
  &lt;/lux:UnitTest&gt;
&lt;/Fragment&gt;</pre>
<h3>Building test packages</h3>
<p>Lux unit tests run from a minimal package that includes just your unit tests and the resources they need to run. Because Lux runs only immediate custom actions, it doesn&#8217;t need a full, per-machine package that includes all the files and other resources to be installed. Such a minimal package saves build time but does require that your WiX source code be well modularized with fragments. For example, you should always author unit tests in fragments separate from any other authoring. If you mix unit tests with other authoring, WiX includes the unit-test data in your &quot;real&quot; installers. Likewise, any other WiX authoring included in unit-test fragments is included in test packages.</p>
<p>Lux comes with a tool that simplifies the creation of test packages. Its name is lux.exe. To use lux.exe: </p>
<ol>
<li>Compile the source file containing your unit tests. </li>
<li>Run lux.exe on the .wixobj file and specify a source file for the test package. </li>
<li>Compile the test package source. </li>
<li>Link the test package .wixobj with the unit tests .wixobj. </li>
</ol>
<p>For example:</p>
<pre>candle -ext WixLuxExtension CustomActions.wxs
lux CustomActions.wixobj -out LuxSample1_test.wxs
candle -ext WixLuxExtension LuxSample1_test.wxs
light -ext WixLuxExtension LuxSample1_test.wixobj CustomActions.wixobj -out LuxSample1_test.msi</pre>
<p>Lux also includes an MSBuild task and .targets file to let you build test packages from the same .wixproj you use to build your installers. To build a test package, build the BuildTestPackage target using MSBuild 3.5:</p>
<pre>%WINDIR%\Microsoft.NET\Framework\v3.5\MSBuild.exe /t:BuildTestPackage</pre>
<h3>Running unit tests</h3>
<p>After building the test package, you can run it with logging enabled to capture test results:</p>
<pre>msiexec /l test1.log /i bin\Debug\LuxSample1_test.msi</pre>
<p>Search the log for <b>WixRunImmediateUnitTests</b> to see test results and other logging from the Lux custom action.</p>
<h4>Nit: The Lux test runner</h4>
<p>Lux also includes Nit, a console program that monitors the logging messages emitted by unit tests and reports success or failure. To use Nit on your test packages, just specify their filenames as arguments to nit.exe. For example:</p>
<pre>nit LuxSample1_test.msi</pre>
<p>Lux also lets you run Nit on your test packages from the same .wixproj you use to build your installers. To run a test package under Nit, build the Test target using MSBuild 3.5:</p>
<pre>%WINDIR%\Microsoft.NET\Framework\v3.5\MSBuild.exe /t:Test</pre>
<p>The test package will be built before the tests are run, if necessary. The output looks like the following, with failing tests highlighted in red as build errors:</p>
<pre>Test:
  Microsoft (R) Windows Installer Xml Unit Test Runner version 3.5.1204.0
  Copyright (C) Microsoft Corporation. All rights reserved.

  Test luxB21F0D12E0701DBA30FFB92A532A5390 passed: Property 'SIMPLE' matched expected value '[INSTALLLOCATION]'.
  Test TestConditionBeforeVista passed: Property 'SIMPLE' matched expected value '[INSTALLLOCATION]'.
  Test TestConditionVistaOrLater passed: Property 'SIMPLE' matched expected value '[INSTALLLOCATION]'.
  Test TestExpressionTruth passed: Expression 'NOT MsiSystemRebootPending AND SIMPLE' evaluated to true.
nit.exe : error NIT8103: Test luxA6D27EC5903612D7F3786FF71952E314 failed: Property 'MULTIVALUE' expected value '2' but actual value was '1'.
  Test lux210257649C16AFA33793F1CDDF575505 passed: Property 'MULTIVALUE' matched expected value '[INSTALLLOCATION]'.
nit.exe : error NIT8103: Test lux402940A90D3ADAD181D599AB8C260FA0 failed: Property 'MULTIVALUE' expected value 'xxxWIXEAST' but actual value was 'WIXEAST'.
  Test lux453EC8DB458A8F66F0D22970CFF2AE99 passed: Property 'NAMEVALUEPAIRS' matched expected value '[INSTALLLOCATION]'.
  Test lux20CB4F88795F22D15631FD60BA03AFEB passed: Property 'NAMEVALUEPAIRS' matched expected value 'WIXWEST'.
nit.exe : error NIT8102: 2 tests failed. 7 tests passed.
Done Building Project &quot;C:\Delivery\Dev\wix35\src\lux\samples\LuxSample1\LuxSample1.wixproj&quot; (Test target(s)) -- FAILED.

Build FAILED.

&quot;C:\Delivery\Dev\wix35\src\lux\samples\LuxSample1\LuxSample1.wixproj&quot; (Test target) (1) -&gt;
(Test target) -&gt;
  nit.exe : error NIT8103: Test luxA6D27EC5903612D7F3786FF71952E314 failed: Property 'MULTIVALUE' expected value '2' but actual value was '1'.
  nit.exe : error NIT8103: Test lux402940A90D3ADAD181D599AB8C260FA0 failed: Property 'MULTIVALUE' expected value 'xxxWIXEAST' but actual value was 'WIXEAST'.
  nit.exe : error NIT8102: 2 tests failed. 7 tests passed.

    0 Warning(s)
    3 Error(s)

Time Elapsed 00:00:07.87</pre>
<h3>FAQ</h3>
<dl>
<dt>Are these really unit tests? They look a lot like <a href="http://fit.c2.com/">Fit tests</a>. </dt>
<dd>Fit tests are tabular and data-driven, so they have a lot in common with Lux&#8217;s unit tests. But fit tests are focused on high-level outputs, whereas unit tests are low-level developer tests. </dd>
<dt>Using the custom action code as-is sounds good, but are there any limitations with that approach? </dt>
<dd>Yes. Because you are running the actual custom action, any code paths that rely on machine state reflect the state of the machine you run the tests on. For example, code that has different behavior on different versions of Windows runs only one way, just like it does in a normal installer. You can add debug code that looks for the presence of the WIXLUXTESTPACKAGE property; it&#8217;s set to 1 in a test package. </dd>
<dt>I have unit tests that fail because directory properties are being returned as empty strings. Why? </dt>
<dd>The most likely cause is that your directories are defined as children of your installer&#8217;s Product element. Lux.exe builds its own Product element to product a minimal test package, so none of the resources defined in your Product are available to the unit tests. The simplest solution is to move those resources to their own Fragment. </dd>
<dt>Do I have to write my custom actions in C++? </dt>
<dd>No, Lux works with any immediate custom actions, regardless of the language they&#8217;re written in, including MSI type 51 property-setting custom actions. </dd>
</dl>
]]></content:encoded>
			<wfw:commentRss>http://www.joyofsetup.com/2010/02/08/introducing-lux-declarative-unit-testing-for-custom-actions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Major upgrades now easier than ever</title>
		<link>http://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier-than-ever/</link>
		<comments>http://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier-than-ever/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 05:14:30 +0000</pubDate>
		<dc:creator>Bob Arnson</dc:creator>
				<category><![CDATA[WiX]]></category>

		<guid isPermaLink="false">http://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier-than-ever/</guid>
		<description><![CDATA[I’m a fan of major upgrades, which I’ve written about before. For 10 lines of XML, you get free and easy upgrades without having to deal with the costs of patching and minor upgrades: &#60;!&#8211; Major upgrade &#8211;&#62; &#60;Upgrade Id=&#34;$(var.UpgradeCode)&#34;&#62; &#160;&#160;&#160; &#60;UpgradeVersion Minimum=&#34;$(var.ProductVersion)&#34; OnlyDetect=&#34;yes&#34; Property=&#34;NEWERVERSIONDETECTED&#34; /&#62; &#160;&#160;&#160; &#60;UpgradeVersion Minimum=&#34;1.0.0&#34; IncludeMinimum=&#34;yes&#34; Maximum=&#34;$(var.ProductVersion)&#34; IncludeMaximum=&#34;no&#34; Property=&#34;OLDERVERSIONBEINGUPGRADED&#34; /&#62; &#60;/Upgrade&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>I’m a fan of major upgrades, which I’ve written <a href="http://www.joyofsetup.com/2008/12/30/paying-for-upgrades/">about</a> <a href="http://www.joyofsetup.com/2008/12/29/neither-more-nor-less/">before</a>. For 10 lines of XML, you get free and easy upgrades without having to deal with the <a href="http://www.joyofsetup.com/2008/12/30/paying-for-upgrades/">costs of patching</a> and minor upgrades:</p>
<blockquote><p>&lt;!&#8211; Major upgrade &#8211;&gt;    <br />&lt;Upgrade Id=&quot;$(var.UpgradeCode)&quot;&gt;     <br />&#160;&#160;&#160; &lt;UpgradeVersion Minimum=&quot;$(var.ProductVersion)&quot; OnlyDetect=&quot;yes&quot; Property=&quot;NEWERVERSIONDETECTED&quot; /&gt;     <br />&#160;&#160;&#160; &lt;UpgradeVersion Minimum=&quot;1.0.0&quot; IncludeMinimum=&quot;yes&quot; Maximum=&quot;$(var.ProductVersion)&quot; IncludeMaximum=&quot;no&quot; Property=&quot;OLDERVERSIONBEINGUPGRADED&quot; /&gt;     <br />&lt;/Upgrade&gt;     </p>
<p>&lt;InstallExecuteSequence&gt;     <br />&#160;&#160;&#160; &lt;RemoveExistingProducts After=&quot;InstallValidate&quot; /&gt;     <br />&lt;/InstallExecuteSequence&gt;     </p>
<p>&lt;Condition Message=&quot;!(loc.NewerVersionDetected)&quot;&gt;     <br />&#160;&#160;&#160; NOT NEWERVERSIONDETECTED     <br />&lt;/Condition&gt;     </p></blockquote>
<p>Easy enough to cut and paste but it isn’t exactly what I would call <em>expressive</em>—the intent behind the code isn’t obvious, though it can be deduced fairly easily.</p>
<p>WiX can do better.</p>
<p>So, like the last time I <a href="http://www.joyofsetup.com/2009/12/31/simplifying-wix-component-authoring/">tweaked the WiX language</a>, it’s time for a new feature: The <a href="http://wix.sourceforge.net/manual-wix3/wix_xsd_majorupgrade.htm">MajorUpgrade</a> element encapsulates the most common options for major upgrades and creates the appropriate rows in the <a href="http://msdn.microsoft.com/en-us/library/aa372379%28VS.85%29.aspx">Upgrade</a> and <a href="http://msdn.microsoft.com/en-us/library/aa369752%28VS.85%29.aspx">LaunchCondition</a> tables and provides a simpler way of specifying the scheduling of the <a href="http://msdn.microsoft.com/en-us/library/aa371197%28VS.85%29.aspx">RemoveExistingProducts</a> action. For example, here’s the simplest use:</p>
<blockquote><p>&lt;MajorUpgrade DowngradeErrorMessage=&quot;Can&#8217;t downgrade.&quot; /&gt;</p>
</blockquote>
<p>Downgrades are blocked by default, which requires you to specify a message for the launch condition message.</p>
<p>MajorUpgrade is a child of the <a href="http://wix.sourceforge.net/manual-wix3/wix_xsd_product.htm">Product</a> element and automatically picks up the UpgradeCode attribute from its parent. That avoids the common duplication of the upgrade code in the <a href="http://wix.sourceforge.net/manual-wix3/wix_xsd_upgrade.htm">Upgrade</a> element.</p>
<p>MajorUpgrade has the following attributes:</p>
<table border="1" cellspacing="0" cellpadding="6">
<tbody>
<tr>
<td valign="top">AllowDowngrades</td>
<td valign="top">Downgrades are blocked by default.</td>
</tr>
<tr>
<td valign="top">DowngradeErrorMessage</td>
<td valign="top">The launch condition message displayed when a downgrade is detected.</td>
</tr>
<tr>
<td valign="top">IgnoreRemoveFailure</td>
<td valign="top">Uninstall failures are upgrade failures by default.</td>
</tr>
<tr>
<td valign="top">MigrateFeatures</td>
<td valign="top">Manual control over the features installed in the newer product.</td>
</tr>
<tr>
<td valign="top">RemoveFeatures</td>
<td valign="top">Manual control over the features removed from the older product.</td>
</tr>
<tr>
<td valign="top">Schedule</td>
<td valign="top">When to schedule the <a href="http://msdn.microsoft.com/en-us/library/aa371197%28VS.85%29.aspx">RemoveExistingProducts</a> action.</td>
</tr>
</tbody>
</table>
<p>For details, see the <a href="http://wix.sourceforge.net/manual-wix3/wix_xsd_majorupgrade.htm">MajorUpgrade</a> element documentation. The feature ships in <a href="http://wix.sourceforge.net/releases/3.5.1315.0/">WiX v3.5.1315.0</a> and <a href="http://wix.sourceforge.net/releases/">later</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier-than-ever/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Simplifying WiX component authoring</title>
		<link>http://www.joyofsetup.com/2009/12/31/simplifying-wix-component-authoring/</link>
		<comments>http://www.joyofsetup.com/2009/12/31/simplifying-wix-component-authoring/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 18:53:35 +0000</pubDate>
		<dc:creator>Bob Arnson</dc:creator>
				<category><![CDATA[WiX]]></category>

		<guid isPermaLink="false">http://www.joyofsetup.com/2009/12/31/simplifying-wix-component-authoring/</guid>
		<description><![CDATA[In the latest in the ongoing series of simplifying the WiX language, I recently added two new defaults to the WiX compiler: The Component/@Guid attribute value defaults to “*” so that if you don’t specify it, WiX generates a stable component GUID at link time. Generated component GUIDs are available as long as your component: [...]]]></description>
			<content:encoded><![CDATA[<p>In the latest in the ongoing series of <a href="http://www.joyofsetup.com/2007/12/07/simplifying-the-wix-v3-language/" mce_href="http://www.joyofsetup.com/2007/12/07/simplifying-the-wix-v3-language/">simplifying the WiX language</a>, I recently added two new defaults to the WiX compiler:</p>
<ul>
<li>The <a href="http://wix.sourceforge.net/manual-wix3/wix_xsd_component.htm" mce_href="http://wix.sourceforge.net/manual-wix3/wix_xsd_component.htm">Component</a>/@Guid attribute value defaults to “*” so that if you don’t specify it, WiX generates a stable component GUID at link time. Generated component GUIDs are available as long as your component:
<ul>
<li>Does not contain an <a href="http://wix.sourceforge.net/manual-wix3/wix_xsd_odbcdatasource.htm" mce_href="http://wix.sourceforge.net/manual-wix3/wix_xsd_odbcdatasource.htm">ODBCDataSource</a> element. (ODBwhat?)</li>
<li>Has only one file.</li>
<li>Has only registry values.</li>
</ul>
</li>
<li>The Component/@Id attribute value defaults to the id of the keypath resource. The component itself cannot be the keypath for this to work (obviously, there’s no id for it to default to).</li>
</ul>
<p>These changes will appear in the first <a href="http://wix.sourceforge.net/releases/" mce_href="http://wix.sourceforge.net/releases/">weekly release</a> of WiX v3.5 in 2010.</p>
<p>Combine the two features and a single-file component can now be as simple as:</p>
<blockquote><p>&lt;Component&gt;<br />
&nbsp;&nbsp;&lt;File Source=&#8221;foo.exe&#8221; /&gt;<br />
&lt;/Component&gt;</p>
</blockquote>
<p>In this case, the component’s id will be “foo.exe” because the File element’s default for its Id is the filename portion of the Source attribute. Call it hygenic double-dip defaulting.</p>
<p>A multi-file component isn’t suitable for generated GUIDs, so it requires an explicit GUID but can still take advantage of default component ids:</p>
<blockquote><p>&lt;Component Guid=&#8221;{A5B56773-5E26-4C5F-AC51-C2470C3658AF}&#8221;&gt;<br />
&nbsp;&nbsp;&lt;File Source=&#8221;foo.dll&#8221; /&gt;<br />
&nbsp;&nbsp;&lt;File Source=&#8221;bar.dll&#8221; /&gt;<br />
&nbsp;&nbsp;&lt;File Source=&#8221;bob.exe&#8221; KeyPath=&#8221;yes&#8221; /&gt;<br />
&lt;/Component&gt;</p>
</blockquote>
<p>In this case, the component’s id will be “bob.exe” from the keypath File element’s default Id. Note that unless you use the generated GUID default and live within its rules, you must specify an explicit KeyPath attribute value of “yes” on the resource whose id you want to be the component id.</p>
<p>We can’t eliminate the <a href="http://www.joyofsetup.com/2008/12/30/paying-for-upgrades/" mce_href="http://www.joyofsetup.com/2008/12/30/paying-for-upgrades/">dread component rules</a> but we can make it simpler to live within them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joyofsetup.com/2009/12/31/simplifying-wix-component-authoring/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WiX v3.5 supports Visual Studio 2010 beta 2</title>
		<link>http://www.joyofsetup.com/2009/10/30/wix-v3-5-supports-visual-studio-2010-beta-2/</link>
		<comments>http://www.joyofsetup.com/2009/10/30/wix-v3-5-supports-visual-studio-2010-beta-2/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 21:26:29 +0000</pubDate>
		<dc:creator>Bob Arnson</dc:creator>
				<category><![CDATA[WiX]]></category>
		<category><![CDATA[WiX highlights]]></category>

		<guid isPermaLink="false">http://www.joyofsetup.com/2009/10/30/wix-v3-5-supports-visual-studio-2010-beta-2/</guid>
		<description><![CDATA[So that the WiX Working Group can enjoy Hallowe’en on Saturday, WiX v3.5.1030.0 with support for Visual Studio 2010 beta 2 was released today. You can get the bits at http://wix.sourceforge.net/releases/3.5.1030.0/. This isn’t a full beta release – Burn is still in active development and isn’t ready for prime-time use yet – but we want [...]]]></description>
			<content:encoded><![CDATA[<p>So that the WiX Working Group can enjoy <a href="http://en.wikipedia.org/wiki/Halloween">Hallowe’en</a> on Saturday, <a href="http://wix.sourceforge.net/releases/3.5.1030.0/">WiX v3.5.1030.0</a> with support for Visual Studio 2010 beta 2 was released today. You can get the bits at <a title="http://wix.sourceforge.net/releases/3.5.1030.0/" href="http://wix.sourceforge.net/releases/3.5.1030.0/">http://wix.sourceforge.net/releases/3.5.1030.0/</a>. This isn’t a full beta release – Burn is still in active development and isn’t ready for prime-time use yet – but we want to support everyone using the beta 2 release of <a href="http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx">Visual Studio 2010</a>, which shipped last week.</p>
<p>Candy, Visual Studio program manager and WiX Working Group babysitter/cat-herder, had this to say about the features in this release:</p>
<blockquote><p>Visual Studio 2010 Beta shipped on 10/21. With the team’s hard work and agility, we were able to release the WiX support on VS2010 Beta 2 today! Here are some highlights for this release:</p>
<ul>
<li><b>Extension Manager Integration</b> – Now you can download and install WiX directly from within the VS IDE by launching Extension Manager</li>
<li><b>Major performance improvement</b> during project building – No more IDE freezing during build</li>
<li><b>Automatic upgrade</b> from VS2008 to VS2010 – no more manual editing of wixproj files to change the tools version</li>
<li><b>Improved IDE experience</b> including drag/drop of nodes, copy/paste of items, and project references</li>
<li>Added <b>Visual Studio 2010 Express products detection</b> in the WiX VS Extension – New in Beta</li>
<li>Over <b>40 + bug fixes</b></li>
</ul>
</blockquote>
<p>I’m pleased we were able to get a release supporting beta 2 out so quickly and I’m <em>very</em> excited about the “no more IDE freezing during build” improvement. There are several other smaller enhancements that will make WiX v3.5 a no-brainer upgrade when it ships next year.</p>
<p>In the meantime, if you’re using Visual Studio 2010, please grab <a href="http://wix.sourceforge.net/releases/3.5.1030.0/">this build</a> and be on the lookout for future weekly releases. Problems, questions? Send mail to <a href="http://wix.sourceforge.net/mailinglists.html#wix-users">wix-users</a>, <a href="https://sourceforge.net/tracker/?group_id=105970&amp;atid=642714">file bug reports</a>, or <a href="https://sourceforge.net/tracker/?group_id=105970&amp;atid=642717">submit feature requests</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joyofsetup.com/2009/10/30/wix-v3-5-supports-visual-studio-2010-beta-2/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>WiX v3.0 has been released!</title>
		<link>http://www.joyofsetup.com/2009/07/04/wix-v3-0-has-been-released/</link>
		<comments>http://www.joyofsetup.com/2009/07/04/wix-v3-0-has-been-released/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 18:27:43 +0000</pubDate>
		<dc:creator>Bob Arnson</dc:creator>
				<category><![CDATA[WiX]]></category>

		<guid isPermaLink="false">http://www.joyofsetup.com/2009/07/04/wix-v3-0-has-been-released/</guid>
		<description><![CDATA[Executive summary: Download WiX v3.0 RTM here. On schedule and under budget (seeing as how I&#8217;m no longer around to get my weekly WiX paycheck), WiX v3.0 has been released to SourceForge and marked RTM/stable. The WiX v3.0 RTM build number is 3.0.5419.0, which was released 19-Jun and is, I&#8217;m pleased to point out, a [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Executive summary: <a href="https://sourceforge.net/projects/wix/files/">Download WiX v3.0 RTM here</a>.</p></blockquote>
<p><a href="http://robmensching.com/blog/posts/2009/4/18/WiX-v3.x-schedule-RTM-and-beyond#comments">On schedule</a> and under budget (seeing as how I&#8217;m <a href="http://www.joyofsetup.com/2009/03/17/on-becoming-cantabrigian/">no longer around</a> to get my <a href="http://www.robmensching.com/blog/archive/2007/04/27/There-is-no-quotIquot-in-quotteamquot-but-there-is-quotmequot.aspx">weekly WiX paycheck</a>), WiX v3.0 has been released to SourceForge and marked RTM/stable. The WiX v3.0 RTM build number is <a href="http://wix.sourceforge.net/releases/3.0.5419.0/">3.0.5419.0</a>, which was released 19-Jun and is, I&#8217;m pleased to point out, a prime number. (Well, the 5419 part is, anyway.)</p>
<p>Rob, Candy, and I built a stabilization/escrow plan that locked down the WiX core toolset (basically wix.dll), then extensions, and finally Votive, documentation, setup, and everything else. I&#8217;m happy to say we stuck to that plan very well, taking only one targeted and isolated fix to the Differ class used by Torch.</p>
<p>There were bugs reported in the final weeks of v3.0 that we concluded weren&#8217;t important enough to &#8220;reset escrow&#8221; and delay the release of WiX v3.0. Most of those bugs are in the queue to be fixed in WiX v3.5.</p>
<p>Speaking of&#8230;Work on WiX v3.5 has already started in earnest. Burn is coming together nicely and for the trailblazers, Votive is now available for Visual Studio 2010 beta.</p>
<p>There&#8217;s plenty more work to do, in WiX v3.5 and beyond, but for now, I&#8217;m really proud of the work we&#8217;ve done in WiX v3.0.</p>
<p><a href="http://robmensching.com/blog/posts/2009/7/4/WiX-v3.0-released">See Rob&#8217;s post</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joyofsetup.com/2009/07/04/wix-v3-0-has-been-released/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Highlights of WiX v3.5.0529.0</title>
		<link>http://www.joyofsetup.com/2009/05/30/highlights-of-wix-v3505290/</link>
		<comments>http://www.joyofsetup.com/2009/05/30/highlights-of-wix-v3505290/#comments</comments>
		<pubDate>Sat, 30 May 2009 14:39:36 +0000</pubDate>
		<dc:creator>Bob Arnson</dc:creator>
				<category><![CDATA[WiX]]></category>
		<category><![CDATA[WiX highlights]]></category>

		<guid isPermaLink="false">http://www.joyofsetup.com/2009/05/30/highlights-of-wix-v3505290/</guid>
		<description><![CDATA[WiX v3.5.0529.0 was released on Friday, 29-May-2009. You can download it from http://wix.sourceforge.net/releases/3.5.0529.0/. But please don&#8217;t, unless you&#8217;re champing at the bit to help us work on the Burn chainer or Votive. This week&#8217;s release is focused on getting the v3.5 tree building using the beta release of Visual Studio 2010 and other infrastructure pieces [...]]]></description>
			<content:encoded><![CDATA[<p>WiX v3.5.0529.0 was released on Friday, 29-May-2009. You can download it from <a href="http://wix.sourceforge.net/releases/3.5.0529.0/">http://wix.sourceforge.net/releases/3.5.0529.0/</a>.</p>
<p><strong>But please don&#8217;t, unless you&#8217;re champing at the bit to help us work on the Burn chainer or Votive.</strong> This week&#8217;s release is focused on getting the v3.5 tree building using the <a href="http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx">beta release of Visual Studio 2010</a> and other infrastructure pieces involved in building and publishing a new branch of the WiX toolset. As such, it&#8217;s a developer&#8217;s release and isn&#8217;t ready for general use.</p>
<p>That said, <a href="http://robmensching.com/blog/posts/2009/4/18/WiX-v3.x-schedule-RTM-and-beyond">as promised</a>, here&#8217;s what you can look forward to in the very near future:</p>
<ul>
<li>Burn, the new WiX multi-package chainer platform. </li>
<li>Votive integratation for Visual Studio 2010. </li>
<li>Extension support for Visual Studio 2010 and .NET Framework 4.0. </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.joyofsetup.com/2009/05/30/highlights-of-wix-v3505290/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
