如何自定义安装程序的用户界面 [英] How to customize an installer's UI

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

问题描述

我正在为我的Windows应用程序构建安装程序,并已通过Visual Studio中的安装程序/安装程序项目完成了此操作.

I am building an installer for my windows app and have done this through a setup/installer project in visual studio.

我想知道如何自定义完成对话框的UI?我想添加几个复选框,并在用户关闭完成框后启动一个应用程序.

I was wondering how to customize he UI of the finish dialog box? I want to add a couple of check-boxes and launch an app after the user closes the finish box.

在Visual Studio本身中是否可以执行此操作,或者是否需要其他任何工具?如果需要其他工具,那么其中的任何工具是免费的吗?

Is there a way to do this in Visual studio itself or does it require any other tools? If other tools are required then are any of them free?

谢谢 卡皮尔

推荐答案

Visual Studio部署项目为您提供了一些标准的模板化对话框.

Visual studio deployment projects give you some standard templated dialog boxes.

如果这些模板都不满足您的要求,则可以创建自己的自定义UI并使用

If none of these templates meet your requirements, you can create your own custom UI and use an installer class to control the workflow.

要在安装结束时启动应用程序,您可能不得不再次覆盖安装程序类中的方法.

To launch an app at end of the installation you would again probably have to override a method in your installer class.

如果这一切看起来都很艰苦,那么一定值得看一下INNO Setup或WIX之类的东西.

If all this seems like hard work, it's certainly worth looking at something like INNO Setup or WIX.

这篇关于如何自定义安装程序的用户界面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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