internetradio2.0/group/installradiothemes.bat
changeset 14 896e9dbc5f19
parent 12 608f67c22514
child 15 065198191975
equal deleted inserted replaced
12:608f67c22514 14:896e9dbc5f19
     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 
       
    19 SETLOCAL
       
    20 
       
    21 SET THEME_INSTALL_DIR1=%EPOCROOT%epoc32\winscw\C\Data\themeinstalltemp\activeidle
       
    22 SET THEME_INSTALL_DIR3=%EPOCROOT%epoc32\winscw\C\Data\themeinstalltemp\classicidle
       
    23 
       
    24 SET THEME_INSTALLED_DIR=%EPOCROOT%epoc32\winscw\c\private\10207254\themes\271012080\270513751
       
    25 
       
    26 SET THEME_DEST_C_UDEB_DIR=%EPOCROOT%epoc32\RELEASE\winscw\udeb\z\private\10207254\themes\271012080\270513751
       
    27 SET THEME_DEST_C_UREL_DIR=%EPOCROOT%epoc32\RELEASE\winscw\urel\z\private\10207254\themes\271012080\270513751
       
    28 SET THEME_DEST_Z_DIR=%EPOCROOT%epoc32\data\z\private\10207254\themes\271012080\270513751
       
    29 
       
    30 if not exist %THEME_INSTALL_DIR1% mkdir %THEME_INSTALL_DIR1%
       
    31 if not exist %THEME_INSTALL_DIR3% mkdir %THEME_INSTALL_DIR3%
       
    32 if not exist %THEME_INSTALL_DIR1%\Loc mkdir %THEME_INSTALL_DIR1%\loc
       
    33 if not exist %THEME_INSTALL_DIR3%\Loc mkdir %THEME_INSTALL_DIR3%\loc
       
    34 
       
    35 echo Copying Active Idle theme files
       
    36 echo *******************************
       
    37 copy ..\activeidlethemes\themes\activeidle\activeidle_dat.dat %THEME_INSTALL_DIR1%
       
    38 copy ..\activeidlethemes\themes\activeidle\*.dtd %THEME_INSTALL_DIR1%
       
    39 copy ..\activeidlethemes\themes\activeidle\*.xml %THEME_INSTALL_DIR1%
       
    40 copy ..\activeidlethemes\themes\activeidle\*.css %THEME_INSTALL_DIR1%
       
    41 copy ..\activeidlethemes\themes\activeidle\*.mif %THEME_INSTALL_DIR1%
       
    42 copy ..\activeidlethemes\themes\activeidle\*.svg %THEME_INSTALL_DIR1%
       
    43 
       
    44 echo Copying Active Idle localized theme files
       
    45 echo *****************************************
       
    46 copy ..\activeidlethemes\themes\activeidle\activeidle_loc.dat %THEME_INSTALL_DIR1%\loc\
       
    47 copy ..\activeidlethemes\themes\activeidle\*.xml %THEME_INSTALL_DIR1%\loc
       
    48 copy ..\activeidlethemes\themes\activeidle\*.css %THEME_INSTALL_DIR1%\loc
       
    49 
       
    50 echo Copying Classic Idle theme files
       
    51 echo ********************************
       
    52 copy ..\activeidlethemes\themes\classicidle\classicidle_dat.dat %THEME_INSTALL_DIR3%
       
    53 copy ..\activeidlethemes\themes\classicidle\*.dtd %THEME_INSTALL_DIR3%
       
    54 copy ..\activeidlethemes\themes\classicidle\*.xml %THEME_INSTALL_DIR3%
       
    55 copy ..\activeidlethemes\themes\classicidle\*.css %THEME_INSTALL_DIR3%
       
    56 copy ..\activeidlethemes\themes\classicidle\*.mif %THEME_INSTALL_DIR3%
       
    57 copy ..\activeidlethemes\themes\classicidle\*.svg %THEME_INSTALL_DIR3%
       
    58 
       
    59 echo Copying Classic Idle localized theme files
       
    60 echo ******************************************
       
    61 copy ..\activeidlethemes\themes\classicidle\classicidle_loc.dat %THEME_INSTALL_DIR3%\loc\
       
    62 copy ..\activeidlethemes\themes\classicidle\*.xml %THEME_INSTALL_DIR3%\loc
       
    63 copy ..\activeidlethemes\themes\classicidle\*.css %THEME_INSTALL_DIR3%\loc
       
    64 
       
    65 if not exist %EPOCROOT%epoc32\winscw\c\logs\themeinstallercons mkdir %EPOCROOT%epoc32\winscw\c\Logs\themeinstallercons
       
    66 
       
    67 echo Installing Active Idle theme files
       
    68 echo **********************************
       
    69 %EPOCROOT%epoc32\release\winscw\udeb\xnthemeinstallercons.exe C:\data\themeinstalltemp\activeidle\
       
    70 type %EPOCROOT%epoc32\winscw\c\logs\themeinstallercons\themeinstallercons.log
       
    71 
       
    72 xcopy /s /i /c %THEME_INSTALLED_DIR% %THEME_DEST_C_UDEB_DIR%
       
    73 xcopy /s /i /c %THEME_INSTALLED_DIR% %THEME_DEST_C_UREL_DIR%
       
    74 xcopy /s /i /c %THEME_INSTALLED_DIR% %THEME_DEST_Z_DIR%
       
    75 
       
    76 echo Installing Classic Idle theme files
       
    77 echo ***********************************
       
    78 %EPOCROOT%epoc32\release\winscw\udeb\xnthemeinstallercons.exe C:\data\themeinstalltemp\classicidle\
       
    79 type %EPOCROOT%epoc32\winscw\c\Logs\themeinstallercons\themeinstallercons.log
       
    80 
       
    81 xcopy /s /i /c %THEME_INSTALLED_DIR% %THEME_DEST_C_UDEB_DIR%
       
    82 xcopy /s /i /c %THEME_INSTALLED_DIR% %THEME_DEST_C_UREL_DIR%
       
    83 xcopy /s /i /c %THEME_INSTALLED_DIR% %THEME_DEST_Z_DIR%
       
    84 
       
    85 echo Copying Active Idle binary themes
       
    86 echo *********************************
       
    87 copy %THEME_DEST_Z_DIR%\271063149\1.0\AI.*  ..\activeidlethemes\binarythemes\activeidle\
       
    88 
       
    89 echo Copying Classic Idle binary themes
       
    90 echo **********************************
       
    91 copy %THEME_DEST_Z_DIR%\271063147\1.0\CI.*  ..\activeidlethemes\binarythemes\classicidle\
       
    92 
       
    93 ENDLOCAL