<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>From MSI to WiX, Part 4 - Features and Components</title><link>http://blogs.technet.com/alexshev/archive/2008/08/23/from-msi-to-wix-part-4-features-and-components.aspx</link><description>The main page for the series is here . Introduction When we install any msi what we are doing is we are installing a Product which is contained in a package (msi file). Every product consists of one or more features and every feature contains zero or</description><dc:language>ru-RU</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: From MSI to WiX, Part 4 - Features and Components</title><link>http://blogs.technet.com/alexshev/archive/2008/08/23/from-msi-to-wix-part-4-features-and-components.aspx#3134923</link><pubDate>Fri, 10 Oct 2008 12:14:58 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3134923</guid><dc:creator>Programmer</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Creating &amp;quot;Empty&amp;quot; component doesn't work for me.&lt;/p&gt;
&lt;p&gt;I'm using WIX 3 with VS2008.&lt;/p&gt;
&lt;p&gt;And after I add the workaround(Fixing the Root node's menu), I've got an error message form LIGHT &amp;quot;error LGHT0204: ICE18: KeyPath for Component: 'Empty' is Directory: 'INSTALLLOCATION'. The Directory/Component pair must be listed in the CreateFolders table.&amp;quot;&lt;/p&gt;</description></item><item><title>re: From MSI to WiX, Part 4 - Features and Components</title><link>http://blogs.technet.com/alexshev/archive/2008/08/23/from-msi-to-wix-part-4-features-and-components.aspx#3134927</link><pubDate>Fri, 10 Oct 2008 12:27:32 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3134927</guid><dc:creator>Programmer</dc:creator><description>&lt;p&gt;Hi again :)&lt;/p&gt;
&lt;p&gt;I've managed to workaround the error by adding &amp;lt;CreateFolder/&amp;gt; tag to the empty component. But after uninstallation created folder still exist. And I don't like it :)&lt;/p&gt;</description></item><item><title>re: From MSI to WiX, Part 4 - Features and Components</title><link>http://blogs.technet.com/alexshev/archive/2008/08/23/from-msi-to-wix-part-4-features-and-components.aspx#3163424</link><pubDate>Wed, 03 Dec 2008 19:40:41 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3163424</guid><dc:creator>Martin MacPherson</dc:creator><description>&lt;p&gt;Hey Programmer,&lt;/p&gt;
&lt;p&gt;If you add a KeyPath attribute to the 'Empty' component then that seems to do the trick. You can get a better explanation of the error by searching for ICE18 in the msi.chm found in the windows msi sdk.&lt;/p&gt;</description></item><item><title>re: From MSI to WiX, Part 4 - Features and Components</title><link>http://blogs.technet.com/alexshev/archive/2008/08/23/from-msi-to-wix-part-4-features-and-components.aspx#3276940</link><pubDate>Wed, 26 Aug 2009 05:17:24 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3276940</guid><dc:creator>Peter</dc:creator><description>&lt;P&gt;Thank you so much for this - it has ironed out a heap of 'features' that the QA guys were complaining about using the standard wix3 feature tree dialog set.&lt;/P&gt;
&lt;P&gt;Can you tell me how to remove the "Entire feature will be installed..." on features that have no sub-features?&lt;/P&gt;</description></item><item><title>re: From MSI to WiX, Part 4 - Features and Components</title><link>http://blogs.technet.com/alexshev/archive/2008/08/23/from-msi-to-wix-part-4-features-and-components.aspx#3283881</link><pubDate>Tue, 29 Sep 2009 21:28:15 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3283881</guid><dc:creator>Ed</dc:creator><description>&lt;P&gt;I have 3 features A, B, and C. &lt;/P&gt;
&lt;P&gt;- Default is to install A and B. &lt;/P&gt;
&lt;P&gt;- A and C are required but mutually exclusive. &lt;/P&gt;
&lt;P&gt;- A can be alone or with B&lt;/P&gt;
&lt;P&gt;- C must go with B&lt;/P&gt;
&lt;P&gt;I can do the above with command line as follows:&lt;/P&gt;
&lt;P&gt;&amp;lt;Feature Id="FeatureA" Title="Feature A" Level="1"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;lt;Condition Level="9999"&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;![CDATA[NOA]]&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/Condition&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;lt;ComponentRef Id="a"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/Feature&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;Feature Id="FeatureB" Title="Feature B" Level="1"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;lt;Condition Level="9999"&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;![CDATA[NOB]]&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/Condition&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;lt;ComponentRef Id="B"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/Feature&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;Feature Id="FeatureC" Title="Feature C" Level="9999"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;lt;Condition Level="1"&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;![CDATA[NOA]]&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/Condition&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;lt;ComponentRef Id="c"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/Feature&amp;gt;&lt;/P&gt;
&lt;P&gt;REM A &amp;amp; B default&lt;/P&gt;
&lt;P&gt;msiexec -i test.msi&lt;/P&gt;
&lt;P&gt;REM A only&lt;/P&gt;
&lt;P&gt;msiexec -i test.msi NOB=true&lt;/P&gt;
&lt;P&gt;REM B &amp;amp; C&lt;/P&gt;
&lt;P&gt;msiexec -i test.msi NOA=true&lt;/P&gt;
&lt;P&gt;REM flag an error message&lt;/P&gt;
&lt;P&gt;msiexec -i test.msi NOA=true NOB=true&lt;/P&gt;
&lt;P&gt;How can this be done at the GUI? Thanks in advance.&lt;/P&gt;</description></item><item><title>re: From MSI to WiX, Part 4 - Features and Components</title><link>http://blogs.technet.com/alexshev/archive/2008/08/23/from-msi-to-wix-part-4-features-and-components.aspx#3283882</link><pubDate>Tue, 29 Sep 2009 21:29:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3283882</guid><dc:creator>Ed</dc:creator><description>&lt;p&gt;BTW, I am using WiX 2.0. Thanks again.&lt;/p&gt;</description></item></channel></rss>