The SqlScript must end up under a Component element.  That's what the error 
message is trying to tell you.  To hook the SqlDatabase and SqlScript together 
when they aren't nested you use the SqlScript/@SqlDb attribute 
(http://wix.sourceforge.net/manual-wix2/wix_xsd_sqlscript.htm).

From: Ian Couper [mailto:[EMAIL PROTECTED]
Sent: Monday, January 22, 2007 8:06 AM
To: Rob Mensching
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] error CNDL0079


The WIX manual says that the SqlDatabase tag can be placed under the Product 
tag, so that it simply references a database instead of creating it. The 
SqlScript tag is within the SqlDatabase tag, so right now it isn't inside a 
Component tag. Is there a way of having the SQLscript tag outside the 
SqlDatabase tag and have them reference each other?
________________________________
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Monday, January 22, 2007 11:03 AM
To: Ian Couper; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] error CNDL0079

Did you put the SqlScript element under a Component element?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Couper
Sent: Monday, January 22, 2007 6:40 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] error CNDL0079

I'm getting the following error when trying to use the SqlScript tag...

"SampleWixUI.wxs(42) : error CNDL0079 : The SqlScript element cannot be 
specified unless the element has a component as an ancestor. A SqlScript that 
does not have a component ancestor is not installed."

Does anybody know what I'm doing wrong?

Thanks.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to