devicediagnostics/Updates/devdiagapp_sis.bat
changeset 0 3ce708148e4d
equal deleted inserted replaced
-1:000000000000 0:3ce708148e4d
       
     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 echo.
       
    19 
       
    20 :armv5
       
    21 makesis devdiagapp.pkg devdiagapp.sis
       
    22 if '%errorlevel%'=='0' goto sign
       
    23 echo.
       
    24 echo SIS creation failed.
       
    25 echo Make sure ARMv5 files and plugin CenRep SIS files were built properly.
       
    26 goto end
       
    27 
       
    28 :sign
       
    29 echo.
       
    30 echo Signing devdiagapp.sis...
       
    31 signsis devdiagapp.sis devdiagapp.sisx K:\s60\app\devicecontrol\devicediagnostics\build\s60_rnd\rd_rootca\rd.cer  K:\s60\app\devicecontrol\devicediagnostics\build\s60_rnd\rd_rootca\rd-key.pem
       
    32 if '%errorlevel%'=='0' goto done
       
    33 echo SIS signing failed.  Check the certificates.
       
    34 goto end
       
    35 
       
    36 :done
       
    37 echo Created devdiagapp.sisx
       
    38 #del /Q devdiagapp_Udeb.sis
       
    39 :end