|
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: GStreamer SisStub |
|
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 |
|
35 |
|
36 if errorlevel == 1 goto END_ERROR |
|
37 |
|
38 :CALL_ELFTRAIN |
|
39 echo - Updating Version No [10.1] (calling elftran) |
|
40 call elftran.exe -version 10.1 qtmsapi.dll |
|
41 |
|
42 |
|
43 |
|
44 :MAKESIS |
|
45 makesis ..\SIS\qtms.pkg ..\SIS\qtms.sis |
|
46 signsis ..\SIS\qtms.sis ..\SIS\qtms.sisx rd.crt rd.key |
|
47 if errorlevel == 1 goto END_ERROR |
|
48 |
|
49 :DELETE_DLL |
|
50 echo. |
|
51 echo - remove the copied dlls from current folder |
|
52 del qtmsapi.dll |
|
53 |
|
54 |
|
55 |
|
56 goto END |
|
57 |
|
58 :END_ERROR |
|
59 echo. |
|
60 echo Sis creation failed. |
|
61 goto FINAL_END |
|
62 |
|
63 :END |
|
64 echo. |
|
65 echo Sis file created succesfully |
|
66 echo ============================ |
|
67 |
|
68 :FINAL_END |
|
69 echo End of configure time is: |
|
70 time /t |