Re: [WiX-users] Windows Updates - either pending or running causes our installs to fail

2015-01-22 Thread StevenOgilvie
thanks David, I am using this to check whether updates are running or reboot required so my installer won't crap out I am thinking I might need to add another check to see if another installer is running (MSI not an update) m = Mutex::OpenExisting( mutexName ); where mutexName would be:

Re: [WiX-users] Windows Updates - either pending or running causes our installs to fail

2014-12-12 Thread Phil Wilson
There is a Windows Update Agent API. The IUpdateInstaller interface has an IsBusy property that seems to indicate that an update is in progress. This fragment of C++ may be a start. It seems to work in the sense that it tells me not busy :) but is otherwise untested. #include stdafx.h #include

Re: [WiX-users] Windows Updates - either pending or running causes our installs to fail

2014-12-12 Thread David Connet
- Original Message - From: Phil Wilson phildgwil...@gmail.com To: General discussion about the WiX toolset. wix-users@lists.sourceforge.net Cc: Sent: Friday, December 12, 2014 11:30 AM Subject: Re: [WiX-users] Windows Updates - either pending or running causes our installs

[WiX-users] Windows Updates - either pending or running causes our installs to fail

2014-12-11 Thread TimM
Does anyone know of a way we can detect if there are pending Windows Updates or currently running Windows Updates?We have seen this issue quite a lot where we have 32 bit assemblies within our installs that get installed and then published near the end of the install. But if there are pending