devicediagnostics/build/devdiagapp_udeb_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_armv5_udeb.pkg devdiagapp_UDeb.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_UDeb.sis...
       
    31 signsis devdiagapp_UDeb.sis devdiagapp_UDeb.sisx s60_rnd\rd_rootca\rd.cer 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_UDeb.sisx
       
    38 #del /Q devdiagapp_Udeb.sis
       
    39 
       
    40 :end