<?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>Installation Developer &#187; The Difference Between Auto-Repair and Install-on-Demand</title>
	<atom:link href="http://www.installationdeveloper.com/312/the-difference-between-auto-repair-and-install-on-demand/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.installationdeveloper.com</link>
	<description>InstallShield Training - InstallShield Tutorials</description>
	<lastBuildDate>Sat, 04 Sep 2010 14:49:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>The Difference Between Auto-Repair and Install-on-Demand</title>
		<link>http://www.installationdeveloper.com/312/the-difference-between-auto-repair-and-install-on-demand/</link>
		<comments>http://www.installationdeveloper.com/312/the-difference-between-auto-repair-and-install-on-demand/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 23:21:46 +0000</pubDate>
		<dc:creator>Rod_Maupin</dc:creator>
				<category><![CDATA[InstallShield Training]]></category>
		<category><![CDATA[installshield class]]></category>
		<category><![CDATA[installshield classes]]></category>
		<category><![CDATA[installshield course]]></category>
		<category><![CDATA[installshield courses]]></category>
		<category><![CDATA[installshield programmer]]></category>
		<category><![CDATA[Installshield Tutorial]]></category>
		<category><![CDATA[installshield tutorials]]></category>

		<guid isPermaLink="false">http://www.installationdeveloper.com/?p=312</guid>
		<description><![CDATA[In a Basic MSI installation, it sometimes&#160;appears to a person that an auto-repair is being triggered during an installation, when there is no reason for one&#160;to take place.&#160; In this case, the first thing you must do is&#160;to enable logging, then run the installation and see what the log reveals to you.&#160; If the log [...]]]></description>
			<content:encoded><![CDATA[<p>
In a <strong>Basic MSI</strong> installation, it sometimes&nbsp;appears to a person that an <strong>auto-repair</strong> is being triggered during an installation, when there is no reason for one&nbsp;to take place.&nbsp; In this case, the first thing you must do is&nbsp;to enable logging, then run the installation and see what the log reveals to you.&nbsp; If the log file does not show that any files were reinstalled, is it really a repair that is taking place?
</p>
<p>
The <strong>Windows Installer</strong> can repair, replace, and verify files in an application.&nbsp; A partial or complete application reinstallation would be warranted if any files or registry entries associated with a particular feature are missing or corrupt.&nbsp; When a feature or applicaiton is reinstalled, all the services, environment variables, and custom actions belonging to the feature or application are reinstalled.&nbsp; Changes that were made to environment variables between the original installation and the reinstallation are then lost.
</p>
<p>
Back to the original example.&nbsp; If&nbsp;your installation log shows that no files were reinstalled, what exactly is happening?
</p>
<p>
<strong>Features</strong> can be&nbsp;<strong>advertised</strong> instead of <strong>immediately installed</strong>.&nbsp;&nbsp;You do this by setting the feature&#39;s <strong>Advertisement property</strong> to <strong>Allow Advertise</strong>.&nbsp; Now, just because you set it to allow advertisement, that doesn&#39;t mean that it will be the default option when the installation is run.&nbsp;&nbsp;In the custom setup dialog,&nbsp;the user has to indicate that he wants to&nbsp;install the feature when it is required, rather than during the installation.&nbsp; So, the installation takes place on&nbsp;the user&#39;s system, but the feature is not yet installed.
</p>
<p>
During the use of the application, when the user desires to use the functionality that is provided by the advertised feature, the feature is then installed.&nbsp; This is&nbsp;<strong>install-on-demand</strong> and&nbsp;is the point where installation developers can become confused during the testing of their installations.&nbsp; They mistake <strong>install-on-demand</strong> for <strong>auto-repair</strong>, when it is not.
</p>
<p>
When you encounter this scenario in your testing, always check your installation log to determine what is happening.&nbsp; It may be that sometime during development, you inadvertently advertised a feature, and&nbsp;that was not your intention.&nbsp; It happens to all of us, so don&#39;t fret, just recognize it for what it is, and correct it.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.installationdeveloper.com%2F312%2Fthe-difference-between-auto-repair-and-install-on-demand%2F&amp;title=The%20Difference%20Between%20Auto-Repair%20and%20Install-on-Demand&amp;bodytext=%0D%0AIn%20a%20Basic%20MSI%20installation%2C%20it%20sometimes%26nbsp%3Bappears%20to%20a%20person%20that%20an%20auto-repair%20is%20being%20triggered%20during%20an%20installation%2C%20when%20there%20is%20no%20reason%20for%20one%26nbsp%3Bto%20take%20place.%26nbsp%3B%20In%20this%20case%2C%20the%20first%20thing%20you%20must%20do%20is%26nbsp%3Bto%20enable%20" title="Digg"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.installationdeveloper.com%2F312%2Fthe-difference-between-auto-repair-and-install-on-demand%2F&amp;title=The%20Difference%20Between%20Auto-Repair%20and%20Install-on-Demand&amp;notes=%0D%0AIn%20a%20Basic%20MSI%20installation%2C%20it%20sometimes%26nbsp%3Bappears%20to%20a%20person%20that%20an%20auto-repair%20is%20being%20triggered%20during%20an%20installation%2C%20when%20there%20is%20no%20reason%20for%20one%26nbsp%3Bto%20take%20place.%26nbsp%3B%20In%20this%20case%2C%20the%20first%20thing%20you%20must%20do%20is%26nbsp%3Bto%20enable%20" title="del.icio.us"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.installationdeveloper.com%2F312%2Fthe-difference-between-auto-repair-and-install-on-demand%2F&amp;t=The%20Difference%20Between%20Auto-Repair%20and%20Install-on-Demand" title="Facebook"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.installationdeveloper.com%2F312%2Fthe-difference-between-auto-repair-and-install-on-demand%2F&amp;h=The%20Difference%20Between%20Auto-Repair%20and%20Install-on-Demand" title="NewsVine"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.installationdeveloper.com%2F312%2Fthe-difference-between-auto-repair-and-install-on-demand%2F&amp;title=The%20Difference%20Between%20Auto-Repair%20and%20Install-on-Demand" title="Reddit"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.installationdeveloper.com%2F312%2Fthe-difference-between-auto-repair-and-install-on-demand%2F&amp;title=The%20Difference%20Between%20Auto-Repair%20and%20Install-on-Demand" title="StumbleUpon"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.installationdeveloper.com%2F312%2Fthe-difference-between-auto-repair-and-install-on-demand%2F&amp;title=The%20Difference%20Between%20Auto-Repair%20and%20Install-on-Demand&amp;annotation=%0D%0AIn%20a%20Basic%20MSI%20installation%2C%20it%20sometimes%26nbsp%3Bappears%20to%20a%20person%20that%20an%20auto-repair%20is%20being%20triggered%20during%20an%20installation%2C%20when%20there%20is%20no%20reason%20for%20one%26nbsp%3Bto%20take%20place.%26nbsp%3B%20In%20this%20case%2C%20the%20first%20thing%20you%20must%20do%20is%26nbsp%3Bto%20enable%20" title="Google Bookmarks"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.installationdeveloper.com%2F312%2Fthe-difference-between-auto-repair-and-install-on-demand%2F&amp;submitHeadline=The%20Difference%20Between%20Auto-Repair%20and%20Install-on-Demand&amp;submitSummary=%0D%0AIn%20a%20Basic%20MSI%20installation%2C%20it%20sometimes%26nbsp%3Bappears%20to%20a%20person%20that%20an%20auto-repair%20is%20being%20triggered%20during%20an%20installation%2C%20when%20there%20is%20no%20reason%20for%20one%26nbsp%3Bto%20take%20place.%26nbsp%3B%20In%20this%20case%2C%20the%20first%20thing%20you%20must%20do%20is%26nbsp%3Bto%20enable%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=The%20Difference%20Between%20Auto-Repair%20and%20Install-on-Demand%20-%20http%3A%2F%2Fwww.installationdeveloper.com%2F312%2Fthe-difference-between-auto-repair-and-install-on-demand%2F" title="Twitter"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.installationdeveloper.com%2F312%2Fthe-difference-between-auto-repair-and-install-on-demand%2F" title="Technorati"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.installationdeveloper.com%2F312%2Fthe-difference-between-auto-repair-and-install-on-demand%2F&amp;title=The%20Difference%20Between%20Auto-Repair%20and%20Install-on-Demand" title="Live"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.installationdeveloper.com%2F312%2Fthe-difference-between-auto-repair-and-install-on-demand%2F&amp;title=The%20Difference%20Between%20Auto-Repair%20and%20Install-on-Demand&amp;source=Installation+Developer+InstallShield+Training+-+InstallShield+Tutorials&amp;summary=%0D%0AIn%20a%20Basic%20MSI%20installation%2C%20it%20sometimes%26nbsp%3Bappears%20to%20a%20person%20that%20an%20auto-repair%20is%20being%20triggered%20during%20an%20installation%2C%20when%20there%20is%20no%20reason%20for%20one%26nbsp%3Bto%20take%20place.%26nbsp%3B%20In%20this%20case%2C%20the%20first%20thing%20you%20must%20do%20is%26nbsp%3Bto%20enable%20" title="LinkedIn"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.installationdeveloper.com%2F312%2Fthe-difference-between-auto-repair-and-install-on-demand%2F&amp;t=The%20Difference%20Between%20Auto-Repair%20and%20Install-on-Demand" title="MySpace"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.installationdeveloper.com/312/the-difference-between-auto-repair-and-install-on-demand/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
