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!

有帮助吗?

解决方案

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

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top