Thank you for your quick response.
Now I'm trying to figure out how to:
1:Get the Tomcat installation directory from the registry into a variable named TOMCAT_HOME.
2: Modify the APPDIR folder location at runtime with something like {TOMCAT_HOME}/webapps/CustomWebApp, where CustomWebApp would be a ...