简体   繁体   English

MSI或Install Shield

[英]MSI or Install Shield

We need to create an installer for our application. 我们需要为我们的应用程序创建安装程序。 Currently we are using Install Shield LE that is free with Visual Studio 2010. We require some of the non-free features of Install Shield and were thinking of upgrading to the full version. 目前我们正在使用Visual Studio 2010免费提供的Install Shield LE。我们需要Install Shield的一些非免费功能,并且正在考虑升级到完整版。

However, before we upgrade, we would like to consider other options. 但是,在我们升级之前,我们想考虑其他选择。 From talking with other guys around the office, they mentioned MSI. 通过与办公室周围的其他人交谈,他们提到了MSI。 I am new to the installer world so I was curious if any of you had an opinion on MSI or Install Shield. 我是安装人员的新手,所以如果你们对MSI或Install Shield有任何意见,我很好奇。

Installer Requirments: 安装人员要求:
1. Must support custom actions 1.必须支持自定义操作
2. Must support dialogs 2.必须支持对话框
3. We also need to get info from the user at run time and put that in a config file. 3.我们还需要在运行时从用户处获取信息并将其放入配置文件中。 Not sure how this would be done. 不知道如何做到这一点。 I think Install Shield has Install Script? 我认为Install Shield有安装脚本吗?
4. If it supported multiple languages, that would be a huge bonus 如果它支持多种语言,那将是一个巨大的奖励

Any input would be appreciated. 任何输入将不胜感激。

Thanks 谢谢

InstallShield ( including 2010LE ) does create MSI projects. InstallShield(包括2010LE)确实创建了MSI项目。 I happen to be an expert in both WiX and InstallShield and I use them together. 我碰巧是WiX和InstallShield的专家,我一起使用它们。 If you read my blog you'll find several articles and I am currently working on a presentation that goes into the details. 如果您阅读我的博客,您会找到几篇文章,我目前正在制作详细介绍。

WiX is good but you'll be doing a lot of raw XML and the bootstrapper options are still primitive. WiX很好,但你会做很多原始XML,而bootstrapper选项仍然是原始的。 InstallShield is good at Dialogs and Bootstrappers among other things but not as clean as WiX at others. InstallShield擅长Dialogs和Bootstrappers等,但不像其他人那样干净。 I get the best of both worlds by combining them. 通过组合它,我可以充分利用这两个世界。

BTW 2010LE users can upgrade to Professional for $500 which makes it $1499 instead of $1999. BTW 2010LE用户可以500美元的价格升级到专业版,售价为1499美元而不是1999美元。 At my bill rate that's a couple days worth of work so the ROI on InstallShield is clear to me. 以我的账单价格计算,这需要几天的时间,因此InstallShield的投资回报率对我来说很清楚。 Can I get everything done in Wix? 我可以在Wix中完成所有工作吗? Yes... eventually. 是的......最终。 You mention multilingual support so that will cost more money. 你提到多语言支持,这将花费更多的钱。 :-( :-(

IS2010LE can be made to do custom actions via WiX merge modules. 可以通过WiX合并模块使IS2010LE执行自定义操作。 Try to avoid needing them though. 尽量避免需要它们。

BTW, you won't find yourself using InstallScript much. 顺便说一下,你不会发现自己使用InstallScript了。 IS has built in data driven custom actions for both reading and writing XML ( WiX only has write ) to your config files based on properties set in your UI. IS内置了数据驱动的自定义操作,可根据UI中设置的属性为您的配置文件读取和写入XML(WiX只写入)。

We've been using InstallShield 11 since 2005. We are switching to WiX . 自2005年以来,我们一直在使用InstallShield 11.我们正在转向使用WiX InstallShield has been our #1 customer support headache. InstallShield一直是我们的首要客户支持头疼。 Our FAQs are strewn with arcane tricks to overcome InstallShield deficiencies. 我们的常见问题解答中充斥着神秘的技巧,以克服InstallShield的不足。 InstallShield sometimes doesn't install because some obscure temporary system directory needs to be manually deleted (try explaining that to a consumer). InstallShield有时无法安装,因为需要手动删除一些模糊的临时系统目录(尝试向消费者解释)。 We get cryptic COM 8000XXXX errors with no idea why IS is failing to install. 我们得到了神秘的COM 8000XXXX错误,不知道为什么IS无法安装。

Recently we had a customer who flat out couldn't install one of our products, even after doing all the InstallShield voodoo. 最近我们有一个客户,即使在完成所有InstallShield voodoo后,也无法安装我们的产品。 I re-wrapped the program into an MSI, and presto! 我将程序重新包装成MSI,然后! instant install. 即时安装。

I find the text-based WiX project files much clearer, more manageable than a GUI-based installer. 我发现基于文本的WiX项目文件比基于GUI的安装程序更清晰,更易于管理。 They are clearer and provide better control. 它们更清晰,可以提供更好的控制。

I worked for the company the made installshield for several years teaching classes in it and doing consulting. 我为公司制作了多年的安装屏幕教学课程并进行咨询。 InstallShield is great tool which you can write and install pretty quickly. InstallShield是一款非常棒的工具,您可以快速编写和安装。 Things that will take quite a while in WIX, will be quite quicker. 在WIX中需要花费很长时间的事情会更快。 You want to add third party applications to your project, one click away. 您只需点击一下即可将第三方应用程序添加到项目中。 InstallShield is also much easier to learn. InstallShield也更容易学习。 Now the problem with InstallShield... Development has really changed to shorter life cycles and multiple teams on small pieces of functionality and merging these branches back in to the master branch. 现在,InstallShield ...开发的问题已经真正改变为更短的生命周期和多个团队的小功能,并将这些分支合并回主分支。
Although InstallShield comes in xml format , you really want to edit it through a editor. 尽管InstallShield采用xml格式,但您确实希望通过编辑器对其进行编辑。 Its designed this way as the main goal of InstallShield is to sell you licenses. 它以这种方式设计,因为InstallShield的主要目标是向您出售许可证。 WIX works much better for merging and integrating and is easily broken apart in to re-usable pieces. WIX在合并和集成方面效果更好,并且可以轻松拆分为可重复使用的部分。 Go with Wix... 和Wix一起去......

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

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