[wix-users] Progress without UI Handler

Mark A. Richman mark at markrichman.com
Fri Jan 27 05:04:02 PST 2017


Yes, I am already doing this, but what I'm ultimately after is a % complete.

Thanks,
Mark


On Fri, Jan 27, 2017 at 5:14 AM, James Buchan <
James.Buchan at servelec-synergy.com> wrote:

> The only way I'm aware of, and ever done this, is by checking for the
> existence of the MSIExecute mutex.
> This will only let you know if another install is in progress
> https://msdn.microsoft.com/en-us/library/aa372909(VS.85).aspx
>
> if (Mutex.TryOpenExisting(@"Global\_MSIExecute", out mutexResult))
> {
>         //It exists - something else is currently installing
> }
> else
> {
>         //No installs (at the moment you did this check) are in progress
> }
>
> James Buchan
> Development Engineer
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Mark A. Richman
> Sent: 26 January 2017 21:57
> To: wix-users at lists.wixtoolset.org
> Subject: [wix-users] Progress without UI Handler
>
> Is is possible to "ask" the Windows Installer to report progress on an
> installation already running?
>
> In other words, I know how to get installation progress from installers I
> start myself. What I'm interested in is progress from an instance of an
> installer that might currently be running (not necessarily started by me).
>
> It's my understanding that only one installation can run at a time, so
> there should (theoretically) be a single integer value between 0-100 that
> represents the current install progress, if running.
>
> I was looking for a performance counter but couldn't find anything.
>
> Thanks,
> Mark
>
> --
> *Mark Richman*
> Mark Richman Consulting, Inc.
> *Cloud Application Performance*
> (954) 234-9049 <1-954-234-9049>
> mark at markrichman.com | http://markrichman.com https://linkedin.com/in/
> mrichman
>
> <http://www.markrichman.com>
>
> Sign up for my weekly newsletter <http://www.markrichman.com/subscribe/>
> Schedule a meeting with me <https://calendly.com/mrichman>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list