I'm trying to access a property in a file component. I have code that
looks like this:

<Property Id="source.dir">
  ..\..\MyFolder
</Property>

<Directory Id='Target.Bin' Name='Bin'>
  <Component Id='Exe' Guid='<my guid>'>
    <File Id='Main.exe' Name='Main.exe' Source='[source.dir]\Main.exe
DiskId='1' Vital='yes'>

, but when I try to compile, I get:

"error LGHT0100 : File of type 'File' with name '[source.dir]\Main.exe'
could not be found.

What am I doing wrong???


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to