persistentstorage/centralrepository/test/testexecute/SWI/data/dosis.bat
changeset 0 08ec8eefde2f
child 23 26645d81f48d
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 @echo off
       
     2 rem
       
     3 rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 rem All rights reserved.
       
     5 rem This component and the accompanying materials are made available
       
     6 rem under the terms of "Eclipse Public License v1.0"
       
     7 rem which accompanies this distribution, and is available
       
     8 rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 rem
       
    10 rem Initial Contributors:
       
    11 rem Nokia Corporation - initial contribution.
       
    12 rem
       
    13 rem Contributors:
       
    14 rem
       
    15 rem Description:
       
    16 rem
       
    17 @echo on
       
    18 rem The stub..
       
    19 makesis -s centrepswiteststub.pkg
       
    20 
       
    21 rem Make and sign the KS12 package. This modifies the KS1.2 keyspace, which
       
    22 rem is a user mod on the ROM keyspace K1.
       
    23 makesis KS12.pkg
       
    24 signsis -S KS12.sis KS12s.sis certstore\centreproot.pem certstore\centreproot.key
       
    25 
       
    26 rem Make and sign the KS14 package.
       
    27 makesis KS14.pkg
       
    28 signsis -S KS14.sis KS14s.sis certstore\centreproot.pem certstore\centreproot.key
       
    29 
       
    30 rem Make and sign the KS2 package. This creates the KS2 keyspace, which
       
    31 rem is new.
       
    32 makesis KS2.pkg
       
    33 signsis -S KS2.sis KS2s.sis certstore\centreproot.pem certstore\centreproot.key
       
    34 
       
    35 rem Make and sign the KS22 package. This creates the KS22 keyspace, which
       
    36 rem upgrades KS21 (user modified KS2).
       
    37 makesis KS22.pkg
       
    38 signsis -S KS22.sis KS22s.sis certstore\centreproot.pem certstore\centreproot.key
       
    39 
       
    40 rem Make and sign the KS3 package. This package will fail to install
       
    41 rem because the referenced keyspace file is not in the ROM stub.
       
    42 makesis KS3.pkg
       
    43 signsis -S KS3.sis KS3s.sis certstore\centreproot.pem certstore\centreproot.key
       
    44 
       
    45 rem Make and sign the KS4 package. This keyspace contains various capabilities
       
    46 rem which we'll test don't change on a further install.
       
    47 makesis KS4.pkg
       
    48 signsis -S KS4.sis KS4s.sis certstore\centreproot.pem certstore\centreproot.key
       
    49 
       
    50 rem Installs on top of the above, you might think the capabilities in the
       
    51 rem above would be lost, but no - they are persisted before the caps in this
       
    52 rem package can splat them.
       
    53 makesis KS41.pkg
       
    54 signsis -S KS41.sis KS41s.sis certstore\centreproot.pem certstore\centreproot.key
       
    55 
       
    56 rem Make and sign the KP4 package. This keyspace contains various capabilities
       
    57 rem which we'll test don't change on a further install.
       
    58 makesis KP4.pkg
       
    59 signsis -S KP4.sis KP4s.sis certstore\centreproot.pem certstore\centreproot.key
       
    60 
       
    61 rem Installs on top of the above, you might think the capabilities in the
       
    62 rem above would be lost, but no - they are persisted before the caps in this
       
    63 rem package can splat them.
       
    64 makesis KP41.pkg
       
    65 signsis -S KP41.sis KP41s.sis certstore\centreproot.pem certstore\centreproot.key
       
    66 
       
    67 rem SP filenull for uninstalling KP4.
       
    68 makesis KPS4.pkg
       
    69 signsis -S KPS4.sis KPS4s.sis certstore\centreproot.pem certstore\centreproot.key
       
    70 
       
    71 rem Installs on top of the ROM (51551554)
       
    72 makesis KS51.pkg
       
    73 signsis -S KS51.sis KS51s.sis certstore\centreproot.pem certstore\centreproot.key
       
    74 
       
    75 rem Make and sign the KP2 package. This creates the KP2 keyspace, which
       
    76 rem is new.
       
    77 makesis KP2.pkg
       
    78 signsis -S KP2.sis KP2s.sis certstore\centreproot.pem certstore\centreproot.key
       
    79 
       
    80 rem Make and sign the KP22 package. This creates the KP22 keyspace, which
       
    81 rem upgrades KP21 (user modified KP2).
       
    82 makesis KP22.pkg
       
    83 signsis -S KP22.sis KP22s.sis certstore\centreproot.pem certstore\centreproot.key
       
    84 
       
    85 rem Make and sign the KP23 package.
       
    86 makesis KP23.pkg
       
    87 signsis -S KP23.sis KP23s.sis certstore\centreproot.pem certstore\centreproot.key
       
    88 
       
    89 rem Make and sign the KP12 package.
       
    90 makesis KP12.pkg
       
    91 signsis -S KP12.sis KP12s.sis certstore\centreproot.pem certstore\centreproot.key
       
    92 
       
    93 rem Make and sign the KP14 package.
       
    94 makesis KP14.pkg
       
    95 signsis -S KP14.sis KP14s.sis certstore\centreproot.pem certstore\centreproot.key
       
    96 
       
    97 rem Make and sign the KPS14 standard patch, this SP is installed with a
       
    98 rem file-null so the 51551551 keyspace file can be removed.
       
    99 makesis KPS14.pkg
       
   100 signsis -S KPS14.sis KPS14s.sis certstore\centreproot.pem certstore\centreproot.key
       
   101 
       
   102 rem Make and sign the KP3 package. This package will fail to install
       
   103 rem because the referenced keyspace file is not in the ROM stub.
       
   104 makesis KP3.pkg
       
   105 signsis -S KP3.sis KP3s.sis certstore\centreproot.pem certstore\centreproot.key
       
   106 
       
   107 rem Make and sign the KP62 package.
       
   108 makesis KP62.pkg
       
   109 signsis -S KP62.sis KP62s.sis certstore\centreproot.pem certstore\centreproot.key
       
   110 
       
   111 rem Make and sign the KP62 package.
       
   112 makesis KS62.pkg
       
   113 signsis -S KS62.sis KS62s.sis certstore\centreproot.pem certstore\centreproot.key
       
   114 
       
   115 rem Make and sign the KPS64 package.
       
   116 makesis KPS64.pkg
       
   117 signsis -S KPS64.sis KPS64s.sis certstore\centreproot.pem certstore\centreproot.key
       
   118 
       
   119 rem Make and sign the KSX package. This is the embedded sis that goes in AppX.sis
       
   120 makesis KSX.pkg
       
   121 signsis -S KSX.sis KSXs.sis certstore\centreproot.pem certstore\centreproot.key
       
   122 
       
   123 rem Make the AppX package for the application. This is the sis which contains the 
       
   124 rem embedded sis that has the application repository as a Centrep patch. This sis
       
   125 rem is self-signed and conditonally installs the exe file depending on the environment
       
   126 makesis APPX.pkg
       
   127 signsis -S APPX.sis APPXs.sis certstore\appx.cer certstore\appx.key
       
   128 
       
   129 rem Make and sign the KSD package. This contains the corrupt KSD keyspace.
       
   130 makesis KSD.pkg
       
   131 signsis -S KSD.sis KSDs.sis certstore\centreproot.pem certstore\centreproot.key
       
   132 
       
   133 rem Make the AppY,1,2 packages for the application. These sis files contain the 
       
   134 rem embedded sis that has the application repository as a Centrep patch. This sis
       
   135 rem is self-signed and conditonally installs the exe file depending on the environment
       
   136 rem These SIS files are used to test a standard installation
       
   137 
       
   138 rem The following packages are used for the APP-SP test
       
   139 
       
   140 rem Make and sign the KSY package. This is the embedded PU sis that goes in AppY.sis
       
   141 makesis KSY.pkg
       
   142 signsis -S KSY.sis KSYs.sis certstore\centreproot.pem certstore\centreproot.key
       
   143 
       
   144 rem Make and sign the APPY package. This package will install an APP exe
       
   145 rem a keyspace in an embedded PU package and an SP package to be used for the uninstall
       
   146 makesis APPY.pkg
       
   147 signsis -S APPY.sis APPYs.sis certstore\appx.cer certstore\appx.key
       
   148 
       
   149 
       
   150 rem Make and sign the KSY1 package. This is the embedded PU sis that goes in AppY1.sis
       
   151 makesis KSY1.pkg
       
   152 signsis -S KSY1.sis KSY1s.sis certstore\centreproot.pem certstore\centreproot.key
       
   153 
       
   154 rem Make and sign the APPY1 package. This package will install the APP exe
       
   155 rem a new version of the keyspace in an embedded PU package and an SP package 
       
   156 rem to be used for the uninstall
       
   157 makesis APPY1.pkg
       
   158 signsis -S APPY1.sis APPY1s.sis certstore\appx.cer certstore\appx.key
       
   159 
       
   160 
       
   161 rem Make and sign the KSY2 package. This is the embedded PU sis that goes in AppY2.sis
       
   162 makesis KSY2.pkg
       
   163 signsis -S KSY2.sis KSY2s.sis certstore\centreproot.pem certstore\centreproot.key
       
   164 
       
   165 rem Make and sign the APPY2 package. This package will install the APP exe
       
   166 rem a new version of the keyspace in an embedded PU package and an SP package 
       
   167 rem to be used for the uninstall
       
   168 makesis APPY2.pkg
       
   169 signsis -S APPY2.sis APPY2s.sis certstore\appx.cer certstore\appx.key
       
   170