Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
wix属性值作为文件搜索名称_Wix_Burn - Fatal编程技术网

wix属性值作为文件搜索名称

wix属性值作为文件搜索名称,wix,burn,Wix,Burn,我想指定从burn传递的属性值作为搜索文件的名称。但wix似乎不支持这一点。有什么办法克服这个问题吗?提前谢谢 <Property Id="OUTPUT_NAME" Secure="yes" /> <Property Id="UNINSTALL_PATH"> <DirectorySearch Id="UninstallDirSearch" Path="[CommonAppDataFolder]Package Cache" Depth="1"> &

我想指定从burn传递的属性值作为搜索文件的名称。但wix似乎不支持这一点。有什么办法克服这个问题吗?提前谢谢

<Property Id="OUTPUT_NAME" Secure="yes" />

<Property Id="UNINSTALL_PATH">
  <DirectorySearch Id="UninstallDirSearch" Path="[CommonAppDataFolder]Package Cache" Depth="1">
    <FileSearch Name="[OUTPUT_NAME]" />
  </DirectorySearch>
</Property>


您是如何从burn传递它的?@IlirB,正如wix burn文档中提到的那样
,但这不是原因。问题是Filesearch的name属性不能获取属性的值,我不知道如何以其他方式将数据从burn传递到msi:(啊,对了,很棘手。