Eric Fesh wrote: > Tomcat uses the Jakarta Commons procrun daemon to interface with the Windows > services mechanism. Unfortunately, it looks like > procrun does all of the registry work on its own when you use the supported > installation instructions. This means (and my > earlier installer does this) that to install Tomcat as a custom action I have > to use a Custom Action that runs the procrun > daemon in install mode to get it all configured and happy, and another to > remove it on uninstall. >
Ideally, the Jakarta folks would document how to "translate" what procrun does into matching registry values. From the doc, it looks like it just asks you to specify via a command line the same data (plus a bit more) in the MSI ServiceInstall and ServiceControl tables. Two options come to mind: - Read the code to see what it writes (e.g., for the JVM parameters). - Export the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services registry key, run procrun by hand, re-export, and diff. > then, but I was fairly sure the answer would be "Why are you using a Custom > Action to install and start a service, you twit?" So > We'd never say that. Out loud, anyway.<g> Seriously, I, for one, appreciate anyone making extra effort to do setup in a declarative manner. -- 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