secureswitools/swisistools/test/tinterpretsisinteg/makesisi003_db.bat
author hgs
Fri, 06 Aug 2010 10:59:22 +0300
changeset 58 67f2119dc623
parent 0 ba25891c3a9e
permissions -rw-r--r--
201031_01

@rem
@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
@rem All rights reserved.
@rem This component and the accompanying materials are made available
@rem under the terms of the License "Eclipse Public License v1.0"
@rem which accompanies this distribution, and is available
@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
@rem
@rem Initial Contributors:
@rem Nokia Corporation - initial contribution.
@rem
@rem Contributors:
@rem
@rem Description:
@rem

:: This batch file copies sis file/files to sisfiles folder
@ECHO OFF

 REM testcaseI003
 call makesis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdatai003\restore_backup_nr.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\restore_backup_nr.sis > NUL
 call signsis -s \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\restore_backup_nr.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\restore_backup_nr.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdatai003\good-r5.pem  \epoc32\winscw\c\tswi\tinterpretsisinteg\testdatai003\good-r5.key.pem  > NUL
 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\restore_backup_nr.sis -w info -l /epoc32/winscw/c/interpretsis_test_harness_db.txt > NUL
 if not exist \epoc32\winscw\c\sys\install\sisregistry\89334285  mkdir \epoc32\winscw\c\sys\install\sisregistry\89334285 > NUL
 if not exist \epoc32\winscw\c\sys\bin mkdir \epoc32\winscw\c\sys\bin > NUL
 if not exist \epoc32\winscw\c\sys\hash mkdir \epoc32\winscw\c\sys\hash > NUL
 copy .\cdrive\sys\install\sisregistry\89334285\ \epoc32\winscw\c\sys\install\sisregistry\89334285\ /Y > NUL
copy .\romdrive\sys\install\scr\provisioned\scr.db \epoc32\winscw\c\sys\install\scr\scr.db /Y > NUL
 copy .\cdrive\sys\bin\restore_backup_nr.exe \epoc32\winscw\c\sys\bin\restore_backup_nr.exe /Y > NUL
 copy .\cdrive\sys\hash\restore_backup_nr.exe \epoc32\winscw\c\sys\hash\restore_backup_nr.exe /Y > NUL
 if exist \epoc32\winscw\c\sys\install\sisregistry\backup.lst del \epoc32\winscw\c\sys\install\sisregistry\backup.lst > NUL