Microsoft .NET Framework 4 KB2468871 (Massive Updates)

Forum for anything else which doesn't fit in the above forums. Site feedback, random talk, whatever, are welcome.
Post Reply
cybpsych
Posts: 421
Joined: Wed Jan 12, 2005 2:33 am

Microsoft .NET Framework 4 KB2468871 (Massive Updates)

Post by cybpsych » Tue Jun 07, 2011 8:44 am

Introduce no less than 6 new features and provide fixes for no less than 35 issues!

Read more: http://news.softpedia.com/news/NET-Fram ... 4676.shtml

Code: Select all

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=41bdce1f-3cb3-44bb-9b33-23a1b8c99ac3

http://download.microsoft.com/download/2/B/F/2BF4D7D1-E781-4EE0-9E4F-FDD44A2F8934/NDP40-KB2468871-v2-x86.exe

User avatar
ricktendo64
Posts: 3213
Joined: Mon May 22, 2006 12:27 am
Location: Honduras

Post by ricktendo64 » Tue Jun 07, 2011 10:12 am

Wonder if there is a x64 version

Edit: nm got it (just changed the x86 to x64 in the url)

User avatar
yumeyao
Moderator
Posts: 1718
Joined: Sun Aug 27, 2006 9:24 pm
Location: Taiyuan, Shanxi, PR China

Post by yumeyao » Tue Jun 07, 2011 12:33 pm

when did it update to v2?? Is it identical to v1?


-edit-
Just downloaded it.
It's newer than v1. The download is available on 6/6(as shown in the download info page) but the msp inside is last modified on 4/7.

-edit2-
The link in KB2468871's KB article is not updated and does not work for now.
Image
My work list(Hosted by dumpydooby)

User avatar
yumeyao
Moderator
Posts: 1718
Joined: Sun Aug 27, 2006 9:24 pm
Location: Taiyuan, Shanxi, PR China

Post by yumeyao » Wed Jun 08, 2011 12:08 am

Locally built into my .NET releases.

I'll wait to see whether there are other updates on this patch Tuesday before I update them publicly.
Image
My work list(Hosted by dumpydooby)

RicaNeaga
Posts: 221
Joined: Fri Apr 16, 2010 11:59 am

Post by RicaNeaga » Wed Jun 08, 2011 11:06 am

@yumeyao Great! Can you also please make a switchless installer for an up-to-date x64 version of .net 4 for windows 7, with all the updates? The only working solution out there is this one, but an alternative would be most welcomed.

User avatar
yumeyao
Moderator
Posts: 1718
Joined: Sun Aug 27, 2006 9:24 pm
Location: Taiyuan, Shanxi, PR China

Post by yumeyao » Wed Jun 08, 2011 11:33 am

I have the tutorial on .NET 4.. Anyone can make it easily.
Image
My work list(Hosted by dumpydooby)

ccl0
Posts: 817
Joined: Tue Jan 02, 2007 1:56 am

Post by ccl0 » Thu Jun 09, 2011 3:05 am

does this still slow down xp like it did before?

RicaNeaga
Posts: 221
Joined: Fri Apr 16, 2010 11:59 am

Post by RicaNeaga » Thu Jun 09, 2011 3:43 am

If I'll get a preview link I'll gladly test it before its release, to see whether ngen 4 service still has to be put to manual or not. Or we'll find out in 5 days. :)

And about the tutorial... hope some other member of this forum will make such a switcless instaleer for an up-to-date x64 .net 4 with all the updates. :)

User avatar
user_hidden
Posts: 1924
Joined: Thu Dec 06, 2007 7:52 am
Location: Canada eh!

Post by user_hidden » Thu Jun 09, 2011 7:29 am

RicaNeaga wrote:If I'll get a preview link I'll gladly test it before its release, to see whether ngen 4 service still has to be put to manual or not. Or we'll find out in 5 days. :)

And about the tutorial... hope some other member of this forum will make such a switcless instaleer for an up-to-date x64 .net 4 with all the updates. :)

