<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>How to avoid OS reboot prompt when installing the .NET Framework 3.5 on Windows Vista</title><link>http://blogs.msdn.com/b/astebner/archive/2007/11/13/6190778.aspx</link><description>Description of the issue 
 When installing the .NET Framework 3.5 or Visual Studio 2008 on Windows Vista RTM, some people have noticed that a Windows Update dialog box pops up to indicate that the system must be restarted in order to complete installation</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How to avoid OS reboot prompt when installing the .NET Framework 3.5 on Windows Vista</title><link>http://blogs.msdn.com/b/astebner/archive/2007/11/13/6190778.aspx#10366195</link><pubDate>Tue, 06 Nov 2012 15:52:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10366195</guid><dc:creator>Aaron Stebner</dc:creator><description>&lt;p&gt;Hi Another puzzled tech - It is possible that the .NET Framework 4 will require a reboot in the way described in this blog post. &amp;nbsp;It is not guaranteed to happen 100% of the time, so you shouldn&amp;#39;t assume that it will certainly show up. &amp;nbsp;However, your installation process should include logic to check the return code from the .NET Framework setup process and prompt the user to reboot if the return code is 3010.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10366195" width="1" height="1"&gt;</description></item><item><title>re: How to avoid OS reboot prompt when installing the .NET Framework 3.5 on Windows Vista</title><link>http://blogs.msdn.com/b/astebner/archive/2007/11/13/6190778.aspx#10366161</link><pubDate>Tue, 06 Nov 2012 14:21:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10366161</guid><dc:creator>Another puzzled tech</dc:creator><description>&lt;p&gt;Hello all, &lt;/p&gt;
