1 rem |
|
2 rem Copyright (c) 2010 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: Create QTMS UDEB SIS package |
|
15 rem |
|
16 |
|
17 @echo off |
|
18 echo ---------------------------- |
|
19 echo Configuring for RnD SIS |
|
20 echo ---------------------------- |
|
21 echo Start of configure time: |
|
22 time /t |
|
23 |
|
24 :CREATE_DIR |
|
25 echo. |
|
26 echo - create Sis folder (created only if needed) |
|
27 mkdir .\SIS |
|
28 |
|
29 :COPY_DLL |
|
30 echo. |
|
31 echo - Copy dlls [udeb]: |
|
32 copy %EPOCROOT%epoc32\release\armv5\udeb\qtmsapi.dll . |
|
33 |
|
34 if errorlevel == 1 goto END_ERROR |
|
35 |
|
36 :CALL_ELFTRAIN |
|
37 echo - Updating Version No [10.1] (calling elftran) |
|
38 call elftran.exe -version 10.1 qtmsapi.dll |
|
39 |
|
40 :MAKESIS |
|
41 makesis ..\SIS\qtms.pkg ..\SIS\qtms.sis |
|
42 signsis ..\SIS\qtms.sis ..\SIS\qtms.sisx rd.crt rd.key |
|
43 if errorlevel == 1 goto END_ERROR |
|
44 |
|
45 :DELETE_DLL |
|
46 echo. |
|
47 echo - remove the copied dlls from current folder |
|
48 del qtmsapi.dll |
|
49 |
|
50 goto END |
|
51 |
|
52 :END_ERROR |
|
53 echo. |
|
54 echo Sis creation failed. |
|
55 goto FINAL_END |
|
56 |
|
57 :END |
|
58 echo. |
|
59 echo Sis file created succesfully |
|
60 echo ============================ |
|
61 |
|
62 :FINAL_END |
|
63 echo End of configure time is: |
|
64 time /t |
|