WiX: dynamically changing the status text during CustomAction

Viewed 5176

I have a pretty lengthy CustomAction in a wix installer, and I want to be able to change the 'Status: ...' text while the operation runs, to see that there is progress and update on its internal status. I know how to set the progresstext of a custom action - but what I want is to dynamically change the progress text during the run of the custom action.

3 Answers

The above answer doesn't work for me. The status is never updated.

Directly calling the AddProgressInfo function works in my case.

      Action<Session, string> updateStatusMessage = (session, msg) =>
      {
            session.Message(InstallMessage.ActionStart, new Record("callAddProgressInfo", msg, ""));
      };
Related