2

I want to install Apache Tomcat 8.5.11 silently to a specific directory using a batch file.

I have tried below command:

apache-tomcat-8.5.11.exe /S /D="D:\softwares\Tomcat"

The installation happens silently, but it is installed to C:\Program Files\ instead of the location provided using /D option.

Is there any other configuration that is needed ?

vidita daga
  • 51
  • 1
  • 5

1 Answers1

3

Got this resolved by removing double quotes in the path For e.g., this works:

apache-tomcat-8.5.11.exe /S /D=D:\softwares\Tomcat

Also works for directory names with spaces.

vidita daga
  • 51
  • 1
  • 5