Re: [WiX-users] Restart Manager failed to open session

2015-02-13 Thread Sascha Sertel
Yes I stumbled across this when I searched for the error code, and I immediately thought that it might not be an actual timeout but some kind of resource starvation. The machine that exposes this issue is pretty beefy and runs on two latest generation Xeon 6-core processors with 32 GB of RAM, so it

Re: [WiX-users] Restart Manager failed to open session

2015-02-13 Thread Phill Hogland
Did you see this post ? I did a little searching (as a break from what I should be working on), otherwise I have no expertise to share. From what I read ERROR_SEM_TIMEOUT error message and the wording is a hold-over from floppy drive terminology and is

Re: [WiX-users] Restart Manager failed to open session

2015-02-13 Thread Sascha Sertel
Yes I have looked at both the verbose log output from a working vs. the failing machine, and compared any system parameters I could think of, but nothing sticks out as a potential culprit for this. I've been trying to get more info on what possible reasons could make the RestartManager open sessio

Re: [WiX-users] Restart Manager failed to open session

2015-02-13 Thread Jeremiahf
Hi Sascha, Sorry to ask more questions but is some of the info you provided from a verbose log output? Have you done a system comparison between the one machine that had a successful installation vs. the target machine that has the issue? J On Fri, Feb 13, 2015 at 12:53 PM, Sascha Sertel wrote:

Re: [WiX-users] Restart Manager failed to open session

2015-02-13 Thread Sascha Sertel
@Jeremiah: Yes I read pretty much everything on RestartManager that there is to find, but I don't even have any custom restart manager code. I am using my own MBA, but the RestartManager stuff is handled by WiX, I only respond to the file in use notification. However, when the RestartManager fails

Re: [WiX-users] Restart Manager failed to open session

2015-02-13 Thread Phill Hogland
Prior to 3.10.0.1403 (?) if an app is running in a different user context than the setup, (i.e. app running under LocalServices) then the wix RestartManager code in src\libs\dutil\rmutil.cpp (::RmuAddProcessById) failed, which resulted in the setup doing a rollback, because OpenProcessToken did not

Re: [WiX-users] Restart Manager failed to open session

2015-02-12 Thread Jeremiahf
I assume you have read this? https://msdn.microsoft.com/en-us/library/windows/desktop/aa373680(v=vs.85).aspx On Thu, Feb 12, 2015 at 4:43 PM, Sascha Sertel wrote: > My WiX 3.9 installer uses RestartManager to shut down the app if it's still > running before upgrading or uninstalling. That has wo

[WiX-users] Restart Manager failed to open session

2015-02-12 Thread Sascha Sertel
My WiX 3.9 installer uses RestartManager to shut down the app if it's still running before upgrading or uninstalling. That has worked great for me with very few issues. Now I have come across a Windows 7 (Pro, SP1, x64) system on which it consistently fails to shut down the app, every single time.