AnsweredAssumed Answered

Installer Scripts Improvements (3.4.d)

Question asked by nagkumar on Mar 23, 2011
Latest reply on Mar 23, 2011 by mikeh
Alfresco bat script generated can be more organised and can be used by all..

Refactored setenv could be some thing like this.. Same could be used by other batch files in
D:\Apps\java\cms\Alfresco\bin. Currently it is not the case.

rem ##### JAVA ENV #####
set JAVA_HOME=D:\Apps\java\cms\Alfresco\java
set ALF_HOME=D:\Apps\java\cms\Alfresco

rem ##### IMAGEMAGICK ENV #####
set MAGICK_HOME=%ALF_HOME%\imagemagick
set MAGICK_CODER_MODULE_PATH=%MAGICK_HOME%\modules\coders
set MAGICK_CONFIGURE_PATH=%MAGICK_HOME%\config      

rem ##### MYSQL ENV #####
set MYSQL_HOME=%ALF_HOME%\mysql

set PATH=%MAGICK_HOME%;%JAVA_HOME%\bin;%MYSQL_HOME%\bin;%PATH%

Outcomes