Bugs item #1832500, was opened at 2007-11-15 06:37
Message generated for change (Settings changed) made by pmarcu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1832500&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: candle
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: John Hancock (jhancock93)
>Assigned to: pmarcu (pmarcu)
Summary: Preprocessor: nested include uses wrong directory

Initial Comment:

I’m getting a compile error in a Wix project in the following scenario where a 
.wxi include file included in another .wxi include file isn’t read from a 
location relative to the outside include but instead relative to the file that 
included the outer include file. In other words, I’ve got files that look 
something like the following:

A.wxs
Outer.wxi
Inner.wxi

SubDirectory\B.wxs

A.wxs includes Outer.wxi like:
<?include Outer.wxi ?>
B.wxs includes Outer.wxi like:
<?include ..\Outer.wxi ?>


Outer.wxi includes the line:
<?include Inner.wxi ?>

I get a compile error something like the following:

Error 1     The system cannot find the file 'Inner.wxi ' with type 'include'.   
   D:\MyDirectory\Outer.wxi      11    1     MyProject
 
When processing includes for A.wxs, the compiler is able to find Inner.wxi OK, 
but it cannot for B.wxs because it looks for Inner.wxi in its own folder rather 
than relative to the location where it included Outer.wxi.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1832500&group_id=105970

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to