&lt;p&gt;Does anyone know if I may run into this same sort of thing installing .NET 4.0 full?&lt;/p&gt;
&lt;p&gt;Should I presume that this will certainly show up if the 4.0 is installed unto a machine that has not even the 3.5 version? &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10366161" width="1" height="1"&gt;</description></item><item><title>re: How to avoid OS reboot prompt when installing the .NET Framework 3.5 on Windows Vista</title><link>http://blogs.msdn.com/b/astebner/archive/2007/11/13/6190778.aspx#10239086</link><pubDate>Mon, 21 Nov 2011 11:41:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10239086</guid><dc:creator>test</dc:creator><description>&lt;p&gt;error when installing vs2008 on vista&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10239086" width="1" height="1"&gt;</description></item><item><title>re: How to avoid OS reboot prompt when installing the .NET Framework 3.5 on Windows Vista</title><link>http://blogs.msdn.com/b/astebner/archive/2007/11/13/6190778.aspx#9010653</link><pubDate>Wed, 22 Oct 2008 05:56:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9010653</guid><dc:creator>Marshall</dc:creator><description>&lt;p&gt;My setup application has to pre-install the .NET Framework 3.5 and ran into the same issue that the reboot prompt dialog shows up. &lt;/p&gt;
&lt;p&gt;Using the IAutomaticUpdates::Pause and IAutomaticUpdates::Resume, the dialog disappears but even worse, it will reboot while my setup application is still running without any warning. &lt;/p&gt;
&lt;p&gt;I called the IAutomaticUpdates::Pause at the first beginning of the setup application and called the IAutomaticUpdates::Resume at the end of the setup application. The rebooting happens before calling the IAutomaticUpdates::Resume. &lt;/p&gt;
&lt;p&gt;Can anyone tell me how to work arround this issue? It has been a testing blocker right now. &lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9010653" width="1" height="1"&gt;</description></item><item><title>re: How to avoid OS reboot prompt when installing the .NET Framework 3.5 on Windows Vista</title><link>http://blogs.msdn.com/b/astebner/archive/2007/11/13/6190778.aspx#7186645</link><pubDate>Mon, 21 Jan 2008 21:34:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7186645</guid><dc:creator>Aaron Stebner</dc:creator><description>&lt;p&gt;Hi Jsn_segal - I discussed this scenario with a few folks who work on the WUA APIs and Automatic Updates here at Microsoft. &amp;nbsp;They indicated that there is not a way to detect that an Automatic Updates download is in progress, but that Automatic Updates will not proceed to the installation phase for an update if Pause was called.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7186645" width="1" height="1"&gt;</description></item><item><title>re: How to avoid OS reboot prompt when installing the .NET Framework 3.5 on Windows Vista</title><link>http://blogs.msdn.com/b/astebner/archive/2007/11/13/6190778.aspx#7113694</link><pubDate>Tue, 15 Jan 2008 03:38:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7113694</guid><dc:creator>Aaron Stebner</dc:creator><description>&lt;p&gt;Hi Jsn_segal - I had expected that the Pause method would prevent Automatic Updates from proceeding to install an update after it got done downloading in this type of scenario. &amp;nbsp;I will try to ask around and see if I can find someone who works with the WUA APIs more closely to see if there are any options for handling that scenario.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7113694" width="1" height="1"&gt;</description></item><item><title>Problem with the Pause/Resume Workaround</title><link>http://blogs.msdn.com/b/astebner/archive/2007/11/13/6190778.aspx#7112484</link><pubDate>Tue, 15 Jan 2008 01:39:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7112484</guid><dc:creator>jsn_segal</dc:creator><description>&lt;p&gt;I've been working on a simple application to implement the WUA Update/Resume workaround for my installer. Here's how it works:&lt;/p&gt;
&lt;p&gt;1. Check for pending reboots. If A reboot is required, alert the user and quit.&lt;/p&gt;
&lt;p&gt;2. Check for WUA installations in progress. If one is in progress, alert the user and quit.&lt;/p&gt;
&lt;p&gt;3. Pause the WUA&lt;/p&gt;
&lt;p&gt;I'm not currently bothering to resume, since this should happen in 8 hours anyway (or the next time the user reboots).&lt;/p&gt;
&lt;p&gt;The problem is that, while the IUpdateInstaller interface's IsBusy property allows me to make sure no WUA installations are running, I don't see any way to determine whether or not a &amp;quot;download and immediately install&amp;quot; cycle is currently in its download phase. This means that if an update is being downloaded when my installer starts, the WUA may begin installing it and interrupt my installer despite all the precautions. &lt;/p&gt;
&lt;p&gt;Is there a way to detect WUA downloads in progress (other than the ones you initiate) or prevent them from installing after the download completes? (I hoped that using Pause would do the latter, but it doesn't seem to.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7112484" width="1" height="1"&gt;</description></item><item><title>Be careful when installing Visual Studio 2008 RTM on your Vista. &amp;laquo; Varely&amp;#8217;s Weblog</title><link>http://blogs.msdn.com/b/astebner/archive/2007/11/13/6190778.aspx#6827228</link><pubDate>Fri, 21 Dec 2007 16:44:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6827228</guid><dc:creator>Be careful when installing Visual Studio 2008 RTM on your Vista. « Varely’s Weblog</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://varely.wordpress.com/2007/12/21/be-careful-when-installing-visual-studio-2008-rtm-on-your-vista/"&gt;http://varely.wordpress.com/2007/12/21/be-careful-when-installing-visual-studio-2008-rtm-on-your-vista/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6827228" width="1" height="1"&gt;</description></item><item><title>re: How to avoid OS reboot prompt when installing the .NET Framework 3.5 on Windows Vista</title><link>http://blogs.msdn.com/b/astebner/archive/2007/11/13/6190778.aspx#6784794</link><pubDate>Mon, 17 Dec 2007 00:58:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6784794</guid><dc:creator>Aaron Stebner</dc:creator><description>&lt;p&gt;Hi Peterchen - I definitely understand the possible user confusion caused by this issue. &amp;nbsp;The worst part is that this issue can affect any application that installs the .NET Framework 3.5, not just developer tools like Visual Studio. &amp;nbsp;I've communicated all of the feedback collected on this blog post to the .NET Framework setup team, but there's not a lot more I can do in the meantime. &amp;nbsp;I'm going to try to work with them to create some sample code to implement the WU pause/resume APIs described above.&lt;/p&gt;
&lt;p&gt;Also, I've experienced this issue on a couple of systems since the time that I posted my original comments about this issue, and it is worse then I initially anticipated because the time it takes to install 2.0 SP1, 3.0 SP1 and 3.5 on Windows Vista RTM can be really long. &amp;nbsp;That makes it more likely that folks will notice the reboot prompt from Windows Update even if they're not actively watching their systems during installation of 3.5. &amp;nbsp;The main piece of good news is that this issue won't affect systems that have Vista SP1, but of course that won't be available for a few more months, plus it doesn't provide a solution for applications that want to only require Vista RTM.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6784794" width="1" height="1"&gt;</description></item><item><title>re: How to avoid OS reboot prompt when installing the .NET Framework 3.5 on Windows Vista</title><link>http://blogs.msdn.com/b/astebner/archive/2007/11/13/6190778.aspx#6780621</link><pubDate>Sun, 16 Dec 2007 03:57:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6780621</guid><dc:creator>peterchen!</dc:creator><description>&lt;p&gt;Aaron,&lt;/p&gt;
&lt;p&gt;with all respect (and kudos for discussing this), I think your assesment is removed from end user reality.&lt;/p&gt;
&lt;p&gt;The typical end user cannot tell apart &amp;quot;Funny Photos Setup&amp;quot; from &amp;quot;Windows Update&amp;quot;. He's installing his new toy, a message pops up to &amp;quot;reboot to finish installing&amp;quot;, and if he does, he's probably screwed. &lt;/p&gt;
&lt;p&gt;The typical support call is &amp;quot;Your software broke my system&amp;quot;, and you will be lucky to figure out that it happened during installation.&lt;/p&gt;
&lt;p&gt;It's a hard job to train end users to actually reboot their system when a setup or Windows Update says &amp;quot;reboot&amp;quot;. That impulse might actually a few hapless helpdesk souls, but next time our user will say &amp;quot;some computer guy told me not to reboot when this comes up&amp;quot;. Some 3rd party vendors will work around by telling their users to deactivate Windows Update. &lt;/p&gt;
&lt;p&gt;Microsoft expects one billion Windows computers next year. This is a component that will be redistributed by aspiring coders that wanted to &amp;quot;creating fun, cool projects that run on Windows&amp;quot; (quote MS web site), not fix installers.&lt;/p&gt;
&lt;p&gt;This is the setup for a system update getting hairy with a system component that is core to security and stability. &lt;/p&gt;
&lt;p&gt;I know these things aren't easy to get right. But if Microsoft doesn't think it's important, why should &amp;quot;we&amp;quot; - 3rd party developers?&lt;/p&gt;
&lt;p&gt;I understand that your position is no official Microsoft statement, and I assume the bug is not your fault. I just wish you understand that there are more than just the technical issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6780621" width="1" height="1"&gt;</description></item></channel></rss>