ngen still has to be placed on Manual for XP.
my updated installer does do the above during install so the
startup and desktop appears normally and not slowed.

RicaNeaga
Posts: 221
Joined: Fri Apr 16, 2010 11:59 am

Post by RicaNeaga » Thu Jun 09, 2011 8:00 am

@user_hidden Then that's that. :) Thanks for the info.

What about an up-to-date version of .net framework for windows 7 x64? Will you have time for it? :)

User avatar
user_hidden
Posts: 1924
Joined: Thu Dec 06, 2007 7:52 am
Location: Canada eh!

Post by user_hidden » Thu Jun 09, 2011 2:45 pm

RicaNeaga wrote:@user_hidden Then that's that. :) Thanks for the info.

What about an up-to-date version of .net framework for windows 7 x64? Will you have time for it? :)

unfortunately i don't do x64 :(
i'm sure in time someone will release one.

User avatar
yumeyao
Moderator
Posts: 1718
Joined: Sun Aug 27, 2006 9:24 pm
Location: Taiyuan, Shanxi, PR China

Post by yumeyao » Thu Jun 09, 2011 2:51 pm

someone pmed me for re-upload my .NET 4 tutorial, claiming he intend to do an automated script for that. Don't know when he will finish and whether he'll support x64.

I'll release a pre-release for test soon.
Image
My work list(Hosted by dumpydooby)

User avatar
dumpydooby
Posts: 530
Joined: Sun Jan 15, 2006 6:09 am

Post by dumpydooby » Thu Jun 09, 2011 6:35 pm

I had thought about making an automated script as well, but it would be a lot of work.

You can host your video on the web space I gave you man. It's not a problem.

User avatar
yumeyao
Moderator
Posts: 1718
Joined: Sun Aug 27, 2006 9:24 pm
Location: Taiyuan, Shanxi, PR China

Post by yumeyao » Fri Jun 10, 2011 3:35 am

A pre-release here. As M$ June 2011 Advanced Security Bulletin claims, a new bundle of .NET Framework updates is available. I'll add them into this pack then.

For the .NET 4 slowing down xp issue, add -fo(only needed when you manually install the installer, already done in the addon) to see what happens.

The download link is:
http://yumeyao.xpdnc.org/DotNetFXAIO_40 ... on_ENU.cab

Changelog:
Updated SFX Module to 1.4.1.2100
.NET 2.0: Added KB2446704-v2, replaces KB983583
.NET 4.0: Added KB2468871-v2(SP1 - v2??) replaces all previous hotfixes
Added the ability to run full pre-compile for .NET 4.


- EDIT -
link updated. see below.
Last edited by yumeyao on Sat Jun 11, 2011 12:20 pm, edited 1 time in total.
Image
My work list(Hosted by dumpydooby)

RicaNeaga
Posts: 221
Joined: Fri Apr 16, 2010 11:59 am

Post by RicaNeaga » Sat Jun 11, 2011 10:57 am

Tried the addon from your link, yumeyao, and I get an error. You can see it here.

tried it via nlite and in a virtual pc environment (win 7 sp1 x64) , but I really don't think it matters, since net from 1.1 to 3.5 installed just fine, as everything else. :)

If you'll have time to upload a fixed pre-release version I'll test that also asap. :)

User avatar
yumeyao
Moderator
Posts: 1718
Joined: Sun Aug 27, 2006 9:24 pm
Location: Taiyuan, Shanxi, PR China

Post by yumeyao » Sat Jun 11, 2011 12:15 pm

http://yumeyao.xpdnc.org/DotNetFXAIO_40 ... on_ENU.cab

Fixed. Actually I was too careless and the whole .net 4 branch is not updated(only msi is updated, but other files are not correct). Thanks for your feedback.
Image
My work list(Hosted by dumpydooby)

RicaNeaga
Posts: 221
Joined: Fri Apr 16, 2010 11:59 am

Post by RicaNeaga » Sat Jun 11, 2011 9:09 pm

Tested it. Everything seems ok, all .net packs are installed as you can see here.

