Hi,
I have a question regarding how-to best redistribute Apache along with
other software. I have developed some Windows-based software that
requires Win32 Apache be installed along side it on the same server, and I
have authored an MSI installer for my software.
Currently my customers are required to download and install
Apache themselves -- my installer will not complete if Apache is
not installed beforehand.
I would like to relieve my customer from the burden of installing
Apache, and instead have my MSI install it for them, preferably with
no human interaction. My general question is how best to do
this.
Ideally I would simply include an Apache MSM file. The second
best solution would be calling the Apache MSI file from my MSI
file. In this case I would like the Apache MSI file to run "silently",
with no user interaction required. My specific question is how
to make the Apache MSI file run "silently".
My requirements for the Apache installation are fairly
simple:
- I'm using 1.3 versions of Apache today (2.0 within 6 months)
- I have no need to address multiple instances of Apache or
other web servers (although this would be a bonus).
- I would like to always put the ServerRoot and DocumentRoot
folders into my installation folder, so that if my customer installs my
software into C:\Program Files\MySoftware, the ServerRoot will be C:\Program
Files\MySoftware\Apache, and the DocumentRoot will be C:\Program
Files\MySoftware\Apache\htdocs.
- Most of my web pages are PHP, so I require the PHP LoadModule
and AddModule directives.
- I am aware of PHP's "no spaces in the installation path" restriction and
will work around this.
- I will need to customize certain httpd.conf items such as ServerName
and ServerAdmin.
I don't mind writing VBS or EXE CustomActions to (for example to modify
httpd.conf) if it makes the task any easier.
I would appreciate any insights or real-life experiences you've had doing
the same.
Thanks in Advance,.
ed ([EMAIL PROTECTED]) |