<?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: Uninstalling a Previous Version from an MSI</title>
	<atom:link href="http://www.developingfor.net/setup-and-deployment/uninstalling-a-previous-version-from-an-msi.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.developingfor.net/setup-and-deployment/uninstalling-a-previous-version-from-an-msi.html</link>
	<description>Real World .NET Methods, Tricks, and Examples</description>
	<lastBuildDate>Fri, 05 Mar 2010 12:57:04 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: kk</title>
		<link>http://www.developingfor.net/setup-and-deployment/uninstalling-a-previous-version-from-an-msi.html/comment-page-1#comment-9954</link>
		<dc:creator>kk</dc:creator>
		<pubDate>Mon, 15 Feb 2010 03:18:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/net-20/uninstalling-a-previous-version-from-an-msi.html#comment-9954</guid>
		<description>From what I read at http://www.simple-talk.com/dotnet/visual-studio/updates-to-setup-projects/, the previous version will be removed only if if the previous version and the current user has the same value for INSTALLALLUSERS.

How do I overcome this?  It is too much asking people to remember whether they installed Just me or Everyone on something they did a couple of years ago.

Thanks</description>
		<content:encoded><![CDATA[<p>From what I read at <a href="http://www.simple-talk.com/dotnet/visual-studio/updates-to-setup-projects/" rel="nofollow">http://www.simple-talk.com/dotnet/visual-studio/updates-to-setup-projects/</a>, the previous version will be removed only if if the previous version and the current user has the same value for INSTALLALLUSERS.</p>
<p>How do I overcome this?  It is too much asking people to remember whether they installed Just me or Everyone on something they did a couple of years ago.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.developingfor.net/setup-and-deployment/uninstalling-a-previous-version-from-an-msi.html/comment-page-1#comment-8556</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Fri, 19 Jun 2009 18:40:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/net-20/uninstalling-a-previous-version-from-an-msi.html#comment-8556</guid>
		<description>Joel,

Thanks for kicking me in the head over the version number thing with msi files uninstall/reinstall.

so GD simple

dc</description>
		<content:encoded><![CDATA[<p>Joel,</p>
<p>Thanks for kicking me in the head over the version number thing with msi files uninstall/reinstall.</p>
<p>so GD simple</p>
<p>dc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.developingfor.net/setup-and-deployment/uninstalling-a-previous-version-from-an-msi.html/comment-page-1#comment-7420</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 19 May 2009 11:40:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/net-20/uninstalling-a-previous-version-from-an-msi.html#comment-7420</guid>
		<description>It was exactly the same with me - I couldn&#039;t be bothered to find out how either - until today! - And you have sussed it out for me - many thanks!</description>
		<content:encoded><![CDATA[<p>It was exactly the same with me &#8211; I couldn&#8217;t be bothered to find out how either &#8211; until today! &#8211; And you have sussed it out for me &#8211; many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Launch condition to uninstall previous version of application &#124; keyongtech</title>
		<link>http://www.developingfor.net/setup-and-deployment/uninstalling-a-previous-version-from-an-msi.html/comment-page-1#comment-3135</link>
		<dc:creator>Launch condition to uninstall previous version of application &#124; keyongtech</dc:creator>
		<pubDate>Sun, 18 Jan 2009 18:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/net-20/uninstalling-a-previous-version-from-an-msi.html#comment-3135</guid>
		<description>[...] it. The previous verison will get uninstalled first. :)   You can see the linkfor explanation here http://www.developingfor.net/setup-a...om-an-msi.html   Regards Amod    &quot;Phil Wilson&quot; wrote:  &gt; I&#039;m not sure what you&#039;re doing looking for [...]</description>
		<content:encoded><![CDATA[<p>[...] it. The previous verison will get uninstalled first. <img src='http://www.developingfor.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />    You can see the linkfor explanation here <a href="http://www.developingfor.net/setup-a...om-an-msi.html" rel="nofollow">http://www.developingfor.net/setup-a&#8230;om-an-msi.html</a>   Regards Amod    &quot;Phil Wilson&quot; wrote:  &gt; I&#8217;m not sure what you&#8217;re doing looking for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frustrateMSI</title>
		<link>http://www.developingfor.net/setup-and-deployment/uninstalling-a-previous-version-from-an-msi.html/comment-page-1#comment-2633</link>
		<dc:creator>frustrateMSI</dc:creator>
		<pubDate>Fri, 12 Dec 2008 04:19:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/net-20/uninstalling-a-previous-version-from-an-msi.html#comment-2633</guid>
		<description>Joel,

Thanks for the reply. Guess the 1.0.0.0 is coming from VS2005. I&#039;ll have to use something like 1.0.8.46 

Even after I use 1.x.x version, the auto uninstall still gives me &#039;Please wait while Windows configures &#039; in Vista. I don&#039;t see it during a regular installation. We have 3 custom actions, to create desktop and quick launch link, to auto launch the product after installation and to auto kill the product during uninstall. Guess they must get in the way. I&#039;ll google more.</description>
		<content:encoded><![CDATA[<p>Joel,</p>
<p>Thanks for the reply. Guess the 1.0.0.0 is coming from VS2005. I&#8217;ll have to use something like 1.0.8.46 </p>
<p>Even after I use 1.x.x version, the auto uninstall still gives me &#8216;Please wait while Windows configures &#8216; in Vista. I don&#8217;t see it during a regular installation. We have 3 custom actions, to create desktop and quick launch link, to auto launch the product after installation and to auto kill the product during uninstall. Guess they must get in the way. I&#8217;ll google more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://www.developingfor.net/setup-and-deployment/uninstalling-a-previous-version-from-an-msi.html/comment-page-1#comment-2626</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Thu, 11 Dec 2008 16:42:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/net-20/uninstalling-a-previous-version-from-an-msi.html#comment-2626</guid>
		<description>I think you may need at least version 1.0.  You might want to change your numbering scheme, like &quot;1.0.8.46&quot; and then when you get to GA, the release number will be whatever it is.  You are still in Version 1, Revision 0, you just have different build numbers.  

I&#039;ve never had a problem with using this approach, and I&#039;ve never seen the &quot;Please wait while Windows configures&quot; message.  Is there anything in your software that might be configuring the first time it executes?</description>
		<content:encoded><![CDATA[<p>I think you may need at least version 1.0.  You might want to change your numbering scheme, like &#8220;1.0.8.46&#8243; and then when you get to GA, the release number will be whatever it is.  You are still in Version 1, Revision 0, you just have different build numbers.  </p>
<p>I&#8217;ve never had a problem with using this approach, and I&#8217;ve never seen the &#8220;Please wait while Windows configures&#8221; message.  Is there anything in your software that might be configuring the first time it executes?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frustrateMSI</title>
		<link>http://www.developingfor.net/setup-and-deployment/uninstalling-a-previous-version-from-an-msi.html/comment-page-1#comment-2624</link>
		<dc:creator>frustrateMSI</dc:creator>
		<pubDate>Thu, 11 Dec 2008 10:24:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/net-20/uninstalling-a-previous-version-from-an-msi.html#comment-2624</guid>
		<description>Sounds quite simple, but I can&#039;t make it work in my project. We are still in Beta. Thus the version is 0.8, 0.9, etc, etc. I set RemovePreviousVersions to True, increase the version number and change the ProductCode. The MSI still just installs itself and leaves two entries in Uninstall list.

Use InstEd to check the MSI. In Upgrade table, I have one record:
UpgradeCode: UpgradeGUID
VersionMin: 1.0.0.0
VersionMax: 0.8.46 (My current version)
...
ActionProperty: PREVIOUSVERSIONSINSTALLED

Does VS2005 always start from 1.0.0.0? I can modify VersionMin to something like 0.8.0. It looks like the old version is uninstalled when I install the new one, but when I launch the exe the first time, I got &quot;Please wait while Windows configures &quot;. What&#039;s the issue here? A supposed simple task turns out nasty. (sigh)</description>
		<content:encoded><![CDATA[<p>Sounds quite simple, but I can&#8217;t make it work in my project. We are still in Beta. Thus the version is 0.8, 0.9, etc, etc. I set RemovePreviousVersions to True, increase the version number and change the ProductCode. The MSI still just installs itself and leaves two entries in Uninstall list.</p>
<p>Use InstEd to check the MSI. In Upgrade table, I have one record:<br />
UpgradeCode: UpgradeGUID<br />
VersionMin: 1.0.0.0<br />
VersionMax: 0.8.46 (My current version)<br />
&#8230;<br />
ActionProperty: PREVIOUSVERSIONSINSTALLED</p>
<p>Does VS2005 always start from 1.0.0.0? I can modify VersionMin to something like 0.8.0. It looks like the old version is uninstalled when I install the new one, but when I launch the exe the first time, I got &#8220;Please wait while Windows configures &#8220;. What&#8217;s the issue here? A supposed simple task turns out nasty. (sigh)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LANdango</title>
		<link>http://www.developingfor.net/setup-and-deployment/uninstalling-a-previous-version-from-an-msi.html/comment-page-1#comment-1012</link>
		<dc:creator>LANdango</dc:creator>
		<pubDate>Tue, 09 Sep 2008 22:33:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/net-20/uninstalling-a-previous-version-from-an-msi.html#comment-1012</guid>
		<description>Inside the Solution Explorer, click on your Setup project and look at the bottom of the properties window. :-)

Hey, thanks to the Author, this helped me.</description>
		<content:encoded><![CDATA[<p>Inside the Solution Explorer, click on your Setup project and look at the bottom of the properties window. <img src='http://www.developingfor.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Hey, thanks to the Author, this helped me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raj</title>
		<link>http://www.developingfor.net/setup-and-deployment/uninstalling-a-previous-version-from-an-msi.html/comment-page-1#comment-581</link>
		<dc:creator>raj</dc:creator>
		<pubDate>Thu, 14 Aug 2008 17:18:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/net-20/uninstalling-a-previous-version-from-an-msi.html#comment-581</guid>
		<description>I am not able to find the version property of my deployment project. I am VS2008 and this is a VC++ COM office add in.</description>
		<content:encoded><![CDATA[<p>I am not able to find the version property of my deployment project. I am VS2008 and this is a VC++ COM office add in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lbsa71 &#187; Uninstalling a Previous Version from an MSI</title>
		<link>http://www.developingfor.net/setup-and-deployment/uninstalling-a-previous-version-from-an-msi.html/comment-page-1#comment-526</link>
		<dc:creator>lbsa71 &#187; Uninstalling a Previous Version from an MSI</dc:creator>
		<pubDate>Wed, 30 Jul 2008 09:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/net-20/uninstalling-a-previous-version-from-an-msi.html#comment-526</guid>
		<description>[...] was absurdly hard to figure out how to auto-uninstall a Previous Version from an MSI, so I&#8217;m just adding a link here in the hope that it will help the world find that link [...]</description>
		<content:encoded><![CDATA[<p>[...] was absurdly hard to figure out how to auto-uninstall a Previous Version from an MSI, so I&#8217;m just adding a link here in the hope that it will help the world find that link [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
