installationservices/swi/test/trevocation/makeAllInteg.bat
changeset 0 ba25891c3a9e
child 25 7333d7932ef7
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     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 the License "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 ON
       
    18 REM cls
       
    19 echo DO NOT RUN THIS PROGRAM - PRESS CTRL C to Cancel
       
    20 echo THIS PROGRAM REGENERATES ALL OF THE SIS FILES USED TO TEST DEVELOPER CERTIFICATE EXTENSIONS
       
    21 pause
       
    22 rmdir /S /Q sisInteg 
       
    23 
       
    24 REM The pkg files are hardcoded, but can be updated if needed
       
    25 mkdir sisInteg\winscw
       
    26 mkdir sisInteg\armv5 
       
    27 
       
    28 REM create the package files for WINSCW
       
    29 cd pkgInteg\winscw
       
    30 makesis ocsp_01.pkg
       
    31 makesis ocsp_02.pkg
       
    32 makesis ocsp_03.pkg
       
    33 makesis ocsp_04.pkg
       
    34 makesis ocsp_05.pkg
       
    35 
       
    36 REM Embedded Package file
       
    37 makesis ocsprevocation-sub1.pkg
       
    38 cd ..
       
    39 cd ..
       
    40 signsis pkgInteg\winscw\ocsprevocation-sub1.sis    pkgInteg\winscw\ocsprevocation-sub1.tmp %SECURITYSOURCEDIR%\installationservices\switestfw\testcertificates\swi\test\trevocation\ocsp\responder1\certTrev2.cert.pem %SECURITYSOURCEDIR%\installationservices\switestfw\testcertificates\swi\test\trevocation\ocsp\responder1\certTrev2.key.pem
       
    41 move	pkgInteg\winscw\ocsprevocation-sub1.tmp	   pkgInteg\winscw\ocsprevocation-sub1.sis
       
    42 cd      pkgInteg\winscw
       
    43 makesis ocsprevocation.pkg
       
    44 cd ..
       
    45 cd ..
       
    46 
       
    47 copy pkgInteg\winscw\*.sis sisInteg\winscw\*.sis
       
    48 
       
    49 
       
    50 
       
    51 REM create the package files for ARMV5
       
    52 cd pkgInteg\armv5
       
    53 makesis ocsp_01.pkg
       
    54 makesis ocsp_02.pkg
       
    55 makesis ocsp_03.pkg
       
    56 makesis ocsp_04.pkg
       
    57 
       
    58 REM Embedded Package file
       
    59 makesis ocsprevocation-sub1.pkg
       
    60 cd ..
       
    61 cd ..
       
    62 signsis pkgInteg\armv5\ocsprevocation-sub1.sis    pkgInteg\armv5\ocsprevocation-sub1.tmp %SECURITYSOURCEDIR%\installationservices\switestfw\testcertificates\swi\test\trevocation\ocsp\responder1\certTrev2.cert.pem %SECURITYSOURCEDIR%\installationservices\switestfw\testcertificates\swi\test\trevocation\ocsp\responder1\certTrev2.key.pem
       
    63 move    pkgInteg\armv5\ocsprevocation-sub1.tmp	  pkgInteg\armv5\ocsprevocation-sub1.sis
       
    64 cd      pkgInteg\armv5
       
    65 makesis ocsprevocation.pkg
       
    66 cd ..
       
    67 cd ..
       
    68 
       
    69 copy pkgInteg\armv5\*.sis sisInteg\armv5\*.sis
       
    70 
       
    71 
       
    72 call signFiles.bat winscw
       
    73 
       
    74 call signFiles.bat armv5
       
    75 
       
    76 :exit
       
    77