Search code examples
wixwindows-installer

hide textboxes on checkbox checked in WiX


Is it possible to hide textboxes on checkbox checked in WiX?


Solution

  • Thanks for your comments, the first comment helped me. It is done like this:

    <Control Id="LoginTextBox" Type="Edit" Text="CM2" Height="17" Width="200" X="150" Y="198" Property="Login">
        <Condition Action="hide" >CreateDBUsers&lt;&gt;1</Condition>
        <Condition Action="show" >CreateDBUsers=1</Condition>
    </Control>