When I create a custom dialog in WiX, I put elements down in the order "Text" "Edit" "Text" "Edit" et. For example:
<Control Id="NameText" Type="Text" X="25" Y="50" Width="100" Height="10" Text="Enter Name:"/>
<Control Id="NameEdit" Type="Edit" X="25" Y="60" Width="100" Height="15" Text="jo_bob55"/>
<Control Id="AgeText" Type="Text" X="25" Y="80" Width="100" Height="10" Text="Enter Age:"/>
<Control Id="AgeEdit" Type="Edit" X="25" Y="90" Width="100" Height="15" Text="0"/>
<Control Id="ColorText" Type="Text" X="25" Y="110" Width="100" Height="10" Text="Enter your favorite color:"/>
<Control Id="ColorEdit" Type="Edit" X="25" Y="120" Width="100" Height="15" Text="red"/>
However, when I run the installer, and listen to it in Windows Narrator (or look at it with UI Spy), the elements will be in the order
- NameEdit
- AgeEdit
- ColorEdit
- NameText
- AgeText
- ColorText
The secondry problem is that if there is a banner image (let's call it BitmapBanner, text field WiXUI_Bmp_Banner), then all my edit boxes will be listed as "LabledBy" in UI Spy, and Narrator will read "WixUI Bmp Banner Edit, WixUI Bmp Banner Edit" multiple times.
Looking at other MSIs in UI Spy, I don't appear to be the only one having this issue (try the Steam installer language selection screen in UI Spy - guess the flag names).
I guess my question is: can I fix this, or is this a fault in WiX 3.0?