Hello,
I am trying to run SQL script on existing database. I have SqlDatabase element 
that is defined under Fragment element. I also have a Property element that is 
defined in the same Fragment and as value has a Id of the SqlElement. Now, I 
want to use this property as a value for @SqlDb of the SqlScript element. I 
define smth. like:
<sql:SqlScript Id='SqlCreateView' BinaryKey='SqlCreateView' SqlDb="[SQLDB_ID]" 
ExecuteOnInstall='yes' />

where SQLDB_ID is a property id defined as:
<Property Id="SQLDB_ID">SqlDatabase.IntegratedAuthentication</Property>

The compilation results in:
error LGHT0094: Unresolved reference to symbol 'SqlDatabase:[SQLDB_ID]' in 
section 'Fragment:'.

Indeed there is no SqlDatabase element with Id = [SQLDB_ID], but I expected 
from WiX to take a value of the property.
Any advise?

Leonid

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to