title: wix - session.message is not showing at time of installation
body: <p>Wix CustomAction [C#] <code>session.Message(Messagebox)</code> is not displayed during installation. </p>
  
  <p>I have a Session.Message added in my custom action, </p>
  
  <pre><code>public static ActionResult DisplayConfirmationMessage(Session session) { 
      Record record = new Record(); 
      record.FormatString = pMessage; 
      Session.Message(InstallMessage.Error 
              | (InstallMessage)System.Windows.Forms.MessageBoxIcon.Warning 
              | (InstallMessage)System.Windows.Forms.MessageBoxButtons.OK, record); 
  }
  </code></pre>
  
  <p>And in wxs file custom action </p>
  
  <pre><code>&lt;CustomAction Id="RestartAction" BinaryKey="CustomActions" DllEntry="DisplayMessage" Execute="immediate" Return="check" /&gt;
  </code></pre>
  
  <p>and in install execute (only one custom action call): </p>
  
  <pre><code>&lt;InstallExecute&gt;
  &lt;Custom Action="RestartAction" After="InstallFinalize"&gt;&lt;/Custom&gt;     
  &lt;/InstallExecute&gt;
  </code></pre>
  
  <p>the message box is displayed only at time of uninstall. But during installation it is getting logged to session.Log.<br>
  I have checked with 'NOT Installed AND NOT REMOVE' still same results. </p>
  
  <p>I am blocked on this, please help.<br>
  Thank you in advance.</p>