简体   繁体   English

Installshield 2010新的.net 4.0应用程序池还将所有2.0应用程序池也升级到4.0吗?

[英]Installshield 2010 New .net 4.0 App Pool will Upgrade all 2.0 App pools to 4.0 as well?

Im looking into a bug with our installshield 2010 installer. 我正在使用我们的installshield 2010安装程序调查错误。 We're not doing anything complex all it does is: - Create an IIS Virtual Directory under the Default Website - Creates a new .net 4.0 app pool for the new Virtual Directory. 我们并没有做任何复杂的事情:-在默认网站下创建IIS虚拟目录-为新的虚拟目录创建新的.net 4.0应用程序池。

The bug is that if there is any app pools with .net 2.0 framework on the machine being installed to before the running the install, the install will automatically upgrade these to .net 4.0. 问题在于,如果在运行安装之前在计算机上安装了具有.net 2.0框架的应用程序池,安装程序将自动将这些池升级到.net 4.0。 The weird thing is that it wont just upgrade the original 2.0 app pool, it will take a copy of it and place "ASP.NET v4.0 .NET" + old app pool name and than assign the virtual directories that were previously pointing to the 2.0 app pool to the newly created 4.0 app pool. 奇怪的是,它不会升级原始的2.0应用程序池,而是将其复制并放置“ ASP.NET v4.0 .NET” +旧的应用程序池名称,然后分配以前指向的虚拟目录2.0应用程序池到新创建的4.0应用程序池。

This is a problem for a fair few web servers that require their older websites to be running on .NET 2.0 (example it breaks citrix). 对于少数几个要求其旧网站在.NET 2.0上运行的Web服务器来说,这是一个问题(例如,它破坏了citrix)。

Any ideas on why the installer would be doing this? 关于安装程序为什么会这样做的任何想法?

Thanks 谢谢

Ended up getting an answer after a few weeks on the installshield forum. 几周后在installshield论坛上最终得到了答案。

http://community.flexerasoftware.com/showthread.php?199006-Application-Pool-Creation-destroys-Net-applications http://community.flexerasoftware.com/showthread.php?199006-Application-Pool-Creation-destroys-Net-applications

Was because someone had set the .net framework on the website node in installshield. 原因是有人在installshield的网站节点上设置了.net框架。

Try use WIX tollset for installer development. 尝试使用WIX收费集进行安装程序开发。 It gives you more flexibility. 它给您更多的灵活性。 This is a great manual: http://www.codeproject.com/Articles/115036/Creating-WIX-Installer-for-ASP-NET-Web-Application 这是一本很棒的手册: http : //www.codeproject.com/Articles/115036/Creating-WIX-Installer-for-ASP-NET-Web-Application

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

相关问题 升级Web应用程序:.NET 2.0至.NET 4.0 - Upgrading web app: .NET 2.0 to .NET 4.0 我可以托管带有.NET 4.0应用程序池的.NET 2.0运行Web应用程序吗 - Can I Host .NET 2.0 Running Web Application with .NET 4.0 App Pool 调试在.Net 4.0应用程序池下运行的.Net 3.5代码 - Debugging .Net 3.5 code running under a .Net 4.0 App Pool 在具有4.0应用程序池的站点下运行的具有2.0应用程序池的子应用程序 - Child Application with 2.0 App Pool running under a Site with a 4.0 App Pool Dotnet 4.0从2.0升级 - Dotnet 4.0 upgrade from 2.0 将在 VS 2010 ASP.NET 4.0 中创建的 web 应用程序转换为 ASP.NET 3.5 - Convert a web app created in VS 2010 ASP.NET 4.0 to ASP.NET 3.5 如何在只有ASP.net 2.0的服务器上启动ASP.net 4.0应用程序? - How to start ASP.net 4.0 app on server that has only ASP.net 2.0? 在命令行应用程序中将asp.net 4.0转换为excel 2010无法正常工作-即使在安装驱动程序后也找不到驱动程序 - asp.net 4.0 to excel 2010 in command line app not working - drivers not found even after driver install MVC2 .NET 4.0应用程序中的连接字符串加密 - Connectionstring Encryption in MVC2 .NET 4.0 app MVC 2 / ASP.NET 4.0 App无法正常工作 - MVC 2/ASP.NET 4.0 App not working
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM