简体   繁体   English

我可以在应用程序安装程序中集成Apache和Mysql吗?

[英]I can I integrate Apache and Mysql in the application installer?

I have an Application made with java ,and it needs a Mysql database ,and Apache server,and I use Advanced Insaller to generate the installer. 我有一个用Java编写的应用程序,它需要一个Mysql数据库和Apache服务器,并且我使用Advanced Insaller来生成安装程序。

I want the installer to install Mysql and Apache ,and Run them (I think as a service )so the user doesn't have to worry about it. 我希望安装程序安装Mysql和Apache,然后运行它们(我认为是服务),因此用户不必担心。

Can I do this with Advanced Installer? 我可以使用Advanced Installer做到这一点吗?

The usual approach is adding them as prerequisites . 通常的方法是将它们添加为先决条件

It's pretty straightforward. 这很简单。 The hardest part is to determine a detection criteria for each prerequisite (a file or registry entry installed by it). 最难的部分是为每个先决条件(由它安装的文件或注册表项)确定检测标准。 But you can use Process Monitor for this (see what the prerequisite installs). 但是您可以为此使用Process Monitor (请参阅先决条件的安装内容)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM