简体   繁体   English

如何使用VS 2010在Setup Project的.msi输出文件中添加必备安装?

[英]How to add prerequisite installation in the .msi output file of Setup Project using VS 2010?

I am a newbie in creating the setup projects and I have created a "myfirstSetup" project. 我是创建安装项目的新手,并且创建了“ myfirstSetup”项目。 Its working good, but it has a dependency or I should say a prerequisite to be installed before its installation. 它的工作正常,但是有依赖性,或者我应该说在安装之前先安装的先决条件。 I want that prerequisite to be installed during my project installation. 我希望在项目安装期间安装该先决条件。

Till now I have done following things : 到目前为止,我已完成以下操作:

1.) Added the prerequisite by going myfirstSetup Properties 2.) Select the prerequisite 3.) Check the Download Prerequisite from the same location as my application 1.)通过进入myfirstSetup属性添加了先决条件2.)选择先决条件3.)从与我的应用程序相同的位置检查“下载先决条件”

The .exe that is being created is installing the prerequisite but the .msi is only installing my project. 正在创建的.exe正在安装必备组件,但.msi仅安装我的项目。

any help will be appreciated thank you. 任何帮助将不胜感激,谢谢。

That's the way it works - the setup.exe installs prerequisites and then your MSI installs your project. 这就是它的工作方式-setup.exe安装必备软件,然后MSI安装项目。 There are many reasons for this. 这件事情是由很多原因导致的。 Is there an actual problem or do you just believe your MSI file should be able to install prerequisites like the .NET framework, SQL Express and so on? 是否存在实际问题,或者您只是相信您的MSI文件应该能够安装.NET框架,SQL Express等先决条件?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在我的安装项目(VS 2010)的前提条件中添加Adobe Reader - Add Adobe Reader in prerequisite of my Setup project (VS 2010) 如何将Setup Project的DefaultLocation设置为Path msi正在VS 2010中执行? - How to set DefaultLocation of Setup Project to the Path msi is being executed in VS 2010? VS2010安装项目冻结'选择安装文件夹' - VS2010 Setup Project Freezes on 'Select Installation Folder' 如何设置使用 VS2017 部署项目安装 .msi 生成的快捷图标 - How to set the short-cut icon generated by installation of an .msi using a VS2017 Deployment Project 如何使用VS安装和部署项目并构建一个.msi文件来安装程序? - how to use VS Setup and Deployment project and build an .msi file to install the program? 使用VS2010在安装程序安装过程中安装Windows Service - Install Windows Service during Setup installation using VS2010 安装项目.net 4先决条件 - setup project .net 4 prerequisite 如何添加.Net框架先决条件来安装安装 - How to add .Net framework prerequisite to setup install 使用ac#Setup项目,如何在安装项目的msi中获取配置文件(nlog.config)? - Using a c# Setup project, how do I get a config file (nlog.config) into the msi for the Setup project? 如何使用 VS2010 安装项目将我的程序添加到用户开始菜单? - How do I add my program to the users start menu with VS2010 Setup Project?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM