Hi, You are trying to create Launch Condition and refer to Wix documentation to create Launch Condition you Condition element should be child node under Product or Fragment element, so you simply need to remove Component above your Condition.
Igor -----Original Message----- From: Shabbir Ahsan [mailto:shabbir_ah...@hotmail.com] Sent: Tuesday, March 09, 2010 11:03 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] conditions Hi, I am tyring to use a condition to check if a pre-requisite application is installed. The way I am doing it is to set a property with a registry search. I am checking this preperty in a condition, nd want the installation to stop if the registry is not found, and display a message to the user. The problem I am getting is that when I try to compile, I get the error message that the condition element contains an unexpected attribute 'Message'. Where can I put the message? Here is the code: <Component Id='CheckAX' Guid='{ACC8C0B1-B59F-49d2-99F2-7B7F7702C7A8}'> <Condition Message='This application requires Microsoft Dynamics Business Connector to be installed. Please install then run setup again.'> <![CDATA[Installed OR BUSINESSCONNECTOR]]> </Condition> </Component> <Feature Id="ProductFeature" Title="NeuScanSetup" Level="1"> <ComponentRef Id="CheckAX" /> </Feature> Thanks. _________________________________________________________________ We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now http://clk.atdmt.com/UKM/go/195013117/direct/01/ ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users </pre> <BR style="font-size:4px;"> <a href = "http://www.sdl.com"><img src="http://www.sdl.com/images/email logo_150dpi-01.png" alt="www.sdl.com" border="0"/></a> <BR> <font face="arial" size="2" "><a href = "http://www.sdl.com" style="color:005740; font-weight: bold">www.sdl.com</a> <BR> <BR> <font face="arial" size="1" color="#736F6E"> <b>SDL PLC confidential, all rights reserved.</b> If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.<BR> SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207.<BR> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. </font> ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users