如何检查安装程序和计算机中安装的MYSQL安装程序部署项目 [英] how to check the MYSQL setup installed into computer in setup & deployment project

查看:89
本文介绍了如何检查安装程序和计算机中安装的MYSQL安装程序部署项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在应用程序的.NET中创建了安装和部署程序,但是我想检查是否安装了第一个MYSQL软件,然后可以安装我的应用程序安装程序,否则显示消息为首先安装的MYSQL安装程序,然后安装了我的应用程序设置


在此先感谢....

I have create the Setup & deployment in .NET of my application But I want to check the first MYSQL software installed or not then i will be allow to installed my application setup otherwise show message as first installed MYSQL setup then installed my application setup


thanks in advance....

推荐答案

您不应该真正安装MySql:就像SQL Server一样,它是一个多用户数据库,通常会安装在一台单独的服务器,而不是在每台用户计算机上.如果您在当前PC上进行安装,但没有安装该PC,则不应自动假定安装正确-用户可能要使用基于服务器的现有安装.
否则,如果您有五个用户安装您的应用程序,则他们都将获得单独的数据库,而不是共享相同的数据.如果您想这样做,那么我建议您使用SqlCE或SQLite,因为它们仅用于独立的数据库支持,不需要用户管理.
You shouldn''t really install MySql: just like SQL Server, it is a multiuser database, and would normally be installed on a separate server, rather than on each individual users computer. If you chek the current PC for an installation, and it isn''t present, you should not automatically assume it is correct to install it - the user may want to use a preexisting server based installation.
Otherwise, if you have five users installing your application, they would all get separate databases rather than sharing the same data. If you want to do that, then I would suggest using SqlCE or SQLite as they are only for stand alone database support and require no user administration.


这篇关于如何检查安装程序和计算机中安装的MYSQL安装程序部署项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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