【问题标题】:Reference to the folder of the current wix-library (wixlib)引用当前wix-library(wixlib)的文件夹
【发布时间】:2013-02-21 10:40:20
【问题描述】:

我如何定义相对于我当前所在的“wix-library”项目的 File/@Source?

如果我使用:

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

然后是“。”指调用“Windows Installer Package”项目的根目录,因此不能使用!

【问题讨论】:

  • 除了接受的答案,您还可以使用 $(var.ProjectDir)\bla

标签: path wix wixlib


【解决方案1】:

变量$(sys.CURRENTDIR)定位到当前目录..:)

&lt;File Id="f1" Source="$(sys.CURRENTDIR)\bla"/&gt;

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-22
    • 1970-01-01
    • 2016-12-14
    • 1970-01-01
    相关资源
    最近更新 更多