Looks like Type="MaskedEdit" with Integer="yes" is not supported. While Type="Edit" with Integer="yes" works but now how to enforce that user can enter integers only? Thanks.
From: "Bisht, Pradeep" <pradeep_bi...@yahoo.com> To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Sent: Thursday, April 28, 2011 3:49 PM Subject: validating integer input In my following code it is always doing an ascii comparison. How can I do an integer comparision? I tried specifying Interger="Yes" for the Control Id but light gave a warning "warning LGHT1076 : ICE45: .." and later at run time installer failed with an error. Any pointers? Thank you. <Control Id ="NewTableSize" Type="MaskedEdit" X ="145" Y="80" Width="100" Height="14" Property="NEWTABLESIZE" Text="[NewTableSizeTemplate]"> </Control> <Property Id="NewTableSizeTemplate"> <![CDATA[<########>]]> </Property> <Property Id="MAXTABLESIZE" Value="0"/> <Property Id="NEWTABLESIZE" Value="0"/> <!-- above properties are populated from one of the input dialog boxes from user --> <Publish Dialog="TableSizeDlg" Control="Next" Event="SpawnDialog" Value="InvalidTableSizeDlg"> <!-- how to do integer comparison instead of ascii --> <![CDATA[(NEWTABLESIZE < "1") OR (NEWTABLESIZE > MAXTABLESIZE)]]> </Publish> ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users