如何使MySQL成为VB.Net应用程序的先决条件 [英] How can I make MySQL a prerequisite for a VB.Net Application

查看:82
本文介绍了如何使MySQL成为VB.Net应用程序的先决条件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是vb.net的新手.我正在使用VB.NET和MySQL开发桌面应用程序.我希望该安装程序自动安装MySQL. .我已经通过引导说唱歌手清单生成器创建了一个清单包,但未安装MySQL.

创建清单文件时,它会在设置但不安装的前提下显示在项目的属性中.

任何帮助将不胜感激.

感谢

Hi,

I am new to vb.net. I am developing a desktop application using VB.NET and MySQL. I want that setup to install MySQL automatically. . I have created a manifest package by boots rapper manifest generator but its not installing MySQL.

When I am creating the manifest file, it is displaying in properties of my project under prerequisites in setting but its not installing.

Any help will greatly appreciated.

Thanks

推荐答案

我认为您最好自己动手处理,而不是让安装程序来处理.我将在我的应用程序第一次运行MySQL时检查它(或者更好的是,每次运行时检查它),如果未安装,则提示用户输入安装文件的位置.如果未安装,请向用户显示错误对话框并接受援助.

-皮特
I think you''re better off handling that yourself, rather then letting the installer handle it. I would have my application check for MySQL the first time it''s run (or even better - every time it runs), and if it''s not installed prompt the user for the location of the install files. If it doesn''t get installed, then show the user an error dialog and bail out.

- Pete


这篇关于如何使MySQL成为VB.Net应用程序的先决条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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