使用 Wix 撤销卸载权限

发布于 2024-10-08 22:58:54 字数 289 浏览 0 评论 0原文

我使用以下方法为文件夹创建权限:

<Directory>
    <CreateFolder>
          <util:PermissionEx GenericAll="yes" User="user"  Domain="domain" />
    </CreateFolder>
</Directory>

在卸载时为用户撤销权限的更好方法是什么? RemoveFolder 似乎不适用于 util:PermissionEx。

I use the following to create permissions for a folder:

<Directory>
    <CreateFolder>
          <util:PermissionEx GenericAll="yes" User="user"  Domain="domain" />
    </CreateFolder>
</Directory>

What is a preferable way to revoke them for the user on uninstall? RemoveFolder seems not to work with util:PermissionEx.

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

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

发布评论

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

评论(2

灵芸 2024-10-15 22:58:54

如果卸载后不再需要该文件夹,您可以删除该文件夹本身。

If the folder is not required after uninstall, you can delete the folder itself.

Hello爱情风 2024-10-15 22:58:54

我最近遇到了一种情况,服务帐户需要 ASP.NET 临时文件的权限。最好的办法是将帐户与 IIS_IUSERS 组关联起来。该组已拥有 ASP.NET 临时目录和 C:\windows\temp 目录的权限。

I've recently ran into a situation where a service account needed permissions to the ASP.NET temporary files. The best thing to do is associate the account with the IIS_IUSERS group. This group already had permissions on the ASP.NET temp directory and the C:\windows\temp directory.

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