0

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 ?

Stein Åsmul
  • 39,960
  • 25
  • 91
  • 164
Brainless
  • 1,522
  • 1
  • 16
  • 30
  • You need to explain this better. What are you doing, and why is this needed? – Stein Åsmul Aug 03 '14 at 12:49
  • I've got an msi launched with command line from a bootstrapper application. To launch this msi, the bootstrapper can have an option which is supposed to switch the msi's UI, but the msi's logic stays the same. I could build 2 different msi, but I'm wondering if there is a solution with only 1 msi. HTH – Brainless Aug 04 '14 at 09:44

1 Answers1

2

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:

UPDATE: WIX Installer with modern look and feel

Stein Åsmul
  • 39,960
  • 25
  • 91
  • 164
  • Thank you, there is a lot of things to investigate (I thought it was simpler). Also doing a Bootstrapper with Burn looks appealing. – Brainless Aug 05 '14 at 09:05
  • Things get complicated quickly. You did see the Advanced Installer feature in the link? It features at least some of what you need, though I have never used it for this sort of GUI. – Stein Åsmul Aug 05 '14 at 10:02