.NET Framework 4 Install Fails

Got a problem you cannot solve? Try here.
JohnGalt
Posts: 58
Joined: Mon Sep 08, 2008 2:14 pm

.NET Framework 4 Install Fails

Postby JohnGalt » Thu Jul 15, 2010 9:42 am

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.)

JohnGalt
Posts: 58
Joined: Mon Sep 08, 2008 2:14 pm

Re: .NET Framework 4 Install Fails

Postby JohnGalt » Thu Jul 15, 2010 10:55 am

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)

JohnGalt
Posts: 58
Joined: Mon Sep 08, 2008 2:14 pm

Re: .NET Framework 4 Install Fails

Postby JohnGalt » Wed Jul 21, 2010 7:01 am

bump

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: .NET Framework 4 Install Fails

Postby mills » Thu Jul 22, 2010 7:04 pm

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
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

JohnGalt
Posts: 58
Joined: Mon Sep 08, 2008 2:14 pm

Re: .NET Framework 4 Install Fails

Postby JohnGalt » Mon Jul 26, 2010 7:33 am

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.

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: .NET Framework 4 Install Fails

Postby mills » Wed Jul 28, 2010 9:27 pm

Are you using Windows 7 x64?
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

JohnGalt
Posts: 58
Joined: Mon Sep 08, 2008 2:14 pm

Re: .NET Framework 4 Install Fails

Postby JohnGalt » Thu Jul 29, 2010 8:06 am

Yes.

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: .NET Framework 4 Install Fails

Postby mills » Thu Jul 29, 2010 11:37 pm

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.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: .NET Framework 4 Install Fails

Postby mills » Sat Jul 31, 2010 1:21 am

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?
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

JohnGalt
Posts: 58
Joined: Mon Sep 08, 2008 2:14 pm

Re: .NET Framework 4 Install Fails

Postby JohnGalt » Tue Aug 10, 2010 11:49 am

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.

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: .NET Framework 4 Install Fails

Postby mills » Tue Aug 10, 2010 8:15 pm

Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: .NET Framework 4 Install Fails

Postby mills » Wed Aug 11, 2010 4:55 pm

I was able to resolve the message by editing the code from:

old.jpg
old.jpg (107.7 KiB) Viewed 16845 times

to:

new.jpg
new.jpg (122.17 KiB) Viewed 16845 times
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.


Return to “Technical Support”

Who is online

Users browsing this forum: Baidu [Spider] and 35 guests