*************************************************
 NEC ESMPRO Manager Update
*************************************************

[Introduction]

This update is for NEC ESMPRO Manager.

Target versions:
    NEC ESMPRO Manager Ver6.66, Ver7.23


[NEC ESMPRO Manager version after applying the update]

The version does not change after applying the update.


[How to apply the update]

 1) Log onto the server as a user with administrative privileges.

 2) Run the following update program.

   Select the following batch file in Windows Explorer,
   and run it by clicking the 'Run as administrator' option
   on the right click mouse button menu.

      update.bat

    * To run the batch file from a command prompt,
      right-click the 'command prompt' option on the [Start] menu,
      and open the command prompt by clicking the 'Run as
      administrator' option on the menu shown.

 3) Finish update

   The effect of the update will become effective immediately.
   If you see the message "Restart the system to enable the update",
   restart the system.


[Method for Verifying Application Results]

 * If the message 'An error occurred while copying the file.' appears, please follow the instructions 
   below and restart the system after manually copying the file or folder.

    Delete \ESMWEB\wbserver\webapps\esmpro\WEB-INF\classes\struts.xml and copy struts_xml\struts.xml.

    Delete all data in the \ESMWEB\java\r1 folder and copy all data from the JDK folder.

    Delete \ESMWEB\wbserver\LICENSE and copy tomcat\LICENSE.

    Delete \ESMWEB\wbserver\NOTICE and copy tomcat\NOTICE.

    Delete all data in the \ESMWEB\wbserver\bin folder and copy all data from the tomcat\bin folder.

    Delete all data in the \ESMWEB\wbserver\conf folder except for server.xml and web.xml, and copy all data from the tomcat\conf folder.

    Delete all data in the \ESMWEB\wbserver\lib folder and copy all data from the tomcat\lib folder.


    According to the result (success or failure),
    one of the following exit codes (%errorlevel%) is returned.

     Code | Description
    ------+---------------------------------------------
       0  | Successful completion.
       1  | Not the target version of this UPDATE.
       2  | An error occurred during stopping service.
    ------+---------------------------------------------


[Notes]
 1) A version confirmation procedure of NEC ESMPRO Manager is as follows.
    Click [NEC ESMPRO] in [NEC ESMPRO Manager] under [all programs
    (program)] from [Start] menu.
    Please confirm the current version on the 'Manager' tab.

 2) The log of this update is %AppData%\SM_(date).log.