有关PermissionEx(WIX)的问题 [英] Question regarding PermissionEx (WIX)

查看:82
本文介绍了有关PermissionEx(WIX)的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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)

但是使用此命令,将出现以下编译错误: 错误CNDL0004:util:PermissionEx元素包含意外的属性'Append'."

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

请您帮我一下.谢谢.

推荐答案

我的问题,并在可能在某种程度上有助于映射简单权限修改为特定权限.

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.

看文档,似乎可以使用Append属性-您使用的是哪种Wix [3]版本?使用最新版本,您应该能够从标记中删除util:和Ex,因为现在似乎已经天生支持这一切.其他示例还显示了Extended属性,新版本不接受该属性.

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.

这篇关于有关PermissionEx(WIX)的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