About the state of .ngen 4 service, it's set on automatic, and so the problem is still there. Setting it to manual as usual resolves the problem. I think that slowing down xp is a new feature of .net framework 4 from Microsoft's point of view. unfortunately... :(

Seriously, maybe you should spend time doing anything else then seeing if Microsoft fixed their problem every now and then. I really think they don't care about xp users. And since the solution is harmless (setting that not-vital service to manual) maybe we also shouldn't bother no more. :)

User avatar
yumeyao
Moderator
Posts: 1718
Joined: Sun Aug 27, 2006 9:24 pm
Location: Taiyuan, Shanxi, PR China

Post by yumeyao » Sat Jun 11, 2011 9:36 pm

did some searching, a possible fix here other than turn it to manual:
http://stackoverflow.com/questions/2947 ... mework-4-0

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\NGEN update


This pack, however, uses the old command-line from 2.0, that is ngen executequeueditems, which is useful for .NET 2.0~3.5, but seems not resolving the issue in .NET 4. I'll try using ngen update and see what happens.

- EDIT -
I'll try using following command lines in following releases:
ngen update /queue
ngen executequeueditems
maybe it's possible to add the missing assemblies into msi database but I just don't want to hack the wholething and doing this is much easier.
Image
My work list(Hosted by dumpydooby)

User avatar
mr_smartepants
Posts: 824
Joined: Thu May 18, 2006 5:56 am
Location: Cambridgeshire, UK

Post by mr_smartepants » Sun Jun 12, 2011 2:30 am

The commands I use in my (Win7) batch script are:

Code: Select all

start /wait %windir%\Microsoft.NET\Framework\v4.0.30319\ngen executequeueditems
IF EXIST %SystemRoot%\SysWOW64 start /wait %windir%\Microsoft.NET\Framework64\v4.0.30319\ngen executequeueditems
This spawns a command window that takes about 5 min to finish.
Image
Some heroes don't wear capes, they wear Kevlar and dog-tags!

RicaNeaga
Posts: 221
Joined: Fri Apr 16, 2010 11:59 am

Post by RicaNeaga » Sun Jun 12, 2011 8:40 am

@yumeyao If you want me to test a pre-release with a new solution for the startup slowdown I'll gladly do it. :)

User avatar
user_hidden
Posts: 1924
Joined: Thu Dec 06, 2007 7:52 am
Location: Canada eh!

Post by user_hidden » Sun Jun 12, 2011 9:24 am

what i picked up a long time ago was that this will solve the issue but i haven't noticed a difference.
Windows\Microsoft.NET\Framework\v4.0.30319\ngen update

what i placed in my doNet-AIO was this

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\clr_optimization_v4.0.30319_32]
"Type"=dword:00000010
"Start"=dword:00000003

User avatar
yumeyao
Moderator
Posts: 1718
Joined: Sun Aug 27, 2006 9:24 pm
Location: Taiyuan, Shanxi, PR China

Post by yumeyao » Mon Jun 13, 2011 12:11 am

I used to set it to manual in previous releases, but I'd like to look into it.

@RicaNeaga,
I have done 3 tests. 2 tests on original xp sp3 and installed on the 'live' system, one for only .NET 4, another for full, last one on an updated at T-13. But I can't reproduce the issue. But yes, on a very old system, I have reproduced the issues and when I executed 'ngen update' I could see a lot of images being compiled.

Let me explain my test routine:
install VC 8/9/10 first, then using dotnetfx.exe with -ai and -fo switches.
on a cmd window, type:
cd c:\windows\microsoft.net\framework\v4.0.30319
ngen executequeueditems
ngen update

so could you try typing the commands above and report the displayed messages, and explain whether you have used the -ai and -fo switches, and describe whether you feels the system is slow.

Thanks.
Image
My work list(Hosted by dumpydooby)

User avatar
Outbreaker
Posts: 703
Joined: Tue Aug 21, 2007 8:06 am

Post by Outbreaker » Tue Jun 14, 2011 10:39 am

Setting it to manual i think is the best way to avoid getting the problem agang if a little HotFix for .NET v4 is getting installed.

