For reference, the batch file uses the following command to perform the actual service installation:
Code: Select all
"%EXECUTABLE%" //IS//%SERVICE_NAME% --StartClass org.apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams stop --Startup autoCode: Select all
"%EXECUTABLE%" //RS//%SERVICE_NAME%Are these duplicate configuration point or are they intended for different things?
Is there any way to include these parameters during AI's "installing services" step?
From what I can tell, the difficulty I'm having here is coming up due to Tomcat and AI making use of different service wrappers (Apache uses "procrun", not sure what AI uses). Quite simply because procrun uses custom registry keys for service configuration.. Is my only option here to manually create the required registry entry structure at install time? Don't have any problem doing this, but I'm just wondering if there's a more efficient way to do this in the installer package itself.
Edit: With regards to the manual registry entry setup for procrun, how can I force AI to create a "REG_MULTI_SZ" entry instead of a "REG_SZ" if the data only has one word with a blank line after it? The "type" option is one selection for "REG_SZ/REG_MULTI_SZ" and the installer keeps stripping off the new line I place in the "data" value. For procrun to work, both "<service>\Parameters\Start\Params" and "<service>\Parameters\Stop\Params" must have the type "REG_MULTI_SZ".
Edit 2: Reading the docs, it appears the "Registry Value" dialog for Windows Mobile CAB Projects can be explicitly set as REG_MULTI_SZ, while the dialog for normal projects can not. Is there any chance of getting more control over this property in all projects...?
FOLLOW US
Get the latest news in Application Packaging