编写 WPF Wix 安装程序

编程入门 行业动态 更新时间:2024-10-22 10:40:31
本文介绍了编写 WPF Wix 安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我为一个产品编写了一个使用 WIX 的安装程序,它使用:

I have written an installer using WIX for a product, which uses:

  • 自定义扩展
  • 自定义操作
  • 自定义用户界面对话框

等等

我注意到 Microsoft Office 安装程序使用 WPF,并在想如何创建这些自定义外观的安装程序?有谁知道我会怎么做,我似乎找不到任何关于它的信息或例子.

I noticed Microsoft Office Installer uses WPF and was wandering how I would go about creating these custom looking installers? does anyone know how i would go about this, I cant seem to find any information on it or examples.

有人告诉我 Wix Burn 可以做我想做的事,但我找不到任何例子.

I have been told Wix Burn can do what I want but I can't find any examples.

推荐答案

在 wixtoolset 下载 WiX 最新(每周)发布源代码/releases 并查看位于 srcSetupWixBA 中的项目.您编写的 WPF 将是引用 WiX 引导程序引擎 (Burn) 的引导程序 UI.

Download the WiX latest (weekly) release source code at wixtoolset/releases and look at the project located in srcSetupWixBA. The WPF you write will be the bootstrapper UI which references the WiX bootstrapper engine (Burn).

我还创建了一个关于此处的博客的最小示例.请注意,这是一个让某人开始的简单示例.使用 WiX 源作为示例会更好,因为它完整且强大.

I also created a minimal example that I blogged about here. Please note that it is a bare bones example to get someone started. Using the WiX source as an example is better because it's complete and robust.

更多推荐

编写 WPF Wix 安装程序

本文发布于:2023-11-12 04:18:15,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580494.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:安装程序   WPF   Wix

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!