Question

I'm working on the installer for a product which requires installation of tomcat 7 and configuring it for SSL. We want to generate a self-signed certificate (have installation dialogs to get the required user input) and then update the tomcat configuration with the location and password for the keystore.

In my mind, the straight forward (which is often not the best) way to do this is to build the required .xml files by having a custom action run a batch file.

Is there a better or more standard way to do this?

Was it helpful?

Solution

Advanced Installer has a built-in support to update the content of XML files at install time. You don't need to write any custom actions. Check the example I linked above and see if you can adapt it to fit your scenario, ping me if you have any questions.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top