11-04-2015 11:57 AM
09-22-2016 02:20 PM
Using only the out-of-the-box installer, you can install, choose not to start Alfresco at the end, and then edit alfresco-global.properties.
Another option would be to use the "unattended installation" approach (see here) which you could call from a script, and then at the end of the script you could automatically patch alfresco-global.properties with the desired root directory location.
But why do that when there's already a community project that does that and more. Loftux maintains an install script which lets you specify the content directory beforehand and takes care of a number of other common installation tasks.