[wix-users] How to update the Progress Bar with appriopriate message - Non C# CustomAction

Phill Hogland phill.hogland at rimage.com
Tue Apr 12 05:51:31 PDT 2016

I use C++ CAs so I don't know anything about using batch files or scripts.  You can look at the wix source code fro examples of doing this.

In my fragment that defines my say I add a ProgressText/@Template like this:
      <ProgressText Action="MyAction" Template="[1]" >!(loc.MyActionDescription)</ProgressText>

In the CA you use https://msdn.microsoft.com/en-us/library/windows/desktop/aa370354(v=vs.85).aspx

In a wix C++ CA I first call  er = WcaProcessMessage(INSTALLMESSAGE_ACTIONSTART, hRec);
with a record that initializes the ActionText template, and then in the loop that has changing data call
er = WcaProcessMessage(INSTALLMESSAGE_ACTIONDATA, hRec);
with a record that reflects the updated data.

From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Venkatesan, Ravikumar <Ravikumar.Venkatesan at scientificgames.com>
Sent: Tuesday, April 12, 2016 2:44 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] How to update the Progress Bar with appriopriate message - Non C# CustomAction

Hi All,

                I am using a lot of Non-C# Custom Actions[deferred] in my Installer project. By default, the progress bar is not displaying any message while these CAs are executed. I want some appropriate message to be displayed while these CAs are getting processed. How do I achieve it?

                FYI, I use these Custom Actions to call some batch files which in turn will execute the DB scripts.

                Any help/guidance would be much appreciated. Thank you!


Ravikumar Venkatesan | Lead Analyst | Bally Technologies India Private Limited<http://www.ballytech.com>   | (M) +91 98 8436 0607

May be privileged. May be confidential. Please delete if not the addressee.
Venkatesan Venkatesan

WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list