How can I know which program msiexec.exe is trying to install?

5

1

Each time I try to install a program on my computer (running windows 7 RC), a setup.exe dialog pops up:

The Windows Installer service is unavailable. Another application may be rerunning setup. Finish any installations in progress, or restart your computer, and then re-run setup.

I did restart a few times, and there's no ongoing installation I can think of.

If I pop up a task manager, I can indeed see a msiexec.exe process. I can kill it, but it will immediately start again. Is there a way to determine which program is installing and to abort it?

Brann

Posted 2009-08-25T16:02:54.387

Reputation: 1 355

Answers

5

Use Process Explorer. It should tell you what the program is, and also lets you kill it.

John T

Posted 2009-08-25T16:02:54.387

Reputation: 149 037

2

This Microsoft Tool will clean the partially installed programs.

Brann

Posted 2009-08-25T16:02:54.387

Reputation: 1 355

The tool is deprecated now. Microsoft recommends to use Microsoft Fix it (http://support.microsoft.com/mats/Program_Install_and_Uninstall/en) instead. It helped in my case.

– Bobrovsky – 2013-01-19T21:57:14.220

1

One workaround is to kill msiexec.exe right before launching the other setup. Since msiexec.exe starts again by itself, the timeframe is quite tight, but it's definitely feasible...

Only a dirty workaround, though.

Brann

Posted 2009-08-25T16:02:54.387

Reputation: 1 355

0

I would check the windows application event log. MSI installations often show detailed errors inside these log files.

Steve Bauman

Posted 2009-08-25T16:02:54.387

Reputation: 111

0

Dunno if this works on 7 (probably does) but you can turn on MSI logging. My guess is Automatic Updates is stuck.

You usually have to turn on logging to get any information from MSI but there may be a few hints in the event log.

dmoisan

Posted 2009-08-25T16:02:54.387

Reputation: 204