Solved

Issue installing .NET 3.5

Posted on 2009-07-13
4
1,141 Views
Last Modified: 2013-11-08
I am trying to install .NET 3.5 on my Windows XP Pro SP3 laptop, but it fails with the following contents in the error log:

[07/13/09,13:27:21] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[07/13/09,13:29:48] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed.
[07/13/09,13:36:34] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[07/13/09,13:39:02] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed.
[07/13/09,14:07:07] Microsoft .NET Framework 2.0a: [2] Error: Installation failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603
[07/13/09,14:09:43] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed.
[07/13/09,15:59:05] Microsoft .NET Framework 2.0a: [2] Error: Installation failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603
[07/13/09,16:01:12] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed.

I attempted to install .NET 2.0 SP1, but that failed with the following error log contents:

[07/13/09,15:05:35] Microsoft .NET Framework 2.0a: [2] Error: Installation failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603
[07/13/09,15:07:36] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed.

My ultimate goal is to install .NET 3.5, so I started my explanation of the issue (above) in the middle.  The actual course of events was this:

-attempted to install .NET 3.5 using installation file dotNetFx35Setup.exe, which failed
-uninstalled .NET 2.0 SP1 from Add/Remove Programs
-attempted to install .NET 3.5 using installation file dotNetFx35Setup.exe, which failed again
-attempted to install .NET SP1 using installation file NetFx20SP1_x86.exe, which failed with the errors shown above.
-attempted to install .NET 3.5 using installation file dotNetFx35Setup.exe, which failed again, with the errors shown above.

Thank you!


0
Comment
Question by:CBROCK41
  • 2
  • 2
4 Comments
 
LVL 3

Expert Comment

by:cclassen
ID: 24844693
Do you get any messages in the event log after the installation fails?
Not sure, but it may be that your wbem repository is corrupt, or WMI is broken.  

for WBEM repository
stop the winmgmt service
delete all files under c:\windows\system32\wbem\repository
start the winmgmt service

******
to repair WMI, put the below lines in a batch file and run locally.   in the middle, it will pop up a test.   when you get it, click [connect], [connect], then [exit]
rem ****** begin
net stop winmgmt
 
rd /S /Q c:\windows\system32\wbem\repository
c:\windows\system32\regsvr32 /s c:\windows\system32\scecli.dll
c:\windows\system32\regsvr32 /s c:\windows\system32\userenv.dll
c:\windows\system32\wbem\mofcomp c:\windows\system32\wbem\cimwin32.mof
c:\windows\system32\wbem\mofcomp c:\windows\system32\wbem\cimwin32.mfl
c:\windows\system32\wbem\mofcomp c:\windows\system32\wbem\rsop.mof
c:\windows\system32\wbem\mofcomp c:\windows\system32\wbem\rsop.mfl
for /f %%s in ('dir /b /s %windir%\system32\wbem\*.dll') do regsvr32 /s c:\windows\system32\wbem\%%s
for /f %%s in ('dir /b %windir%\system32\wbem\*.mof') do c:\windows\system32\wbem\mofcomp c:\windows\system32\wbem\%%s
for /f %%s in ('dir /b %windir%\system32\wbem\*.mfl') do c:\windows\system32\wbem\mofcomp c:\windows\system32\wbem\%%s
c:\windows\system32\wbem\mofcomp c:\windows\system32\wbem\exwmi.mof
c:\windows\system32\wbem\mofcomp -n:root\cimv2\applications\exchange c:\windows\system32\wbem\wbemcons.mof
c:\windows\system32\wbem\mofcomp -n:root\cimv2\applications\exchange c:\windows\system32\wbem\smtpcons.mof
c:\windows\system32\wbem\mofcomp c:\windows\system32\wbem\exmgmt.mof

net start winmgmt
rem ****** end

0
 

Accepted Solution

by:
CBROCK41 earned 0 total points
ID: 24845006
cclassen:

Thank you for the suggestion, but it was not successful.  Here's what happened:

I carried out your instructions for deleting files in the c:\windows\system32\wbem\repository folder--stopping the winmgmt service before, and starting it after.

Then I retried to install .NET from installation file, which failed.

Eleven errors were recorded in the Aplication Event Viewer:

First, this message sourced from WinMgmnt:
Failed to load MOF C:\WINDOWS\MICROSOFT.NET\FRAMEWORK\V2.0.50727\CLR.MOF while recovering repository file.

Followed by this message from MsiInstaller:
Product: Microsoft .NET Framework 2.0 Service Pack 1 -- Error 25007.Error occurred while initializing fusion. Setup could not load fusion with LoadLibraryShim(). Error: 0x80131702

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Followed by nine additional messages from MsiInstaller that referred to the error file, which I've attached (dd_NET_Framework20_Setup3069.txt).

I carried out your instructions for repairing WMI.  I don't know if it was successful or not, because the test you mentioned never appeared.  Even though the test never appeared, the system was clearly executing the commands in the batch file.  I watched them execute in the command prompt.

Then I tried again to install .NET 3.5 from installation file, which failed.  Here is the error log for this failure:

[07/13/09,13:27:21] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[07/13/09,13:29:48] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed.
[07/13/09,13:36:34] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[07/13/09,13:39:02] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed.
[07/13/09,14:07:07] Microsoft .NET Framework 2.0a: [2] Error: Installation failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603
[07/13/09,14:09:43] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed.
[07/13/09,15:59:05] Microsoft .NET Framework 2.0a: [2] Error: Installation failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603
[07/13/09,16:01:12] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed.
[07/13/09,16:56:45] Microsoft .NET Framework 2.0a: [2] Error: Installation failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603
[07/13/09,16:59:32] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed.
[07/13/09,17:24:44] Microsoft .NET Framework 2.0a: [2] Error: Installation failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603
[07/13/09,17:26:45] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed.



dd-NET-Framework20-Setup3069.txt
0
 
LVL 3

Expert Comment

by:cclassen
ID: 24850511
have you tried uninstalling all prior versions of .net?  
if any are present, try uninstalling them first.   if they won't uninstall, you might need to run microsofts installation cleanup utility to get rid of them before 3.5 will install.
0
 

Author Comment

by:CBROCK41
ID: 24856318
cclassen:

Yes, I uninstalled all versions of .NET successfully before I posted my first question, and  I didn't have any issues.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now