简体   繁体   English

在installshield网站项目中难以更新mime类型

[英]Difficulty updating mime types in installshield web site project

I have a web application that is installed on several client servers. 我有一个安装在多个客户端服务器上的Web应用程序。 The new upgrade of the application requires the addition of two mime types in the virtual directories. 应用程序的新升级要求在虚拟目录中添加两种MIME类型。 This doesn't seem to be working in my installscript (Installshield 2011 pro) project. 这似乎在我的installscript(Installshield 2011 pro)项目中不起作用。

All other aspects of the app update properly. 该应用程序的所有其他方面均会正确更新。

With a clean install of the latest version my app, not upgrade, the mime types insert just fine. 全新安装我的应用程序而不是升级到最新版本,而mime类型插入就很好。

How can I get the mime types added in with an installscript upgrade install? 如何获得通过installscript升级安装添加的mime类型?

What I wound up doing: 我做完的事情:

I wrote the IIS section in C# and brought the resulting Class Library dll into the installscript using the DotNetCoCreateObject command. 我用C#编写了IIS部分,并使用DotNetCoCreateObject命令将生成的类库dll引入了installscript。

I certainly was hoping that Installshield would be able to handle the IIS update. 我当然希望Installshield能够处理IIS更新。 But I wasted a day looking for the method and it wasn't there. 但是我浪费了一天寻找方法,但方法并不存在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM