When I'm running (multiple) lengthy custom actions, can I update the GUI's status text with some info on the progress?
According to Jonathon Rossi's blog post - yes, you can! But you'll need to tweak your WiX UI for that:
If you have a custom action like:
<CustomAction Id="CA_DevEnv2008Setup" Property="DEVENV2008_EXE_PATH" ExeCommand="/setup" Impersonate="no" Execute="deferred" />
Then a ProgressText element like the following will set the status text while it is running:
<UI> <ProgressText Action="CA_DevEnv2008Setup">Configuring Foo... (this may take a few minutes).</ProgressText> </UI>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With