문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top