RicaNeaga
Posts: 221
Joined: Fri Apr 16, 2010 11:59 am

Post by RicaNeaga » Thu Jun 16, 2011 7:14 pm

@yumeyao first of all sorry for beeing late with my answer. i've been rather busy. :(

strangely I tried installing windows xp nlited as usual without the net addon on an intel laptop. after installing your pack with -ai -fo switches, everything is fine, no slowdowns whatsoever, and the service is on automatic.

I'll try it again on my amd system. :)

RicaNeaga
Posts: 221
Joined: Fri Apr 16, 2010 11:59 am

Post by RicaNeaga » Fri Jun 17, 2011 3:14 am

Ok... so now I can draw a conclusion.

Also on my other system the slowdown is not present... Or (to be more accurate) it is but it's not noticeable. A 2-3 seconds slowdown is liveable... in the past the slowdown lasted at least 30 seconds.

Why? Well, although the ngen service is set on automatic, an it starts at windows logon, it immediately stops. Why? This I don't know. :) Maybe it's something Microsoft has done, maybe the -ai -fo arguments has something to do with it. :)

And btw, when I type that command, only the c:\windows\microsoft.net\framework\v4.0.30319 windows opens in full width and then restores down (shrinks down). So there's no message I can report. :)

User avatar
ricktendo64
Posts: 3213
Joined: Mon May 22, 2006 12:27 am
Location: Honduras

Post by ricktendo64 » Fri Jun 17, 2011 10:29 am

I find this stops the slow startup (no need to edit service)

Code: Select all

start /wait %windir%\Microsoft.NET\Framework\v4.0.30319\ngen executequeueditems
If you use the new waitnet execute it with /e

.NET framework 4 integration/editing tutorial for dummies :P http://www.wincert.net/forum/index.php? ... __p__73643

User avatar
user_hidden
Posts: 1924
Joined: Thu Dec 06, 2007 7:52 am
Location: Canada eh!

Post by user_hidden » Fri Jun 17, 2011 3:16 pm

ricktendo64 wrote:I find this stops the slow startup (no need to edit service)

Code: Select all

start /wait %windir%\Microsoft.NET\Framework\v4.0.30319\ngen executequeueditems
If you use the new waitnet execute it with /e
doesn't waitnet.exe with "/e' execute net2 ngen and not net4 ngen ?

User avatar
ricktendo64
Posts: 3213
Joined: Mon May 22, 2006 12:27 am
Location: Honduras

Post by ricktendo64 » Fri Jun 17, 2011 4:55 pm

I thought it did them ALL

User avatar
user_hidden
Posts: 1924
Joined: Thu Dec 06, 2007 7:52 am
Location: Canada eh!

Post by user_hidden » Fri Jun 17, 2011 5:23 pm

nope.....look at the assembly source:

Code: Select all

	szNGEN_PATH db "\Microsoft.NET\Framework\v2.0.50727\ngen.exe",0
	szNGEN_PARAMETER db "executequeueditems",0

User avatar
user_hidden
Posts: 1924
Joined: Thu Dec 06, 2007 7:52 am
Location: Canada eh!

Post by user_hidden » Fri Jun 17, 2011 5:59 pm

@Ricktendo64

i have to run out so i have no time to test.
attached is WAITnet.exe that will execute the net4 ngen instead of the net2 ngen when using /e switch.

based on the Yumeyao version from 20100811

File: WaitNET_ngen4.7z
CRC-32: 8aa86b3b
MD4: 88c698c9064b920238b8e88cb096d13f
MD5: 20973b6afed691bc00d244bab389918e
SHA-1: b5553ec7304836b4199ceda37ebc7947bbe5cb98

let me know ......

User avatar
yumeyao
Moderator
Posts: 1718
Joined: Sun Aug 27, 2006 9:24 pm
Location: Taiyuan, Shanxi, PR China

Post by yumeyao » Fri Jun 17, 2011 8:09 pm

I have already included waitnet4.exe in latest pre-release versions...
Image
My work list(Hosted by dumpydooby)

Post Reply