[英]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.