Wix - Choice of UI based on property

2020-03-31 17:23发布

问题:

In my Wix application, I want to have 2 different UI. During execution, I want the choice of UI to be done depending of the value of a property. Is it possible to achieve this and how ?

回答1:

Perhaps what you need is to handle the GUI yourself inside your launcher application. This is possible via the MsiSetExternalUI function.

See these previous answers:

  • Is there anyway to get msiexec to echo to stdout instead of logging to a file
  • Uncommon UI layout for Windows installer for Techsmith Snagit
  • How to interactive a silently installing msi? (Progress data and cancel it)

UPDATE: WIX Installer with modern look and feel