简体   繁体   English

Windows 安装程序 XML (WiX) 模板

[英]Windows Installer XML (WiX) templates

I want to use WiX for building an install for a software.我想使用 WiX 来构建软件安装。 I have downloaded the last version WiX toolset and have seen the installer of the toolset.我已经下载了最新版本的 WiX 工具集并看到了该工具集的安装程序。 It looks really good (Window Tiles with animations and Icons) and I was wondering if this one has been built with WiX itself too?它看起来非常好(带有动画和图标的窗口瓷砖),我想知道这个是否也是用 WiX 本身构建的? And is it possible to find a website with cool templates to be used?是否有可能找到一个可以使用很酷的模板的网站?

Unfortunately every search in the internet combined with WiX and templates takes me to the Wix Websites building templates.不幸的是,互联网上的每一次搜索都与 WiX 和模板相结合,将我带到了 Wix 网站构建模板。

Indeed, that installer is built with Wix, but the UI is WPF if I am not mistaken.事实上,该安装程序是用 Wix 构建的,但如果我没记错的话,UI 是 WPF。 The EXE installer is a boostrapper which controls the UI ad launches the MSI installation silently in the background. EXE 安装程序是一个 boostrapper,它控制 UI 广告在后台静默启动 MSI 安装。

This is a very detailed article on how to write your own custom bootstrapper:这是一篇关于如何编写自己的自定义引导程序的非常详细的文章:

https://www.wrightfully.com/part-1-of-writing-your-own-net-based-installer-with-wix-overview/ https://www.wrightfully.com/part-1-of-writing-your-own-net-based-installer-with-wix-overview/

The thing is that from my knowledge you will never find such templates for download.问题是,据我所知,您永远找不到这样的模板可供下载。 Usually they are custom designed for a certain installer and when you work so much on a design you don't want to make it easy for others to copy it.通常它们是为某个安装程序定制设计的,当您在设计上工作如此多时,您不想让其他人轻松复制它。

If you are looking for building an installer fast and easy, but also reliable , you need to start looking at commercial software, like our tool Advanced Installer or the rest.如果您正在寻找快速简便且可靠的安装程序,您需要开始查看商业软件,例如我们的工具 Advanced Installer 或其他工具。

I know you will say the price for the Enterprise edition ( the one which includes a drag and drop Dialogs Editor ) is not small, but you must also remember that your time spent on manually writing the installer in Wix and .NET also costs a lot, in many cases much more than you pay for a license ( PS I think that's why we're all using Windows, not Linux, isn't it? Anyway this is another subject, it's better not to get into it. )我知道您会说企业版(包括拖放对话框编辑器的那个)的价格不低,但您还必须记住,您花费在 Wix 和 .NET 中手动编写安装程序的时间也花费了很多,在很多情况下比你为许可证支付的要多得多( PS 我认为这就是为什么我们都使用 Windows,而不是 Linux,不是吗?无论如何这是另一个主题,最好不要进入它。

Here are a few screenshots with some templates from Advanced Installer:以下是一些带有 Advanced Installer 模板的屏幕截图:

在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

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

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