Domanda

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!

È stato utile?

Soluzione

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

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top