Hello everyone! I'm having a problem with a dialog, and I would really 
apreciate some help.
I have modified a dialog in order to add a check box that will launch my 
application after installed, as shown at the Wix Tutorial (lesson 8.6). 
Everything works as expected, except for a visual glitch. The CheckBox 
is not shown until it gets mouse focus! Could this be related to a 
z-order problem? Or maybe a problem related to my show action? How can I 
fix it and make it visible from the start? Here is the dialog code:

      <Dialog Id="ExitDlg" Title="$(loc.IDS_WIZDLG_CAPTION)" X="50" 
Y="50" Width="370" Height="270">
        <Control Id="Finish" Type="PushButton" X="236" Y="243" 
Width="56" Height="17" Text="$(loc.IDS_BTN_FINISH)" Default="yes" 
Cancel="yes">
          <Publish Event="EndDialog" Value="Return">1</Publish>
          <Publish Event="DoAction" Value="RunProgram">(NOT Installed) 
AND (LAUNCHPROGRAM = 1)</Publish>
        </Control>
        <Control Id="LaunchCheckBox" Type="CheckBox" Text="Launch Foobar 
1.0." X="136" Y="126" Height="9" Width="218" Hidden="yes" 
CheckBoxValue="1" Property="LAUNCHPROGRAM">
          <Condition Action="show">NOT Installed</Condition>
        </Control>
        <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" 
Height="234" Text="[DialogBitmap]" Disabled="yes" />
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="373" 
Height="0" Disabled="yes" />
        <Control Id="Cancel" Type="PushButton" X="304" Y="243" 
Width="56" Height="17" Text="$(loc.IDS_BTN_CANCEL)" Disabled="yes" />
        <Control Id="Description" Type="Text" X="135" Y="70" Width="220" 
Height="20" Text="$(loc.IDS_CLICKFINISH)" Transparent="yes" 
NoPrefix="yes" />
        <Control Id="Title" Type="Text" X="135" Y="20" Width="219" 
Height="40" Text="{\TahomaBold13}Completing the [ProductName] [Wizard]" 
Transparent="yes" NoPrefix="yes" />
        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" 
Height="17" Text="$(loc.IDS_BTN_BACK)" Disabled="yes" />
      </Dialog>

Thank you!

K-ballo.-




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to