问题描述
慧,
我需要在Visual Studio 2010中创建C#Windows应用程序的安装项目,
具有一些自定义的先决条件(.NET Framework 4.0客户端配置文件,MySQL服务器,MySQL连接器).
现在我要做的是:
创建了一个安装项目,并为mysql,连接器添加了exe/msi文件.
为我要为其创建安装程序的项目添加了项目输出.
添加了一些启动条件和系统搜索.
现在发生的是,它首先执行MySQl Server设置,然后执行MySQL Connector设置,
然后是应用程序exe.
现在好了.
但是我想要的是首先它应该检查是否已安装mysql服务器...
如果没有,那么只有它应该执行设置...
但它总是执行mysql服务器设置..
请帮助...
hye,
I need to create a Setup Project in Visual Studio 2010, of a C# Windows Application,
with some custom prerequisites (.NET Framework 4.0 Client Profile, MySQL Server, MySQL Connector).
Now what i have done is :
Created a Setup Project and added exe/msi files for mysql, connector.
Added the project output for the project i want to create setup for.
added some launch conditions and system search.
Now what happening is, it first executes MySQl Server setup, then MySQL Connector setup,
then Application exe.
Now its okey..
But what i want is first it should check whether mysql server is installed or not...
if not, then only it should execute the setup...
but it always executes the mysql server setup..
Please help...
推荐答案
这篇关于具有自定义先决条件的VS 2010中的安装项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!