Mr R
Mr R

Reputation: 311

Is it possible to add pages dynamically when using WiX

I am currently evaluating installer technology. One of the main tasks I need to complete is to be able to take a number from a user and to repeat a set of pages that number of times.

I can see how to add a new page into WiX but is there anyway to dynamically show pages according to user input - this is not a choice of one flow or another.

Thanks

Upvotes: 1

Views: 144

Answers (1)

Tomasz Grobelny
Tomasz Grobelny

Reputation: 2746

As Wimmel suggested you may want to put a maximum number of dialogs in your installer but then display only some of them depending on user input. If that's not a viable option then maybe you can use external UI handler and write the whole GUI in language of choice. (Hint: I have written a tool called SharpSetup that simplifies the job for C#.)

Upvotes: 1

Related Questions