[英]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.