Hello Everyone,
I thought this would be a trivial condition, but I can't seem to find a winning combination. I have a text control that is located in my WelcomeDlg, I want to display a message to the user when the installation is being ran on Server 2008 or Server 2012. In all other cases this message is not to be displayed. (This needs to work in 32 and 64bit installations) I thought using the VersionNT property I would be able to achieve this, but Server2008 and Windows7 have the same version number. http://msdn.microsoft.com/en-us/library/aa370556(v=vs.85).aspx Also Conditional Statement Syntax doesn't seem to work as expected: http://msdn.microsoft.com/en-us/library/aa368012(v=vs.85).aspx When I use "<" the WIX compiler returns an error. I fully understand that the syntax below is incorrect <Control Id="UserWarning" Type="Text" X="135" Y="135" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="Server Detected" > <Condition Action="show"><![CDATA[NOT Installed AND (VersionNT = 601 OR VersionNT = 601)]]></Condition> <Condition Action="hide">VersionNT <> 601</Condition> </Control> Thanks for the help, Marc ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users