servicewidget/themes/install-themes/doinstall.cmd
branchRCL_3
changeset 22 3104fc151679
parent 21 2b7283837edb
child 23 9a48e301e94b
equal deleted inserted replaced
21:2b7283837edb 22:3104fc151679
     1 @rem
       
     2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 @rem All rights reserved.
       
     4 @rem This component and the accompanying materials are made available
       
     5 @rem under the terms of "Eclipse Public License v1.0"
       
     6 @rem which accompanies this distribution, and is available
       
     7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 @rem
       
     9 @rem Initial Contributors:
       
    10 @rem Nokia Corporation - initial contribution.
       
    11 @rem
       
    12 @rem Contributors:
       
    13 @rem
       
    14 @rem Description: 
       
    15 @rem
       
    16 
       
    17 @ECHO OFF
       
    18 SETLOCAL
       
    19 
       
    20 SET INPUT_FILE=doinstall_install.dat
       
    21 SET TEMP_DIR=%EPOCROOT%epoc32\winscw\c\data\Installs\test\
       
    22 SET INSTALLER_BIN=%EPOCROOT%epoc32\release\winscw\udeb\hspsThemeInstallerCons.exe
       
    23 SET INSTALLER_LOG=%EPOCROOT%epoc32\winscw\c\Logs\hspsThemeInstallerCons\hspsThemeInstallerCons.log
       
    24 SET ERR=0
       
    25 
       
    26 if exist %TEMP_DIR% rmdir %TEMP_DIR% /s /q
       
    27 xcopy * %TEMP_DIR% /s /q
       
    28 %INSTALLER_BIN% %INPUT_FILE%
       
    29 if %ERRORLEVEL% NEQ 0 SET ERR=1
       
    30 if exist %INSTALLER_LOG% type %INSTALLER_LOG%
       
    31 if %ERR% NEQ 0 echo Failed!
       
    32 echo Please move generated files from \epoc32\winscw\c\private\200159c0\themes\ path to the ROM drive!
       
    33 
       
    34 :end
       
    35 ENDLOCAL