I can get my status messages to show up just fine for immediate and deferred
custom actions like this:

<ProgressText Action="MyCAName">Performing your custom
action..</ProgressText>

But when I try to do this for my rollback custom actions nothing appears. 
In my UI file I have this line declared for showing the status messages:

<Control Id="ActionText" Type="Text" X="70" Y="100" Width="265" Height="10">
          <Subscribe Event="ActionText" Attribute="Text" />
</Control>

After reading this post:
http://n2.nabble.com/Can-a-CustomAction-provide-text-for-the-Progress-Dialog--td688663.html#a688664

And looking at the msdn documentation referred to in said post I decided to
put this code in my CA:

Record record = new Record(3);
record[1] = "MyCAName";
record[2] = "Description";
record[3] = "Template";

session.Message((InstallMessage)(InstallMessage.ActionData.GetHashCode()
                    |
System.Windows.Forms.MessageBoxButtons.OK.GetHashCode()),
                    record);

But still no luck.  Any thoughts?
-- 
View this message in context: 
http://n2.nabble.com/Showing-Rollback-Status-tp2200632p2200632.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to