then "." refers" /> then "." refers" /> then "." refers"/>

Reference to the folder of the current wix-library (wixlib)

2.8k views Asked by At

how can I define File/@Source relative to the "wix-library" Project, where I am currently in?

If I use:

<File Id="f1" Source=".\bla"/>

then "." refers to the root of the calling "Windows Installer Package" Project, and for this reason can not be used!

1

There are 1 answers

0
Natalie Carr On BEST ANSWER

The variable $(sys.CURRENTDIR) locates to the current directory..:)

<File Id="f1" Source="$(sys.CURRENTDIR)\bla"/>