I have a Windows Server 2012 R2. When I install a msi, Windows installer gives me a prompt telling that system will restart in 60 seconds. How can I catch which dlls are forcing the machine for reboot? Or how can we provide handle at the folder level to know which dlls are the culprit for force reboot?
I tried this Get-EventLog -Logname System -Newest 1 -Source “USER32” | Format-List
This outputs only about the process, time, username, etc. I want to know the specific dll name behind the issue. How can I do that?
Thanks in advance for your help!
Command Line: In most cases reboots can be prevented by using the appropriate installation command line for
msiexec.exe
- the magic sequence is theREBOOT=ReallySuppress
as illustrated here:Quick parameter explanation
:Logging: In order to determine what happens during an MSI installation, you check the
system's event log
and you enableWindows Installer's own logging mechanism
- which will produce very verbose, but helpful log files once you learn how to interpret them. You can see how to enable logging in the command line above. It is the/L*V "F:\msilog.log"
section. The logging options first, and then the full log file output path./L*V
logs everything (barring some debugging stuff)."value 3"
to find errors in the log.Some Links: