When running the silent uninstall command:
"C:\Program Files\Apache Software Foundation\Tomcat 8.5\Uninstall.exe" /S -ServiceName="Tomcat8"
Tomcat is uninstalled but it leaves behind a bunch of files in the conf
, logs
and webapps
folders.
When uninstalling via Windows Program & Features, the GUI uninstaller shows a prompt asking whether to delete these extra files/folders.
Is there an argument/option that will delete these files with the silent uninstall?
I've looked through the Tomcat docs but there is no mention of the silent uninstall. I've even looked through the Tomcat source code, but I can't find any clues.
This page suggests that Tomcat uses NSIS Installer but the docs aren't helpful.
I'm trying to find the answer for both Tomcat 8.5 and 7.0 if possible.