I am trying to create a wxi file that will define a binary resource as
shown below.
I want to use ifndef to prevent the binary resource "myresource" from
being multiply defined.
When I include this wxi file in more than one compiled wxs files, I
receive LGHT0091 'duplicate symbols' error in spite of ifndef.
It looks like either 'ifndef' or 'define' are not working as I would
expect them to... any thoughts?
Here is what my wxi file looks like:
<?xml version="1.0" encoding="utf-8"?>
<Include>
<?ifndef MyResourceDefined?>
<Binary Id="myresource" SourceFile="myScriptsFile.vbs"/>
<?define MyResourceDefined = ""?>
<?endif?>
</Include>
Thanks
-chris
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users