Solved

Issue installing .NET 3.5

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Run time Error 4 47
Automated testing suggestions? 2 45
Get number of Files in Directory and Sub Directories 2 39
RLDC Reporting in Visual studio 11 13
A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

776 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