Solved

Issue installing .NET 3.5

Posted on 2009-07-13
4
1,169 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

742 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