Hi,
 
I want to avoid changes to httpd.conf installed by apache (component-rules?).
I thought about the service because I would install my own httpd.conf in a direcory which I "own".
My installation would be completely isolated (apart from the ImagePath used by my service): different pages, configs, logs, ...
 
@Bob:
I checked httpd.conf installed by apache_2.2.3-win32-x86-no_ssl.msi and by apache_2.0.52-win32-x86-no_ssl.msi.
Both do not use "Include conf.d/*.conf". I could add that (manually), but I want the MSI not to touch or overwrite the original httpd.conf. I want to ignore whatever changes made a user to that file and just use the same ServerRoot in my own httpd.conf to avoid any conflicts.
 
So my goal is to follow the component rules AND to allow more than one site to be installed using the same apache installation (ServerRoot).
I understand that this can not be done via standard MSI service table.
I see these choices for me:
- a custom action (dll or using the self-install feature of Apache.exe).
- add Apache binaries into my MSI (only if I have no other choice)
- wix (ServiceConfig or ServiceInstall?) will be extended or someone writes an extension for it (which will use a custem action I guess)
 
If I use the Apache-self-install custom action (as done by the apache-msi), the service will be installed to run as LocalSystem.
How do I change the user and password for that service (without using ServiceInstall)? ServiceConfig does not provide such options.
A Registry change of HKLM\SYSTEM\CurrentControlSet\Services\*\ObjectName changes the user, but I don't know how to change the password (seems to be encrypted in the Security subkey).
 
Regards,
Mike



Von: Bob Arnson [mailto:[EMAIL PROTECTED]
Gesendet: 28 October 2006 18:13
An: Friedrich, Mike
Cc: wix-users@lists.sourceforge.net
Betreff: Re: [WiX-users] How to define the ImagePath for ServiceInstall (wix3)?

Friedrich, Mike wrote:
I want to install a service by using an already installed binary (Apache.exe) as the ImagePath but using a new service name, different config/doc-root/parameters.

From my read of the ServiceInstall table doc in the MSI SDK, it doesn't look like MSI supports that. Specifically:

Note that to install this service using the InstallService [sic] table, the KeyPath for this component must be the executable file for the service.

Actually I want to install a different Apache-Website ... I don't know any other way than by creating a new service.
Has anyone an idea how to do this with wix3?

I don't but I'd be interested in encapsulating it in an extension for Apache. It doesn't look like the stock Apache installer supports creating arbitrary services; maybe it's supposed to be driven through changes to httpd.conf?
-- 
sig://boB
http://bobs.org
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to