<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Feature conditions and UI</title>
	<atom:link href="http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/</link>
	<description>Bob Arnson on setup and servicing with WiX and MSI</description>
	<lastBuildDate>Sun, 24 Jul 2011 04:35:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Bob Arnson</title>
		<link>http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/comment-page-1/#comment-7273</link>
		<dc:creator>Bob Arnson</dc:creator>
		<pubDate>Tue, 30 Dec 2008 02:43:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/#comment-7273</guid>
		<description>Walker,

Right -- you have complete control over feature selection using ADDLOCAL and REMOVE properties and AddLocal/Remove control events.</description>
		<content:encoded><![CDATA[<p>Walker,</p>
<p>Right &#8212; you have complete control over feature selection using ADDLOCAL and REMOVE properties and AddLocal/Remove control events.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Walker</title>
		<link>http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/comment-page-1/#comment-7272</link>
		<dc:creator>Walker</dc:creator>
		<pubDate>Tue, 30 Dec 2008 01:01:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/#comment-7272</guid>
		<description>I believe I&#039;ve found the answer to my own question, and it is simply to have the back button publish AddlLocal = ALL again if the installation type was FeatureX.</description>
		<content:encoded><![CDATA[<p>I believe I&#8217;ve found the answer to my own question, and it is simply to have the back button publish AddlLocal = ALL again if the installation type was FeatureX.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Walker</title>
		<link>http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/comment-page-1/#comment-7271</link>
		<dc:creator>Walker</dc:creator>
		<pubDate>Mon, 29 Dec 2008 20:12:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/#comment-7271</guid>
		<description>Hi Bob,
Very interesting article. What I&#039;m trying to figure out, though, is how to add back features after using the Remove event to deselect them. For example, suppose I have the usual Custom, Typical and Complete buttons and for convenience I want to add a fourth button for FeatureX, which is commonly installed by itself on multiple hosts. Using the approach you describe to select just Feature X works fine, but how can you undo this when the user clicks the Back button? After clicking FeatureX, if I change my mind and go back to Custom, most features are deselected. Is there a way to clear REMOVE so Typical and Complete behave properly, and Custom shows all features selected by default?</description>
		<content:encoded><![CDATA[<p>Hi Bob,<br />
Very interesting article. What I&#8217;m trying to figure out, though, is how to add back features after using the Remove event to deselect them. For example, suppose I have the usual Custom, Typical and Complete buttons and for convenience I want to add a fourth button for FeatureX, which is commonly installed by itself on multiple hosts. Using the approach you describe to select just Feature X works fine, but how can you undo this when the user clicks the Back button? After clicking FeatureX, if I change my mind and go back to Custom, most features are deselected. Is there a way to clear REMOVE so Typical and Complete behave properly, and Custom shows all features selected by default?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Arnson</title>
		<link>http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/comment-page-1/#comment-7235</link>
		<dc:creator>Bob Arnson</dc:creator>
		<pubDate>Fri, 17 Oct 2008 01:19:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/#comment-7235</guid>
		<description>Nick,

You&#039;ll have difficulty convincing me that having hair is somehow virtuous...</description>
		<content:encoded><![CDATA[<p>Nick,</p>
<p>You&#8217;ll have difficulty convincing me that having hair is somehow virtuous&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Arnson</title>
		<link>http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/comment-page-1/#comment-7234</link>
		<dc:creator>Bob Arnson</dc:creator>
		<pubDate>Fri, 17 Oct 2008 01:18:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/#comment-7234</guid>
		<description>Manfred,

Set the Feature row&#039;s Level field to 0 to disable it.</description>
		<content:encoded><![CDATA[<p>Manfred,</p>
<p>Set the Feature row&#8217;s Level field to 0 to disable it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Stinger</title>
		<link>http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/comment-page-1/#comment-7233</link>
		<dc:creator>Nick Stinger</dc:creator>
		<pubDate>Thu, 16 Oct 2008 18:07:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/#comment-7233</guid>
		<description>I&#039;m sorry, but this is so contrived, convoluted, and in-cohesive with everything else that someone at Microsoft should go bald for this design.  The logic they use to implement &quot;feature conditions&quot; is so narrow that the capability seems to have been made for very specific uses under an even more limited number of circumstances, akin to writing a series of &quot;if&quot; blocks in code to supplement a poor design.  The whole idea doesn&#039;t flow with the rest of the installer concept.  There is an obvious problem here!</description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry, but this is so contrived, convoluted, and in-cohesive with everything else that someone at Microsoft should go bald for this design.  The logic they use to implement &#8220;feature conditions&#8221; is so narrow that the capability seems to have been made for very specific uses under an even more limited number of circumstances, akin to writing a series of &#8220;if&#8221; blocks in code to supplement a poor design.  The whole idea doesn&#8217;t flow with the rest of the installer concept.  There is an obvious problem here!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: msenn</title>
		<link>http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/comment-page-1/#comment-7232</link>
		<dc:creator>msenn</dc:creator>
		<pubDate>Thu, 16 Oct 2008 07:11:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/#comment-7232</guid>
		<description>Hi Bob,
but there must be possible to change the default state of the feature in the selection tree, when doing a custom setup.
to one of the following possibilities:
- This feature will be installed on local hard drive
- This feature and its subfeatures will be installed on local hard drive 
- This feature will be installed to run from CD
- This feature and its subfeatures will be installed to run from CD
- This feature will be installed to run from Network
- This feature and its subfeatures will be installed to run from Network
- This feature will be installed when required
- This feature will not be installed
For example:
When doing a custom setup, Feature1 in the selection tree is displayed per default as &quot;This feature will be installed on local hard drive&quot;.
But I want to change the msi, so that feature1 is displayed per default as &quot;This feature will not be installed&quot;?
Any ideas?</description>
		<content:encoded><![CDATA[<p>Hi Bob,<br />
but there must be possible to change the default state of the feature in the selection tree, when doing a custom setup.<br />
to one of the following possibilities:<br />
- This feature will be installed on local hard drive<br />
- This feature and its subfeatures will be installed on local hard drive<br />
- This feature will be installed to run from CD<br />
- This feature and its subfeatures will be installed to run from CD<br />
- This feature will be installed to run from Network<br />
- This feature and its subfeatures will be installed to run from Network<br />
- This feature will be installed when required<br />
- This feature will not be installed<br />
For example:<br />
When doing a custom setup, Feature1 in the selection tree is displayed per default as &#8220;This feature will be installed on local hard drive&#8221;.<br />
But I want to change the msi, so that feature1 is displayed per default as &#8220;This feature will not be installed&#8221;?<br />
Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Arnson</title>
		<link>http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/comment-page-1/#comment-7230</link>
		<dc:creator>Bob Arnson</dc:creator>
		<pubDate>Wed, 15 Oct 2008 16:34:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/#comment-7230</guid>
		<description>Manfred,

You can&#039;t change feature states in the selection tree but you can change them on the features themselves, such as by setting install levels. Generally, you&#039;d control them by setting ADDLOCAL and REMOVE on the command line.</description>
		<content:encoded><![CDATA[<p>Manfred,</p>
<p>You can&#8217;t change feature states in the selection tree but you can change them on the features themselves, such as by setting install levels. Generally, you&#8217;d control them by setting ADDLOCAL and REMOVE on the command line.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: msenn</title>
		<link>http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/comment-page-1/#comment-7229</link>
		<dc:creator>msenn</dc:creator>
		<pubDate>Wed, 15 Oct 2008 14:37:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/#comment-7229</guid>
		<description>There is a third-party msi.
The features in the selection tree control are selected to run locally by default.
Is it possible to change the state of a feature in the selection tree control, using a transform?
Manfred</description>
		<content:encoded><![CDATA[<p>There is a third-party msi.<br />
The features in the selection tree control are selected to run locally by default.<br />
Is it possible to change the state of a feature in the selection tree control, using a transform?<br />
Manfred</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavel Huml</title>
		<link>http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/comment-page-1/#comment-908</link>
		<dc:creator>Pavel Huml</dc:creator>
		<pubDate>Fri, 07 Mar 2008 15:19:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/#comment-908</guid>
		<description>Once more I try XML markup:

      &lt;InstallUISequence&gt;
        &lt;Show Dialog=&quot;MyWelcomeDialog&quot; Before=&quot;CostFinalize&quot;&gt;NOT Installed&lt;/Show&gt;

        &lt;Show Dialog=&quot;LicenseAgreementDlg&quot; Before=&quot;ProgressDlg&quot;&gt;NOT Installed&lt;/Show&gt;
      &lt;/InstallUISequence&gt;

      &lt;Dialog Id=&quot;SerialNumberCheckDlg&quot;&gt;
        &lt;Control Id=&quot;Next&quot; &gt;
          &lt;Publish Event=&quot;DoAction&quot; Value=&quot;VerifySerialNumber&quot;&gt;1&lt;/Publish&gt;
          &lt;Publish Event=&quot;SpawnDialog&quot; Value=&quot;InvalidPidDlg&quot;&gt;VALIDSERIALCODE = &quot;no&quot;&lt;/Publish&gt;
        &lt;/Control&gt;
      &lt;/Dialog&gt;

&lt;Publish Dialog=&quot;LicenseAgreementDlg&quot; Control=&quot;Next&quot; Event=&quot;NewDialog&quot; Value=&quot;SerialNumberDlg&quot;&gt;1&lt;/Publish&gt;

Feature is enabled by level:
      &lt;Feature Id=&quot;MY_FEATURE&quot; Title=&quot;&quot; Level=&quot;0&quot;&gt;
        ....
        &lt;Condition Level=&quot;1&quot;&gt;MY_FEATURE_UNLOCK = &quot;yes&quot;&lt;/Condition&gt;
      &lt;/Feature&gt;</description>
		<content:encoded><![CDATA[<p>Once more I try XML markup:</p>
<p>      &lt;InstallUISequence&gt;<br />
        &lt;Show Dialog=&quot;MyWelcomeDialog&quot; Before=&quot;CostFinalize&quot;&gt;NOT Installed&lt;/Show&gt;</p>
<p>        &lt;Show Dialog=&quot;LicenseAgreementDlg&quot; Before=&quot;ProgressDlg&quot;&gt;NOT Installed&lt;/Show&gt;<br />
      &lt;/InstallUISequence&gt;</p>
<p>      &lt;Dialog Id=&quot;SerialNumberCheckDlg&quot;&gt;<br />
        &lt;Control Id=&quot;Next&quot; &gt;<br />
          &lt;Publish Event=&quot;DoAction&quot; Value=&quot;VerifySerialNumber&quot;&gt;1&lt;/Publish&gt;<br />
          &lt;Publish Event=&quot;SpawnDialog&quot; Value=&quot;InvalidPidDlg&quot;&gt;VALIDSERIALCODE = &quot;no&quot;&lt;/Publish&gt;<br />
        &lt;/Control&gt;<br />
      &lt;/Dialog&gt;</p>
<p>&lt;Publish Dialog=&quot;LicenseAgreementDlg&quot; Control=&quot;Next&quot; Event=&quot;NewDialog&quot; Value=&quot;SerialNumberDlg&quot;&gt;1&lt;/Publish&gt;</p>
<p>Feature is enabled by level:<br />
      &lt;Feature Id=&quot;MY_FEATURE&quot; Title=&quot;&quot; Level=&quot;0&quot;&gt;<br />
        &#8230;.<br />
        &lt;Condition Level=&quot;1&quot;&gt;MY_FEATURE_UNLOCK = &quot;yes&quot;&lt;/Condition&gt;<br />
      &lt;/Feature&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

