Creating MSI in VS 2012

别来无恙 提交于 2019-12-11 13:56:06

问题


I have a website developed using VS 2012 and created an MSI (Deployment Package) using the "Install Shield Limited Edition Project" available in VS 2012. While i am trying to install this application in a Win 7 system, it is creating a new AppPool as "ASP.NET v4.0 DefaultAppPool" and installing the application with this AppPool.

But if there are any previous application installed in the same system with the application pool as "DefaultAppPool", then my application's AppPool ("ASP.NET v4.0 DefaultAppPool") is getting applied for those previously installed applications (which has "DefaultAppPool" as its application pool) too.

Is there any settings that i am missing while creating the MSI using the Install Shield? Please advise on this


回答1:


If you need flexibility in IIS installation the only serious alternative in my opinion is the open source WIX toolset.

I don't have time to write a proper answer right now, but please try these two earlier posts:

  1. Wix generate single component id for entire tree
  2. Warning in Wix Setup

Also check this post out to get an explanation of why WiX is best for this purpose. And definitely read the section on using dark.exe to decompile an existing MSI to get a WiX source file to start with.



来源:https://stackoverflow.com/questions/24205099/creating-msi-in-vs-2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!