<?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 6 - Customizing installation using Custom Tables</title><link>http://blogs.technet.com/alexshev/archive/2008/02/14/from-msi-to-wix-part-6-customizing-installation-using-custom-tables.aspx</link><description>The main page for the series is here . Introduction Say, we need to change an xml config file based on the environment our program will run in. The most straightforward way of achieving that will be passing values which will go to the xml config file</description><dc:language>ru-RU</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Few questions on Custom Tables</title><link>http://blogs.technet.com/alexshev/archive/2008/02/14/from-msi-to-wix-part-6-customizing-installation-using-custom-tables.aspx#3260010</link><pubDate>Tue, 30 Jun 2009 18:04:56 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3260010</guid><dc:creator>Aleksey Timohin</dc:creator><description>&lt;p&gt;1) Following seems not clear to me:&lt;/p&gt;
&lt;p&gt;&amp;gt; Now, instead of passing Key1, Key2, and Key3 &lt;/p&gt;
&lt;p&gt;&amp;gt; in the command line we need to pass just one parameter - &lt;/p&gt;
&lt;p&gt;&amp;gt; ENVIRONMENT, which will be used in order to determine &lt;/p&gt;
&lt;p&gt;&amp;gt; which set of data to use during installation to update &lt;/p&gt;
&lt;p&gt;&amp;gt; the content of the configuration file. &lt;/p&gt;
&lt;p&gt;What value should be defined for ENVIRONMENT to work?&lt;/p&gt;
&lt;p&gt;msiexec Setup.msi ENVIRONMENT = ????&lt;/p&gt;
&lt;p&gt;or maybe it will be enough just specify this property?&lt;/p&gt;
&lt;p&gt;msiexec Setup.msi ENVIRONMENT&lt;/p&gt;
&lt;p&gt;2) Can Custom Tables be used to store values that user has enetered during install?&lt;/p&gt;
&lt;p&gt;p.s. thank you for great articles!&lt;/p&gt;</description></item><item><title>re: From MSI to WiX, Part 6 - Customizing installation using Custom Tables</title><link>http://blogs.technet.com/alexshev/archive/2008/02/14/from-msi-to-wix-part-6-customizing-installation-using-custom-tables.aspx#3260122</link><pubDate>Tue, 30 Jun 2009 23:33:30 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3260122</guid><dc:creator>Alex Shevchuk</dc:creator><description>&lt;p&gt;ENVIRONMENT variable should be set to one of the values in Environment column of custom table, ie. Dev or Test:&lt;/p&gt;
&lt;p&gt;msiexec /i Setup.msi ENVIRONMENT=Dev&lt;/p&gt;
&lt;p&gt;Answer for second question is No. &amp;nbsp;It is possible to change values in custom table during install, but these changes won't be saved in actual msi. &amp;nbsp;To store values entered during install, usually these values persisted in the registry during fresh install and retrieved from registry during maintenance/uninstall.&lt;/p&gt;
</description></item><item><title>re: From MSI to WiX, Part 6 - Customizing installation using Custom Tables</title><link>http://blogs.technet.com/alexshev/archive/2008/02/14/from-msi-to-wix-part-6-customizing-installation-using-custom-tables.aspx#3260423</link><pubDate>Wed, 01 Jul 2009 18:22:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3260423</guid><dc:creator>Aleksey Timohin</dc:creator><description>&lt;p&gt;Thank you for fast answer.&lt;/p&gt;
&lt;p&gt;Custom Tables became clearer for me.&lt;/p&gt;</description></item></channel></rss>