关于 PermissionEx (WIX) 的问题

发布于 2024-07-21 10:48:25 字数 274 浏览 4 评论 0原文

我是 WIX 新手。 我正在使用 util:PermissionEx 创建 ACL。 我可以成功设置读取、写入、读取和读取等权限。 执行但我无法找到有关设置修改权限的任何信息。

我尝试使用“Append”属性来实现此功能(这似乎是唯一可以实现所需功能的属性)

但是使用这个,会出现以下编译错误: “错误 CNDL0004:util:PermissionEx 元素包含意外属性“Append”。”

你能帮我解决这个问题吗? 谢谢。

I am new to WIX. I am using util:PermissionEx for creating ACLs. I can successfully set rights like read, write, read & execute but I am unable to find any information about setting Modify Permission.

I have tried using "Append" attribute to achieve this functionality (this seems to be the only attribute that may do the desired)

But using this, the following compilation error appears:
"error CNDL0004: The util:PermissionEx element contains an unexpected attribute 'Append'."

Could you please help me out in this. Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

神妖 2024-07-28 10:48:25

我的问题,以及自我回答 WiX 权限,如何用 DACL 标志表达“修改” 可能会以某种方式帮助将简单的修改权限映射到特定权限。

查看文档,Append 属性似乎绝对是允许的 - 您使用的 Wix [3] 版本是什么? 在最新版本中,您应该能够从标签中删除 util: 和 Ex,因为现在似乎已经原生支持这一切。 其他示例还显示了扩展属性,较新版本不接受该属性。

My question, and answer-to-self at WiX Permissions, how do I express 'Modify' in terms of DACL flags may assist in some way in terms of mapping the simple right Modify to specific rights.

Looking at the doc, the Append attribute definitely seems to be permitted - what build of Wix [3] are you using? With the latest version, you should be able to remove util: and Ex from your tag as it all seems to be natiuvely supported now. Other examples also show an Extended attribute, which is not accepted by newer versions.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文