Вопрос

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