你怎么做一个非常好的安装程序,如Visual Studio的? [英] How do you make a really nice installer like Visual Studio's?

查看:174
本文介绍了你怎么做一个非常好的安装程序,如Visual Studio的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是什么样的安装程序的Visual Studio中所做的安装程序?他们怎么做出这么漂亮的安装经验?我知道,InstallShield可能会效仿这一点,但它的Visual Studio中使用的InstallShield,还是InstallShield将其复制?

What are installers like the installer for Visual Studio made in? How do they make such a nice installation experience? I know InstallShield can emulate this, but does Visual Studio use InstallShield, or did InstallShield copy it?

推荐答案

的设置对于Microsoft Office 2007(可能2010)是建立在的维克斯)。请注意,这样做的没有的意思是你可以模拟Office 2007的安装程序自己使用的完全的WiX的。

The setup for Microsoft Office 2007 (and probably 2010) was built on top of WiX (source). Note that this does not mean you can emulate the Office 2007 setup yourself using purely WiX.

除了你真正的的 - 微软Office,专为企业部署的Visual Studio或几乎任何其他应用程序依赖的 Windows安装程序技术。您可以使用的Installshield ,的维克斯或各种其他软件产品来实现相同的最终结果。

Aside from what you actually see - Microsoft Office, Visual Studio or any almost any other application designed for Enterprise deployment relies on Windows Installer technology. You can use Installshield, WiX or a variety of other software products to achieve the same end result.

然而注意该办公室时,Visual Studio,以及一大堆其他装置的使用Windows Installer(MSI)的不使用Windows安装程序的用户界面(UX)。一个有关Windows Installer的真棒的事情是,你可以建立自己的外部UI处理程序,以使看得见的东西出现在你想怎样,同时充分利用Windows Installer和MSI幕后(办公室安装和配置大量的MSI软件包,而表现为一个单独的安装过程中的用户)。

HOWEVER note that Office, Visual Studio, and a whole bunch of other installations use Windows Installer (MSI) without using the Windows Installer UI (UX). One of the awesome things about Windows Installer is that you can build your own external UI handler to make the "visible" things appear how you want, while leveraging Windows Installer and MSI behind the scenes (Office installs and configures lots of MSI packages while appearing as a single setup process to the user).

通常你会发展本土code你的设置UX最好有最小的相关性(例如没有管理语言依赖于旧的库如果可能的话,用户可能不会有VS2005 / 2008依赖性,当运行安装程序,第一次如此目标RTM没有SP1)。不幸的是它不是一个简单的向导或库,你可以依靠,这是有效地开发的语言,你可以从头开始一个小的独立应用程序或可能不熟悉(本机code语言开发正变得越来越难发现,管理code更普遍蔓延到配置,因为它是容易)。

Generally you would develop your setup UX in native code ideally with minimal dependencies (e.g. no managed languages and depend on older libraries if possible. Users might not have VS2005/2008 dependencies when running setup for the first time so target RTM not SP1). Unfortunately it's not a simple wizard or a library you can depend on, this is effectively developing a small stand-alone application from scratch in a language you may or may not be familiar with (Native code developers are becoming harder and harder to find, managed code is more commonly creeping into setup because it's "easier").

TL;博士 - 这样的非UI部分是一个解决问题,使用Windows Installer技术(如WiX的)。用户界面将需要定制开发,大概是在本地C ++ code。

这篇关于你怎么做一个非常好的安装程序,如Visual Studio的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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