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

问题描述

我想创建一个Windows Installer,第一步是要它调用另一个安装程序(将安装我的应用程序的依赖组件),第二步是我要安装自己的应用程序.我想在一个安装过程中完成所有任务,并且手边有从属组件安装包(一个exe文件).

I want to create a Windows Installer, the 1st step I want it to call another installer (will install dependent components of my application), and the 2nd step I want to install my own application. I want to do all tasks in one installation process, and I have the dependent component installation package at hand (an exe file).

有什么好的工具或样品可供参考吗?我更喜欢使用VSTS或Microsoft或开源的易于使用的工具. :-)

Any good tools or samples to refer to? I prefer to use VSTS or Microsoft or open source easy to use tools. :-)

先谢谢了,乔治

推荐答案

您可能想看看 Microsoft Bootstrapper ,假设从属组件是诸如.NET或类似的库,那么它相当简单.

You might want to take a look at the Microsoft Bootstrapper, assuming the dependent components are libraries such as .NET or similar then it's fairly straightforward.

如果您要创建 Windows Installer (MSI)程序包,请查看 Windows Installer XML (WiX).但是您需要了解MSI的工作原理第一.一旦了解了Windows Installer,WiX就会非常简单,但是尝试同时学习这两种方法可能会造成很大的困惑.

If you want to create a Windows Installer (MSI) package then take a look at Windows Installer XML (WiX). But you'll want to get your head around how MSI works first. WiX is really simple once you understand Windows Installer, but trying to learn both at once can be rather confusing.

基本来说,复制一些文件,提取/运行一些东西,键入安装程序,然后 NSIS 是相当简单的脚本您可以在一天左右的时间内拿起它.

For a basic, copy some files, extract/run some stuff, type installer then NSIS is fairly straightforward scripting and you can pick that up in a day or so.

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

08-29 01:02