在VS 2012中创建MSI [英] Creating MSI in VS 2012

查看:294
本文介绍了在VS 2012中创建MSI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用VS 2012开发的网站,并使用VS 2012中提供的Install Shield Limited Edition Project创建了一个MSI(部署包)。当我尝试在Win 7系统中安装此应用程序时,它正在创建一个新的AppPool作为ASP.NET v4.0 DefaultAppPool并使用此AppPool安装该应用程序。

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.

但如果在同一系统中安装了任何先前的应用程序应用程序池为DefaultAppPool,然后我的应用程序的AppPool(ASP.NET v4.0 DefaultAppPool)也应用于以前安装的应用程序(其DefaultAppPool作为其应用程序池)。

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.

使用Install Shield创建MSI时是否有任何设置缺失?请告知这个

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

推荐答案

如果你需要在IIS安装方面有灵活性,我认为唯一认真的选择是开源 WIX工具集

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. 为整个树生成单个组件ID

  2. Wix设置中的警告

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

同时 查看此帖 以获取有关WiX为何最佳的解释以此目的。并且一定要阅读有关使用 dark.exe 来反编译现有MSI以获取WiX源文件的部分。

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.

这篇关于在VS 2012中创建MSI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