Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can not install any software on Server 2003

Status
Not open for further replies.

jt463

IS-IT--Management
Nov 23, 2005
134
I am trying to install/repair Office on our server. I keep getting a Visual C++ Runtime Libarary error:

**************
Runtime Error!

Program: C:\Windows\System32\msiexec.exe

This application has requested the runtime to terminate in an unusual way. Please contact the application's support team for more information.
**************

Initially I thought the cause was that I was trying to do this logged in remotely. However, my technician on site is running in to the same issue. I have tried installing Installer 3.1 (won't let me since I have SP1), cleaning temp files, and running the Office Installer cleanup.

This last one gave me an error that there is another program installing and that it wouldn't let me continue. I can't find an install process. I logged all my users off - and still go the error.

Also, I cannot install any windows updates - get the runtime error.

My next step is to reboot in safe mode, keeping anyone from logging on. Hopefully, there would not be an installation running after that, and then I can see if that is the cause.

If anyone has any experience or suggestions with this, I would be grateful.
 
Try this script... I ran into errors installing SQL and several other items on one of my servers and this cleared it right up. It basically cleans up the WMI installation queue's. I know you are getting burps about MSI but WMI is another key portion and it worked great for me.

@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

Chris Clancy, EnCE,CCE
Miles Technologies
 
Thanks Chris.

I figured it out. The solution was two-fold:

1.) Office 2007 hung up due to shared files being locked by other users logged in. SOLUTION: I had to run the Installer Clean Up tool from Microsoft and remove all Office 2007 installer files.
2.) The .NET and MSXML programs were corrupt and had to be repaired.

After that, everything worked.
 
I think the best way to troubleshoot this issue and to find out the cause of the problem is to run "Process Monitor" from Microsoft.

Run it and try again to install your software.Save "process monitor" log and analyse it.

In the log you can see whats going wrong.

Kind regards,
Cengiz Kuskaya

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top