Solved

Windows Installer - msiexe not starting

Posted on 2011-09-08
12
508 Views
Last Modified: 2013-12-02
We have a brand new Windows Server 2011. Install went fine except now when I try to install a new program I get a Window install error. When I looked in Services I saw the Windows Installer service was in a "starting" mode. I tried to restart. Disabled and then reenable and the tried to start it again. I then stopped the msiserver using the net command at a dos prompt and then unregistered it and then reregistered it all to no availe.

Any thoughts?
 
0
Comment
Question by:nathra
  • 7
  • 2
  • 2
  • +1
12 Comments
 
LVL 11

Expert Comment

by:jimbecher
ID: 36506681
Any errors in the Event Logs with respect to the problem? Event IDs or anything?
0
 

Author Comment

by:nathra
ID: 36506845
Not that I found.

When attempting to start the windows installer in services it comes back with an Error 1053.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
0
 

Author Comment

by:nathra
ID: 36506853
Except a timeout error
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 7

Expert Comment

by:karllangston
ID: 36506856
have you tried reinstalling the windows installer?
0
 
LVL 7

Expert Comment

by:CSI-Windows
ID: 36506878
1053 is the error for trying to start the service manually - what is the error for the attempt to start an MSI package?  It should display on the screen or be in the event log under the source "MSIInstaller"

Please detail what user id you are using to logon and run the MSI package, including what permissions it has and whether you usually get UAC prompts using that user id.

The DisableMSI policy defaults differently on servers, so MSI packages must be started by ELEVATED admins in order to pass MSI group policies.

Quick fix attempt - from an elevated command prompt use this msiexec command line to start the package:

msiexec /i <packagename.msi>

0
 
LVL 7

Expert Comment

by:CSI-Windows
ID: 36506910
Also, if you suspect that the MSI service is having problems then:

1

Get the MSI service into a stopped state - restart if necessary to clear an unknown or stuck state.

2

Turn on MSI debug messages by merging the .REG in this article: http://www.experts-exchange.com/Programming/Installation/A_5177-Installation-Logging-How-To-Create-a-Verbose-Windows-Installer-Log-and-Submit-it-With-Your-Question-Including-MSIs-That-are-INSIDE-Setup-exes.html?sfQueryTermInfo=1+30+log+msi

4

Use debugvw.exe to monitor the debug message queue.

5

Attempt to start a package.

This is NOT the same as just getting a verbose log of an MSI package running, these steps will allow you to see MSIEXEC.EXE's internal messages BEFORE the package even starts up.
0
 
LVL 11

Expert Comment

by:jimbecher
ID: 36506922
That service is dependent on the Remote Procedure Call (RPC) service. Is that RPC service running? I just took a look at my server. The startup on it is Manual. It really doesn't have much to do until you add/remove a program. What is its state at a cold boot and from a cold boot is should not be running. Try starting it after a fresh boot and see if it will start.
0
 

Author Comment

by:nathra
ID: 36506977
Failed to connect to server. Error: 0x8007041D

Which make sense seeing as the server services is not running.
0
 

Author Comment

by:nathra
ID: 36506990
Tried manual start to no avail
0
 

Assisted Solution

by:nathra
nathra earned 0 total points
ID: 36507256
BTW - How do I reinstall the windows installer?
0
 

Accepted Solution

by:
nathra earned 0 total points
ID: 36508635
Because this was a new install, I have chosen to reinstall the software. Seemed quicker and easier.
0
 

Author Closing Comment

by:nathra
ID: 36527994
Reinstalled Software
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
Microsoft has released remote PowerShell capabilities to all commercial Office 365 customers. So you can be controlled via PowerShell and not from the Office 365 admin center Download Windows PowerShell Module for Lync Online http://www.micros…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 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