Link to home
Start Free TrialLog in
Avatar of CBROCK41
CBROCK41

asked on

Issue installing .NET 3.5

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!


Avatar of cclassen
cclassen

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

ASKER CERTIFIED SOLUTION
Avatar of CBROCK41
CBROCK41

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of CBROCK41

ASKER

cclassen:

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