servicewidget/themes/install-themes/installxuikontheme.cmd
branchRCL_3
changeset 23 9a48e301e94b
parent 0 5e5d6b214f4f
equal deleted inserted replaced
22:3104fc151679 23:9a48e301e94b
       
     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 @echo off
       
    17 
       
    18 REM go to widget directory and store a list of widget .dat files
       
    19 dir /B install\%1\xuikon\00\*.dat > install_temp\widget_temp.txt
       
    20 
       
    21 REM go through the temporary file and call install on all xuikon themes
       
    22 FOR /F "tokens=1 delims=" %%i in (install_temp\widget_temp.txt) do call themeinstaller.bat install\%1\xuikon\00\%%i install_temp
       
    23 
       
    24 REM find odt files+resources <and copy them to the hsps directory
       
    25 dir /s /B /A-D install_temp\epoc32\*.* > install_temp\odt_temp.txt
       
    26 
       
    27 REM copy odt files to the widget\hsps directory
       
    28 FOR /F "tokens=1 delims=" %%j in (install_temp\odt_temp.txt) do xcopy /F /R %%j install\%1\xuikon\00\
       
    29 
       
    30 REM delete the odt files from the temporary location
       
    31 FOR /F "tokens=1 delims=" %%j in (install_temp\odt_temp.txt) do del %%j
       
    32 
       
    33 del install_temp\widget_temp.txt
       
    34 del install_temp\odt_temp.txt