Solved

Issue installing .NET 3.5

Posted on 2009-07-13
4
1,164 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

685 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