Example Script to Deploy Language Customization
REM Stop the PTC Arbortext Content Delivery server before unzipping the packet
REM %cd% gives you the Windchill.ear location.
REM The other paths can be relatively calculated.

echo "start deploying the customization package" >> %cd%\customSetup.log
set original=%cd%

REM Stopping the server.
cd %cd%\..\..\
echo "Stop the server..." >> %original%\customSetup.log
call stopServer.bat >> %original%\customSetup.log
echo "Stopped the server ..." >> %original%\customSetup.log

REM unzip the zip into WT_HOME
REM use %~dp0 gives the full path of setup.bat
echo "Deploy the package " >> %original%\customSetup.log
echo %~dp0InService_offline_deploy.zip >> %original%\customSetup.log
cd %original%
%cd%\..\..\System\Java\bin\jar xvf %~dp0InService_Greek_Language_cust.zip
>> %original%\customSetup.log

REM Starting the server..
echo "Restart the server..." >> %original%\customSetup.log
cd %cd%\..\..\
call startServer.bat >> %original%\customSetup.log
echo "End deploying the customization package" >> %original%\customSetup.log