When I'm running (multiple) lengthy custom actions, can I update the GUI's status text with some info on the progress?
views:
97answers:
2
+1
A:
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>
Hope this helps.
Marc
marc_s
2009-08-17 10:31:26
Thanks. That was exactly what I needed.
Magnus Johansson
2009-08-17 10:47:00
Please post your code and the symptoms of your problem into a new question. This is not the place.
jeffamaphone
2009-11-27 20:46:05