<?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; When You Absolutely, Positively, Have to Remove Everything</title>
	<atom:link href="http://www.installationdeveloper.com/641/when-you-absolutely-positively-have-to-remove-everything/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.installationdeveloper.com</link>
	<description>InstallShield Training - InstallShield Tutorials</description>
	<lastBuildDate>Tue, 27 Jul 2010 14:57:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>When You Absolutely, Positively, Have to Remove Everything</title>
		<link>http://www.installationdeveloper.com/641/when-you-absolutely-positively-have-to-remove-everything/</link>
		<comments>http://www.installationdeveloper.com/641/when-you-absolutely-positively-have-to-remove-everything/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 18:53:00 +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=641</guid>
		<description><![CDATA[At times in an InstallScript or InstallScript MSI project, you want to be sure everything is removed on an Uninstall, and I mean everything.  Every last drop of stuff you&#8217;ve installed on the user&#8217;s computer.
To remove features during an Uninstallation, you have several choices: 

FeatureRemoveAll() &#8211; forces the removal of all features that were [...]]]></description>
			<content:encoded><![CDATA[<p>At times in an <strong>InstallScript</strong> or <strong>InstallScript MSI</strong> project, you want to be sure everything is removed on an <strong>Uninstall</strong>, and I mean everything.  Every last drop of stuff you&#8217;ve installed on the user&#8217;s computer.</p>
<p>To remove features during an <strong>Uninstallation</strong>, you have several choices: </p>
<ul>
<li><strong>FeatureRemoveAll()</strong> &#8211; forces the removal of all features that were installed previously.</li>
<li><strong>FeatureRemoveAllInLogOnly()</strong> &#8211; forces the removal of all features that are not in the current media, but were installed previously, as recorded in the setup log file.</li>
<li><strong>FeatureRemoveAllInMedia()</strong> &#8211; forces the removal of all features that are in the current media and were installed previously.</li>
<li><strong>FeatureRemoveAllInMediaAndLog()</strong> &#8211; forces the removal of all features that were installed previously, both those that are in the current media, and those that are not in the current media but are recorded in the setup log file.</li>
</ul>
<p>When you want to remove everything, the best bet is to use <strong>FeatureRemoveAllInMediaAndLog()</strong>.</p>
<p>Now, does this mean you can just rely on the function and not test thoroughly?  No.  You still have to test the uninstallation thoroughly.  Things happen.  You may have missed something.  It happens to all of us and is nothing to be ashamed about.  <strong>Testing is the final word</strong>.</p>
<p>What about when you are given an existing installation you didn&#8217;t create, you&#8217;re told the uninstallation doesn&#8217;t work properly, and told you have to fix it?  In that situation you have to be a detective and go through the project and find the mistakes.  It can take a while and can be very frustrating, but that&#8217;s the only way to solve the problem.  Okay, you could start over, but that is not always an option.  Especially on huge installations that would take a very long time to recreate.</p>
<p>I&#8217;m going to go out on a limb here and say that <strong>you should never have any problems with an uninstall</strong>.  That is <strong>IF</strong> you have set up your <strong>InstallShield</strong> project correctly.  That&#8217;s been my experience.</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%2F641%2Fwhen-you-absolutely-positively-have-to-remove-everything%2F&amp;title=When%20You%20Absolutely%2C%20Positively%2C%20Have%20to%20Remove%20Everything&amp;bodytext=At%20times%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%2C%20you%20want%20to%20be%20sure%20everything%20is%20removed%20on%20an%20Uninstall%2C%20and%20I%20mean%20everything.%20%20Every%20last%20drop%20of%20stuff%20you%27ve%20installed%20on%20the%20user%27s%20computer.%0D%0A%0D%0ATo%20remove%20features%20during%20an%20Uninstalla" 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%2F641%2Fwhen-you-absolutely-positively-have-to-remove-everything%2F&amp;title=When%20You%20Absolutely%2C%20Positively%2C%20Have%20to%20Remove%20Everything&amp;notes=At%20times%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%2C%20you%20want%20to%20be%20sure%20everything%20is%20removed%20on%20an%20Uninstall%2C%20and%20I%20mean%20everything.%20%20Every%20last%20drop%20of%20stuff%20you%27ve%20installed%20on%20the%20user%27s%20computer.%0D%0A%0D%0ATo%20remove%20features%20during%20an%20Uninstalla" 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%2F641%2Fwhen-you-absolutely-positively-have-to-remove-everything%2F&amp;t=When%20You%20Absolutely%2C%20Positively%2C%20Have%20to%20Remove%20Everything" 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%2F641%2Fwhen-you-absolutely-positively-have-to-remove-everything%2F&amp;h=When%20You%20Absolutely%2C%20Positively%2C%20Have%20to%20Remove%20Everything" 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%2F641%2Fwhen-you-absolutely-positively-have-to-remove-everything%2F&amp;title=When%20You%20Absolutely%2C%20Positively%2C%20Have%20to%20Remove%20Everything" 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%2F641%2Fwhen-you-absolutely-positively-have-to-remove-everything%2F&amp;title=When%20You%20Absolutely%2C%20Positively%2C%20Have%20to%20Remove%20Everything" 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%2F641%2Fwhen-you-absolutely-positively-have-to-remove-everything%2F&amp;title=When%20You%20Absolutely%2C%20Positively%2C%20Have%20to%20Remove%20Everything&amp;annotation=At%20times%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%2C%20you%20want%20to%20be%20sure%20everything%20is%20removed%20on%20an%20Uninstall%2C%20and%20I%20mean%20everything.%20%20Every%20last%20drop%20of%20stuff%20you%27ve%20installed%20on%20the%20user%27s%20computer.%0D%0A%0D%0ATo%20remove%20features%20during%20an%20Uninstalla" 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%2F641%2Fwhen-you-absolutely-positively-have-to-remove-everything%2F&amp;submitHeadline=When%20You%20Absolutely%2C%20Positively%2C%20Have%20to%20Remove%20Everything&amp;submitSummary=At%20times%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%2C%20you%20want%20to%20be%20sure%20everything%20is%20removed%20on%20an%20Uninstall%2C%20and%20I%20mean%20everything.%20%20Every%20last%20drop%20of%20stuff%20you%27ve%20installed%20on%20the%20user%27s%20computer.%0D%0A%0D%0ATo%20remove%20features%20during%20an%20Uninstalla&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=When%20You%20Absolutely%2C%20Positively%2C%20Have%20to%20Remove%20Everything%20-%20http%3A%2F%2Fwww.installationdeveloper.com%2F641%2Fwhen-you-absolutely-positively-have-to-remove-everything%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%2F641%2Fwhen-you-absolutely-positively-have-to-remove-everything%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%2F641%2Fwhen-you-absolutely-positively-have-to-remove-everything%2F&amp;title=When%20You%20Absolutely%2C%20Positively%2C%20Have%20to%20Remove%20Everything" 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%2F641%2Fwhen-you-absolutely-positively-have-to-remove-everything%2F&amp;title=When%20You%20Absolutely%2C%20Positively%2C%20Have%20to%20Remove%20Everything&amp;source=Installation+Developer+InstallShield+Training+-+InstallShield+Tutorials&amp;summary=At%20times%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%2C%20you%20want%20to%20be%20sure%20everything%20is%20removed%20on%20an%20Uninstall%2C%20and%20I%20mean%20everything.%20%20Every%20last%20drop%20of%20stuff%20you%27ve%20installed%20on%20the%20user%27s%20computer.%0D%0A%0D%0ATo%20remove%20features%20during%20an%20Uninstalla" 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%2F641%2Fwhen-you-absolutely-positively-have-to-remove-everything%2F&amp;t=When%20You%20Absolutely%2C%20Positively%2C%20Have%20to%20Remove%20Everything" 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/641/when-you-absolutely-positively-have-to-remove-everything/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
