在 WiX 中设置单个文件的 iis:WebDirProperties

发布于 2024-09-24 17:56:36 字数 238 浏览 0 评论 0原文

我正在使用 WiX 在 IIS 下部署 Web 应用程序。

我可以使用 iis:WebDirProperties 元素设置 Web 应用程序的不同属性。

但是,我需要将所有 *.asmx 文件安全属性设置为“集成 Windows 身份验证”。 WiX 是否能够设置单个文件的属性?

*注意:该文件分散在不同的目录中。如果所有服务都位于单独的目录中,那就太简单了。

谢谢!

I am using WiX to deploy a web application under IIS.

I have no problems setting the different properties of my Web Application using the iis:WebDirProperties element.

However, I need to set all *.asmx file security attribute to "Integrated Windows Authentication". Does WiX have the ability to set the property of a single file?

*Note: This file is scattered all throughout the different directories. It would have been trivial all the services are in a separate directory.

Thanks!

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

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

发布评论

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

评论(1

微凉徒眸意 2024-10-01 17:56:36

不可以。目前,WiX 工具集无法设置单个文件的权限。但是,您可以对其提出功能请求...甚至可以自己实施修复并将其提交给社区?

No. The WiX toolset does not have the ability to set permissions on individual files today. However, you could open a feature request on it... maybe even implement the fix yourself and submit it to the community?

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