建立一个安装程序 [英] Build an installer

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

问题描述

我需要为我的应用程序构建一个安装程序(使用Windows Installer技术-MSI文件).此安装程序的要求:1.在安装程序中嵌入组件(例如:.NET Framework 4.0 Full).2.检测该组件的存在.3.如果尚未安装此组件,则安装程序会先安装它.安装程序将显示一个对话框,显示信息正在安装组件...",并且该组件已静默安装.如果用户取消安装该组件,安装程序也会被取消.4.成功安装此组件后,请安装该应用程序.谢谢.

I need to build an installer for my application (using Windows Installer technology - MSI file). Requirements for this installer: 1. Embed component in installer (ex: .NET Framework 4.0 Full). 2. Detect the present of this component. 3. If this component is not installed yet, installer will install it before. Installer will display a dialog with info "Installing the component ..." and the component is installed silent. If user cancel to install this component, the installer is also cancelled. 4. After installing this component successful, install the application. Thanks.

我从以下网站下载Splash Lite: http://mirillis.com/en/downloads/downloads_splash.html .我喜欢此安装程序,因为它符合我的要求.因为我是新手,所以任何人都可以给我一些指导来创建这样的安装程序.谢谢.

I download Splash Lite from website: http://mirillis.com/en/downloads/downloads_splash.html. I like this installer because it matches my requirements. Because I am a newbie, anyone can give me some guides to create an installer like this. Thanks.

一些屏幕截图:

请帮帮我.谢谢.

推荐答案

Visual Studio具有内置的工具和模板.

Visual Studio has the tools and templates built-in.

在您的解决方案中,选择添加新项目",其他项目类型",设置","VS安装程序".

In your solution, choose Add New Project, Other Project Types, Setup, VS Installer.

选择安装向导,然后按照步骤进行操作.

Choose the Setup Wizard and follow the steps.

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

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