Tuesday, May 3, 2011

How customize the installation dialog of WIX?

How can I customize the text in WIX installation dialog.

The requirement is to have dialog while installing like below:

+-----------------------------------------------------------------+
| Cotoso ABC Product                                              |
+-----------------------------------------------------------------+
|                                                                 |
|     Please wait while the XXXX version of ABC is configured     |
|                                                                 |
|                                                                 |
|                                                 Cancel          |
+-----------------------------------------------------------------+

The title bar has "Cotoso ABC Product" which is the company and product name. The dialog content is int format of "Please wait while {XXXX version} of {Product Name} is configured".

How to accomplish this in WIX?

From stackoverflow
  • You can change the text of the progress bar dialog, and you can change the title.
    Why add a popup?

    Morgan Cheng : Thanks. There is no "add popup". What I mean is after the MSI is launched, there is only one dialog showing the progress. In this case, does ProgressText apply?
    Shay Erlichmen : The ProgressText will be shown in Progress Dialog, you can disable all other dialogs and jump directly to the progress. If you don't want any progress to be shown (which is bad UX IMHO) you will need to create a new dialog, at that case take a look at WixEdit.
  • Including the default progress/error messages will probably accomplish what you require (this stumped me for ages, as it's not very obviously placed in the documentation). Just add:

        <UIRef Id="WixUI_ErrorProgressText" />
    

    As for the title bar, I think this just defaults to the Product/@Name attribute.

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.