This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- InstallShield - Dynamically Modifying XML Tomcat Configuration Files
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 04, 2020
07:27 AM
InstallShield - Dynamically Modifying XML Tomcat Configuration Files
Hello,
Our company is now upgrading our product to work with Tomcat 9 rather than Tomcat 7. As a result, there are a number of XML configuration files such as 'server.xml', 'web.xml', 'context.xml' etc. that need to be edited.
We allow our customers to have various configurations which is why there is not one, known template that can be imported and modified (as far as I can know) using InstallShield's 'XML File Changes' functionality.
The changes include replacing, adding and removing content, and a lot of it, which is why using InstallScript's built-in functions such as FileGrep, FileInsertLine, StrReplace, StrSub and more don't seem appropriate as well.
Any help & suggestions would be gladly appreciated.
(0) Replies