devicediagnostics/build/cenrep_sis.bat
changeset 18 7d11f9a6646f
parent 4 75a71fdb4c92
child 21 c707676bf59f
equal deleted inserted replaced
4:75a71fdb4c92 18:7d11f9a6646f
     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 :cenrep
       
    21 makesis cenrep_sis.pkg cenrep_sis.SIS
       
    22 if '%errorlevel%'=='0' goto signcenrep
       
    23 echo CenRep SIS creation failed.  Make sure the CenRep files exist.
       
    24 goto end
       
    25 
       
    26 :signcenrep
       
    27 echo.
       
    28 echo Signing cenrep_sis.SIS...
       
    29 signsis cenrep_sis.SIS cenrep_sis.sisx s60_rnd\rd_rootca\rd.cer s60_rnd\rd_rootca\rd-key.pem
       
    30 if '%errorlevel%'=='0' goto cenrepdone
       
    31 echo CenRep SIS signing failed.  Check the certificates.
       
    32 goto end
       
    33 
       
    34 :cenrepdone
       
    35 echo Created diagbrowserplugin_cenrep.sisx
       
    36 del /Q cenrep_sis.SIS
       
    37 
       
    38 :end
       
    39