如何使MySQL成为我的VB.NET应用程序安装的先决条件? [英] How can I make MySQL a prerequisite of my VB.NET app's installation?

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

问题描述

我正在使用VB.NET和MySQL开发桌面应用程序.当我将支持人员发送到客户端站点以运行安装程序时,我希望该安装程序自动安装MySQL.

I am developing a desktop application using VB.NET and MySQL. When I send support people to the client site to run the setup, I want that setup to install MySQL automatically.

How can I add MySQL and MySQL Connector/Net as prerequisites so that the program automatically install them on client''s site?

推荐答案

您好,

从Mysql网站下载Mysql和Mysql/C Sharp连接器MSI.
通过向其中添加product.xml和package.xml来准备Bootstrapper软件包.
要了解如何编写自举程序,

http://msdn.microsoft.com/en-us/library/aa730839 (v = VS.80).aspx [
Hi,

Download Mysql and Mysql/C sharp connector MSI from Mysql site.
Prepare a Bootstrapper package by adding product.xml and package.xml to it.
To know how to author bootstrapping,

http://msdn.microsoft.com/en-us/library/aa730839(v=VS.80).aspx[^]

after preparing a bootstrapper paste it in

c:\Program files\Microsoft SDKs\v6.0\bootstrapper\packages\

Restart Visual studio.. you will fing your package as pre requisite


除非您购买允许安装的软件包,否则我认为您不能这样做.我通过编写Win32程序来处理此问题,该程序检查相关性并根据需要运行安装程序.
Unless you buy an installer program that allows this, I don''t think you can. I handle it by writing a Win32 program that checks for dependancies and runs installers as needed.


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

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