xdumaine
xdumaine

Reputation: 10349

How to make WiX custom setup items selected for install by default?

I have a question about WiX installers

Currently if the user selects Custom Setup, they get this screen. It defaults to having nothing selected to install, but the “Next” button is still enabled. If the user clicks “Next” when nothing is selected, the installation attempts to proceed, but encounters throws and exception. alt text

What I would like is for the top level item to be selected by default (and not allow deselect) or have the next button disabled when nothing is selected. Do you have any suggestions?

By the way, I do have Absent=”disallow” set on the object, so you can’t deselect it once it is selected, but for some reason it is deselected by default. alt text

Thanks,

Upvotes: 0

Views: 553

Answers (1)

Michael Urman
Michael Urman

Reputation: 15905

Check your INSTALLLEVEL property and your feature's Level settings. It sounds like they're currently misconfigured.

Upvotes: 1

Related Questions