Question

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!

Était-ce utile?

La solution

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

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top