devicediagnostics/build/devdiagapp_udeb_sis.bat
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:40:12 +0200
changeset 0 3ce708148e4d
permissions -rw-r--r--
Revision: 200949 Kit: 200951

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 "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

@echo off
echo.

:armv5
makesis devdiagapp_armv5_udeb.pkg devdiagapp_UDeb.sis
if '%errorlevel%'=='0' goto sign
echo.
echo SIS creation failed.
echo Make sure ARMv5 files and plugin CenRep SIS files were built properly.
goto end

:sign
echo.
echo Signing devdiagapp_UDeb.sis...
signsis devdiagapp_UDeb.sis devdiagapp_UDeb.sisx s60_rnd\rd_rootca\rd.cer s60_rnd\rd_rootca\rd-key.pem
if '%errorlevel%'=='0' goto done
echo SIS signing failed.  Check the certificates.
goto end

:done
echo Created devdiagapp_UDeb.sisx
#del /Q devdiagapp_Udeb.sis

:end