在 WiX 中设置单个文件的 iis:WebDirProperties
我正在使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不可以。目前,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?