[wix-users] How to update the Progress Bar with appriopriate message - Non C# CustomAction
Phil Wilson
phil.wilson at mvps.org
Tue Apr 12 10:36:54 PDT 2016
There's a more explicit example here:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa367525(v=vs.85).a
spx
Phil W
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of
Phill Hogland
Sent: Tuesday, April 12, 2016 5:52 AM
To: wix-users at lists.wixtoolset.org
Subject: Re: [wix-users] How to update the Progress Bar with appriopriate
message - Non C# CustomAction
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:
<UI>
<ProgressText Action="MyAction" Template="[1]"
>!(loc.MyActionDescription)</ProgressText>
</UI>
In the CA you use
https://msdn.microsoft.com/en-us/library/windows/desktop/aa370354(v=vs.85).a
spx
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!
Regards,
Ravy
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/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant
http://www.firegiant.com/
More information about the wix-users
mailing list