寻找具有强大脚本语言的灵活Windows Installer产品 [英] Looking for a flexible windows installer product with a powerful scripting language

查看:77
本文介绍了寻找具有强大脚本语言的灵活Windows Installer产品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的公司在过去的几年中一直在使用某个安装程序(其名称与我们所转换的另一种安装程序产品非常相似).最近,我的任务是重新整理安装程序,并充实所有引起各种问题的小错误和极端情况.

The company I work for has been using a certain installer for the past few years (its name is very similar to another installer product from which we switched). I was recently tasked with reworking the installer and fleshing out all the little bugs and edge cases that were causing all kinds of problems.

我发现该产品太过灵活和笨拙,以至于我真的相信如果我们继续使用该产品,我们将永远不会拥有一个出色的抛光安装程序.

I found the product so inflexible and cumbersome that I really believe we will never have a nice polished installer if we continue using this product.

使用的脚本语言非常有限,只能通过其IDE使用(这是一些经过精心设计的文本编辑器,在该编辑器中ENTER键无法执行您认为的应做的工作),并且文件未保存为纯ASCII码格式,但有些自定义乱码.

The scripting language used is very limited and can only be worked with through their IDE (which is some over engineered text editor in which the ENTER key does not do what you think it should) and the files are not saved in pure ASCII format but some custom gibberish.

他们的全部重点是使用他们的设计器,这当然会弄乱脚本中的所有自定义逻辑.

Their entire emphasis is on using their designer, which of course messes up all custom logic in the script.

他们的插件集很难说最好,并且产品本身有很多错误. (不用担心,包装很漂亮)

Their plugin collection is bleak to say the best and the product itself has plenty of bugs. (Don't fear, the packaging is beautiful)

我正在寻找一种安装程序产品,该产品应具有足够强大的脚本语言和工具包(或插件)来处理我们的安装,其中涉及创建Windows服务,Internet下载,IIS站点,SQL Server数据库以及所有其他常用的东西.

I'm looking for a installer product with a powerful enough scripting language and toolkit (or plugins) to handle our installation which involves creating windows services, internet downloads, IIS sites, SQL server databases, and all the other usual stuff.

如果我要的是一件事,那么它是一种功能强大的脚本语言,可以让我掌控一切.它不一定要漂亮或没有设计师.

If it's one thing I ask for, it's a powerful scripting language which lets me be in control. It does not have to be pretty or have a designer.

推荐答案

Windows Installer XML (又名WiX)

它功能强大,没有设计人员提供,所有内容都保存为XML.附带了许多扩展,使您可以执行IIS/SQL任务,否则您可以开发自己的扩展.

It's powerful, it doesn't come with a designer, everything is saved as XML. A bunch of extensions are shipped that enable you to do IIS/SQL stuff, or else you can develop your own.

学习曲线非常陡峭,WiX只是Windows Installer数据库的XML表示形式.如果Windows Installer支持它,则WiX支持它.如果没有,那么您将需要扩展程序或自定义操作.

The learning curve is steep, WiX is just an XML representation of Windows Installer databases. If Windows Installer supports it, WiX supports it. If it doesn't, then you'll need an extension or a custom action.

如果要进入Windows Installer路径,第一步是选择 Phil Wilson撰写的Windows Installer权威指南.了解Windows Installer是使用WiX构建美观,维护良好,设计合理的安装程序的关键.这不是一本简陋的书,这个家伙知道他的东西,并用不到250页的内容来解释一切(包括我跳过阅读的所有.NET东西!).

First steps, if you want to go down the Windows Installer path is to pick up The Definitive Guide to Windows Installer by Phil Wilson. Understanding Windows Installer is key to building a beautiful, well maintained, well designed installer using WiX. This isn't some crappy book, the guy knows his stuff and explains everything in something like under 250 pages (and that includes all the .NET stuff I skipped reading!).

祝你好运:)

这篇关于寻找具有强大脚本语言的灵活Windows Installer产品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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