WiX installer - Update scenario Custom UI

Posted by iulianchira on Stack Overflow See other posts from Stack Overflow or by iulianchira
Published on 2010-04-06T14:29:34Z Indexed on 2010/04/06 14:33 UTC
Read the original article Hit count: 263

Filed under:
|
|

For my application I have an .msi developed with WiX. For the update scenario I want to do the following:

  • if the installed version is never than the update version display an error

  • if the installed version is older than the update version show a button with text Update

  • if the installed version is the same as the update version show a button with text Repair

I have found how to define custom UI dialogs, but if I create a dialog with all these controls (Error label, Update/Repair buttons) how can I display just the appropriate one according to the situation.

© Stack Overflow or respective owner

Related posts about wix

Related posts about ui