Saturday, 25 February 2012

Solved :Unable to install Office 2010 on windows XP, Windows vista 32 Bit, 64bit and Windows 7 32 Bit, 64 Bit Error : Set up encountered an error needs to be closed.


SOLVED

  • Check for the multiple version
  • If you find multiple version, uninstall it from the Box where you are trying to install Office   from Add & remove Programs in Windows XP machine and Programs and Features in windows vista and Windows 7 machine ( Start > Run > appwiz.cpl)
  • Check if you are able to open system information without any error ( Start > run > MSINFO32)
  • If you are not able to open MSINFO 32 (Error : cannot access the information)
  • Start > Run > Notepad 

Copy and paste the following 

@echo on
cd /d c:\temp
if not exist %windir%\system32\wbem goto TryInstall
cd /d %windir%\system32\wbem
net stop winmgmt
winmgmt /kill
if exist Rep_bak rd Rep_bak /s /q
rename Repository Rep_bak
for %%i in (*.dll) do RegSvr32 -s %%i
for %%i in (*.exe) do call :FixSrv %%i
for %%i in (*.mof,*.mfl) do Mofcomp %%i
net start winmgmt
goto End

:FixSrv
if /I (%1) == (wbemcntl.exe) goto SkipSrv
if /I (%1) == (wbemtest.exe) goto SkipSrv
if /I (%1) == (mofcomp.exe) goto SkipSrv
%1 /RegServer

:SkipSrv
goto End

:TryInstall
if not exist wmicore.exe goto End
wmicore /s
net start winmgmt
:End

When you save the note save the File as Wmireset.bat on the desktop.

Double click on Wmireset.bat, it will open command prompt windows ie you will see a DOS screen with a black background when prompted press "Y" on the keyboard. (This will repair Windows manage instrumentation files on your computer.

If you are able to open MSINFO 32 without any error message
Delete Microsoft Help folder from

C:\ProgramData
C:\Users\Quick Solver\AppData\Local

Disable Print spooler from  : Start > run > services.msc > look for Print spooler > Right Click on print spooler > Properties > Stop the print spooler services > Change the Start up type to Disable.

Restart the computer

Try installing Office.

If this does not fix the issue
Cancel the set up > try install Office > Type the Product key > Accept the Eula > Click on customize > Make One note note available > and install office 

Good luck please feel free to leave your comment.