在 WPF 中创建自定义安装程序 [英] Creating a custom installer in WPF

查看:51
本文介绍了在 WPF 中创建自定义安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望创建一个基于 Metro 风格 WPF 的安装程序.原因是我想要 UI 组件、过渡等之间的动画.

I'm looking to create a Metro style WPF based Installer. The reason is I want animations between UI components, transitions etc.

所以问题是,解决这个问题的最佳方法是什么,我是否应该只与 windows installer api 或以某种方式与 维克斯?

So the question is, what is the best way to tackle this, Should I just interface with the windows installer api or somehow interface with Wix?

它需要 .NET 框架不会成为问题,因为它也需要运行正在安装的应用程序.所以我只需要一个引导程序来检查或安装.

That it requires the .NET framework wouldn't be an issue, since it would also be required to run the application being installed. So I'll just have a bootstrapper to check for it or install.

我已阅读从 C# 制作我自己的安装程序? 但可以你真的从 WIX 定制了 GUI 的外观和感觉吗?您可以将 Wix 用作某种 API 吗?

I've read Make my own Installer from C#? but can you really customize the look and feel of the GUIs from WIX? Can you use Wix as a sort of API maybe?

推荐答案

WiX 的 Burn 引导程序引擎支持自定义 UI.支持 WPF,如果需要,将安装 .NET.例如,请参阅 Microsoft Visual Studio 11 开发人员预览版.

WiX's Burn bootstrapper engine supports custom UIs. WPF is supported and will install .NET if needed. For example, see the Microsoft Visual Studio 11 Developer Preview.

这篇关于在 WPF 中创建自定义安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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