Menu

#1331 $(sys.SOURCEFILEPATH) points to wrong file

v3.0
closed
candle (347)
2012-09-15
2008-09-08
ljessen
No

The Preprocessor documentation says that:
$(sys.SOURCEFILEDIR) and $(sys.SOURCEFILEPATH) points to the dir/path of the file currently being processed.
However this is not true. $(sys.SOURCEFILEPATH) and $(sys.SOURCEFILEDIR) points to the path/dir of the .wxs file that is being compiled not the file that is actually being processed (which might be a .wxi file)

Example:

test.wxs:
<wix xmlns="http://schemas.microsoft.com/wix/2006/wi"></wix>

subdir/include1.wxs:
<include></include>

Discussion

  • ljessen

    ljessen - 2008-09-08

    Logged In: YES
    user_id=2208360
    Originator: YES

    Tested with WiX version: 3.0.4429.0

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 15 days (the time period specified by
    the administrator of this Tracker).

     
MongoDB Logo MongoDB