是否有关于编写软件安装程序的权威文档? [英] Is there any definitive documentation on writing software installers?

查看:18
本文介绍了是否有关于编写软件安装程序的权威文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经阅读了大量关于安装程序的文档,但没有遇到任何可以解释基本概念的好内容.我遇到的大多数安装程序软件都基于相同的数据库"结构,我根本不了解.

I've read a bunch of documentation on installers and haven't come across anything good that explains the underlying concepts. Most of the installer software I've come across is based on the same "database" like structure that I just don't understand at all.

各种产品随附的所有文档(即 WiX、InstallAware、Wise、InstallShield 等)都希望您了解这些基本概念 [我只是不明白],以便了解他们所谈论的内容.

All of the documentation that comes with the various products - i.e. WiX, InstallAware, Wise, InstallShield etc expect that you understand these underlying concepts [which I just don't get] in order to follow what they're talking about.

谁能给我指出解释软件安装程序概念的文档方向,以便软件文档真正有意义?

Can anyone point me in the direction of documentation that explains the concepts of software installers so that the software documentation actually makes sense?

推荐答案

更新 - 从我原来的帖子开始,WiX:Windows Installer XML 开发人员指南 已经发布,也是初学者的好资源.(虽然我自己并不觉得它很棒.)我仍然建议阅读 Windows 安装程序权威指南 作为起点.Windows Installer 和 WiX 不是几天就能学会的,需要几个月的时间.

Update - since my original post, WiX: A Developers Guide to Windows Installer XML has been released and is also a good resource for beginners. (I didn't find it that great myself though.) I still suggest reading The Definitive Guide to Windows Installer as a starting point. Windows Installer and WiX isn't something you just pick up in a few days, it'll take a few months.

去拿一份Windows 权威指南安装程序.我已经不知道我向那些被这些概念所困扰并且正在努力理解 Windows Installer 工作原理的人推荐过多少次了.确保您获取了 Windows安装程序 SDK 也是如此.

Go pick up a copy of The Definitive Guide to Windows Installer. I've lost count of how many times I've recommended it to people who are getting stuck on the concepts and are struggling to understand how Windows Installer works. Make sure you grab the Windows Installer SDK as well.

掌握 Windows Installer 是您学习的第一阶段,一旦掌握,您就会了解 InstallShield 工作(或不工作,视情况而定......).Wise、InstallShield 等试图让您免受底层概念的影响,并拥有自己的技巧/技巧来绕过 Windows Installer 的限制.

Getting to grasp with Windows Installer is the first stage of your learning, once that's sunk in you'll understand how InstallShield works (or doesn't work as the case may be..). Wise, InstallShield, etc try to shield you from the underlying concepts and have their own trickery/hacks to get around the limitations of Windows Installer.

第二阶段(如果您认真了解 Windows Installer)正在学习 WiX(WiX 教程 还不错,虽然它有点过时并且针对 WiX 2.0 而不是3.0 以上)并加入 wix-users 邮件列表.在你读完上面提到的书之前,不要加入用户列表,你会不知所措.那些不了解 Windows Installer 概念的人提出的问题在很大程度上会被忽略,但是完成作业的人提出的问题会发现它是一个很好的资源.

Stage two (if you're serious about understanding Windows Installer) is learning WiX (The WiX Tutorial isn't too bad, although it's a bit out of date and targeted at WiX 2.0 rather than 3.0) and joining the wix-users mailing list. Don't join the users list until you've finished the book mentioned above, you'll be well in over your head. Questions from those who don't understand the Windows Installer concepts largely go ignored, however questions from people who have done their homework will find it a great resource.

本书未涵盖的是 Vista、Robert Flamings 博客条目 了解 UAC 和 Vista(在 Vista 处于测试阶段时编写)是您可以找到的有关该主题的最佳信息.

What's not covered in the book is Vista, Robert Flamings blog entries on Understanding UAC and Vista (written when Vista was in it's beta stage) are the best information you'll find on the topic.

Windows Installer 和 WiX 团队真正擅长的一件事是使文档(帮助文件)保持最新.每当我进行设置时,我通常都会在一台显示器上打开 Wix.chmMsi45.chm ;)

One thing that both the Windows Installer and WiX teams is really good at is keeping the documentation (Help files) up to date. Whenever I'm working on setups I'll generally have Wix.chm and Msi45.chm open on one monitor ;)

除了文档之外,WiX 和 Windows Installer 团队成员的博客非常适合学习新技巧等.这里无法一一列举,但是一旦您了解了术语,您就会发现其中的大部分内容都会出现在谷歌搜索结果.

Along with the documentation, blogs from people on the WiX and Windows Installer teams are great for learning new tricks, etc. Far too many to list here, but once you know the terminology you'll find most of them popping up in google results.

如果这一切看起来太多了,请查看 NSIS.非常适合简单的我只需要复制文件"类型的安装,而不适合企业部署.如果您在两者之间左右为难,那么也许可以看看 Rob Mensching 的旧博客 当设置不仅仅是xcopy.那里的文章可能让我相信,深入了解和学习基本的 Windows Installer 概念从长远来看会有所回报.它有:)

If this all seems too much, then check out NSIS. Great for simple "I just need to copy files" type installations, not so great for enterprise deployments. If you're torn between the two then maybe go take a look at Rob Mensching's old blog when setup isn't just xcopy. Articles there are probably what convinced me that diving in and learning the underlying Windows Installer concepts would pay off in the long run. And it has :)

这篇关于是否有关于编写软件安装程序的权威文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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