|
1 @echo off |
|
2 rem |
|
3 rem Copyright (c) 2010 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: Creates test exe for startup list updater test module. |
|
16 rem |
|
17 |
|
18 set CERTPATH=%1 |
|
19 if not x%CERTPATH%x == xx goto doit |
|
20 echo Usage |
|
21 echo doall.bat [path to RD certificates] |
|
22 goto end |
|
23 |
|
24 :doit |
|
25 echo on |
|
26 call sbs |
|
27 call makesis teststartlistembedded.pkg |
|
28 call makesis teststartlistembedded_winscw.pkg |
|
29 call signsis teststartlistembedded.sis teststartlistembedded.sisx %CERTPATH%\rd.cer %CERTPATH%\rd-key.pem |
|
30 call signsis teststartlistembedded_winscw.sis teststartlistembedded_winscw.sisx %CERTPATH%\rd.cer %CERTPATH%\rd-key.pem |
|
31 del teststartlistembedded.sis |
|
32 del teststartlistembedded_winscw.sis |
|
33 call makesis teststartlistembedded_main.pkg |
|
34 call makesis teststartlistembedded_main_winscw.pkg |
|
35 call signsis teststartlistembedded_main.sis teststartlistembedded_main.sisx %CERTPATH%\rd.cer %CERTPATH%\rd-key.pem |
|
36 call signsis teststartlistembedded_main_winscw.sis teststartlistembedded_main_winscw.sisx %CERTPATH%\rd.cer %CERTPATH%\rd-key.pem |
|
37 if not exist ..\..\data mkdir ..\..\data |
|
38 if not exist ..\..\data\mmc mkdir ..\..\data\mmc |
|
39 if exist ..\..\data\mmc\teststartlistembedded.sisx del /F/Q ..\..\data\mmc\teststartlistembedded.sisx |
|
40 move teststartlistembedded_main.sisx ..\..\data\mmc\teststartlistembedded.sisx |
|
41 if exist ..\..\data\mmc\teststartlistembedded_winscw.sisx del /F/Q ..\..\data\mmc\teststartlistembedded_winscw.sisx |
|
42 move teststartlistembedded_main_winscw.sisx ..\..\data\mmc\teststartlistembedded_winscw.sisx |
|
43 del teststartlistembedded_main.sis |
|
44 del teststartlistembedded_main_winscw.sis |
|
45 call sbs reallyclean |
|
46 dir ..\..\data\mmc |
|
47 |
|
48 :end |
|
49 set CERTPATH= |