installationservices/swi/test/tuiscriptadaptors/scripts/overwriteprivate_positive.bat
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     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 the License "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:
       
    15 @rem
       
    16 
       
    17 @ECHO Off
       
    18 
       
    19 REM Setup required before running testexecute overwriteprivate_positive.script
       
    20 REM Copies the swi policy file specified in %1 to the correct place
       
    21 REM Called with the the policy file as the only argument
       
    22 
       
    23 set FILE=\epoc32\winscw\c\tswi\policies\%1
       
    24 
       
    25 echo Installing SWI cert store data file from %FILE%
       
    26 
       
    27 mkdir \epoc32\release\winscw\udeb\z\System\Data\
       
    28 mkdir \epoc32\release\winscw\urel\z\System\Data\
       
    29 copy %FILE% \epoc32\release\winscw\udeb\z\System\Data\swipolicy.ini
       
    30 copy %FILE% \epoc32\release\winscw\urel\z\System\Data\swipolicy.ini
       
    31 
       
    32 echo Copy tswiusergrantable_none.exe into ROM
       
    33 
       
    34 rem Copy tswiusergrantable_none.exe into ROM
       
    35 rem
       
    36 rem This is required for the second test in overwriteprivate.bat
       
    37 rem testing DEF094558: Overwriting orphaned executables blows up install process
       
    38 rem 
       
    39 
       
    40 copy \epoc32\release\winscw\udeb\tswiusergrantable_none.exe \epoc32\release\winscw\udeb\Z\tswi\testexes\tswiusergrantable_none.exe
       
    41 copy \epoc32\release\winscw\urel\tswiusergrantable_none.exe \epoc32\release\winscw\urel\Z\tswi\testexes\tswiusergrantable_none.exe
       
    42