Wix - Choice of UI based on property
Asked Answered
D

1

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 ?

Disciple answered 3/8, 2014 at 11:16 Comment(2)
You need to explain this better. What are you doing, and why is this needed?Lynelllynelle
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. HTHDisciple
I
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

Illstarred answered 4/8, 2014 at 9:55 Comment(2)
Thank you, there is a lot of things to investigate (I thought it was simpler). Also doing a Bootstrapper with Burn looks appealing.Disciple
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.Lynelllynelle

© 2022 - 2024 — McMap. All rights reserved.