Page 1 of 1
.NET Framework 4 Install Fails
Posted: Thu Jul 15, 2010 9:42 am
by JohnGalt
HI all.
I can't seem to get .NET Framework 4 x86 to install on Windows XP mode as a pre-req. I get the following error: 0x8007066D
(It doesn't give any detail, although I have the entire log)
Doing a search it looks like this is something about remote desktop, but if I install .net 4 manually it works fine. Anyone have any ideas? (We're just testing our installer, but I'm sure others are going to want to install over remote desktop etc.)
Re: .NET Framework 4 Install Fails
Posted: Thu Jul 15, 2010 10:55 am
by JohnGalt
more specifically it's failing on verifying the file: netfx_core.mzz
And for some reason the install files in the uncompressed install are somewhere within the sql server 2008 r2 directories for some odd reason. (This is with R2 Sp3, I wasn't having this issue in the past)
Re: .NET Framework 4 Install Fails
Posted: Wed Jul 21, 2010 7:01 am
by JohnGalt
bump
Re: .NET Framework 4 Install Fails
Posted: Thu Jul 22, 2010 7:04 pm
by mills
I wasn't able to reproduce this on an XP environment (without Remoting into it).
In my test, I just made a simple installer that all it does is check for .Net 4 and installs it if not present, nothing else.
I'm currently working on getting a remote desktop environment set up to test this with.
Could you explain the remote desktop situation, steps you took? Did you just copy the installer over and run it?
I'm guessing the system you're installing to is running XP SP 3, since .Net 4 should fail if it's not...
You mentioned "If [you] install .net manually, it works fine." Did you manually install it on the remote desktop you are attempting the installation on?
Are you using the option from IA for the included runtimes for .NET 4 or did you write your own custom script to download/install it?
Also, I started looking for other potential solutions. Others are seeing this error on a manual install:
http://social.msdn.microsoft.com/Forums ... 537bf3b755
It sounds like an environmental issue on the installation system.
Is there an AntiVirus corrupting the extracted files? (maybe not likely)
Does Microsoft PowerShell come into the picture at all?
Here's a list of common MSI related resolutions:
http://support.microsoft.com/default.as ... duct=winxp
I noticed a couple of utilities to clean .net and possibly registry. Perhaps this could prove useful (but only promises to clean through .net 3.5):
http://www.brothersoft.com/.net-framewo ... 95299.html
This clean-up utility includes .net 4:
http://blogs.msdn.com/b/astebner/archiv ... 04493.aspx
Re: .NET Framework 4 Install Fails
Posted: Mon Jul 26, 2010 7:33 am
by JohnGalt
I'm running Windows XP mode under Windows 7 for testing.
My installer has sql server 2008 R2 Express also included, and has a condition that installs the right version based on bitness and I've verified that it's trying to run the right version.
If I, on the VM go to microsoft.com and download and install the .net 4 installer, it works just fine and installs without issue. It's only when running through the IA installer that it has issues.
And the other issue is that it seems to be storing the .NET files in the SQL Server 2008 R2 path for the extracted files which is very odd.
Re: .NET Framework 4 Install Fails
Posted: Wed Jul 28, 2010 9:27 pm
by mills
Are you using Windows 7 x64?
Re: .NET Framework 4 Install Fails
Posted: Thu Jul 29, 2010 8:06 am
by JohnGalt
Yes.
Re: .NET Framework 4 Install Fails
Posted: Thu Jul 29, 2010 11:37 pm
by mills
OK. Good. I was having a hard time setting up XP mode on a Windows 7 in VMWare. I'm running Win7 x64 so since we have same/similar environments, I'll try it on my physical machine tomorrow.
Re: .NET Framework 4 Install Fails
Posted: Sat Jul 31, 2010 1:21 am
by mills
Again, I haven't been able to reproduce this; this time in XP Mode...
I tried twice. Once I copied the setup to the XP-mode desktop and ran fine. So, I thought maybe you were running the setup straight from the project's release folder. I ran another setup from there (no copying) and it also succeeded.
What version of IA are you currently running?
Re: .NET Framework 4 Install Fails
Posted: Tue Aug 10, 2010 11:49 am
by JohnGalt
I'm running the latest version.
Please give me an email address where I can send you the file that I've built so that you can tell me what I'm doing wrong.
Re: .NET Framework 4 Install Fails
Posted: Tue Aug 10, 2010 8:15 pm
by mills
Re: .NET Framework 4 Install Fails
Posted: Wed Aug 11, 2010 4:55 pm
by mills
I was able to resolve the message by editing the code from:

- old.jpg (107.7 KiB) Viewed 25506 times
to:

- new.jpg (122.17 KiB) Viewed 25506 times