This utility automates the process of installing hotfixes on an AEM instance in the order specified. It is still a work in progress and will keep evolving so, please use at your own risk. If you have any nice additions to the code, please submit an issue and a corresponding PR and I will try my best to include it.
Please look at the current list of issues to see what additions are being considered.
I have not tested this for Service Pack Installs.
host=localhost
port=4502
username=admin
password=admin
installPackages=false
maxNumberOfRetries=10
maxWaitTimeMS=4000
hotfixes=acs-aem-commons-content-2.1.0-min.zip,cq-6.1.0-hotfix-9104-1.0.zip
Create a folder that will have the config.properties and the hotfix packcages.
Update the config.properties file.
Then run executable jar like java -jar aem-hotfix-installer-1.4-SNAPSHOT-jar-with-dependencies.jar /path/to/directory/containing/config.properties/and/hotfix/packages
To check which hotfixes from the properties file is currently installed on the target system run the command with the "check" flag.
java -jar aem-hotfix-installer-1.4-SNAPSHOT-jar-with-dependencies.jar /path/to/directory/containing/config.properties/and/hotfix/packages check
To run in silent mode execute using the command below. I would recommend using the silent mode ONLY on non production environments.
java -jar aem-hotfix-installer-1.4-SNAPSHOT-jar-with-dependencies.jar /path/to/directory/containing/config.properties/and/hotfix/packages silent