project/com.nokia.carbide.cpp.epoc.engine.tests/data/pkg/example/conditional.pkg
author tzelaw
Tue, 14 Apr 2009 15:03:19 -0500
changeset 94 d74b720418db
parent 2 d760517a8095
permissions -rw-r--r--
Test framework support: Ask debugger to remember DebugTarget so test framework can use it to setup test framework related utility. With this we can use the DebugUI way of launching while keeping test framework functionality
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
;
cawthron
parents:
diff changeset
     2
; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
cawthron
parents:
diff changeset
     3
; All rights reserved.
cawthron
parents:
diff changeset
     4
; This component and the accompanying materials are made available
cawthron
parents:
diff changeset
     5
; under the terms of the License "Eclipse Public License v1.0"
cawthron
parents:
diff changeset
     6
; which accompanies this distribution, and is available
cawthron
parents:
diff changeset
     7
; at the URL "http://www.eclipse.org/legal/epl-v10.html".
cawthron
parents:
diff changeset
     8
;
cawthron
parents:
diff changeset
     9
; Initial Contributors:
cawthron
parents:
diff changeset
    10
; Nokia Corporation - initial contribution.
cawthron
parents:
diff changeset
    11
;
cawthron
parents:
diff changeset
    12
; Contributors:
cawthron
parents:
diff changeset
    13
;
cawthron
parents:
diff changeset
    14
; Description: 
cawthron
parents:
diff changeset
    15
;
cawthron
parents:
diff changeset
    16
; PKG file designed to show conditional installation
cawthron
parents:
diff changeset
    17
cawthron
parents:
diff changeset
    18
&EN
cawthron
parents:
diff changeset
    19
cawthron
parents:
diff changeset
    20
%{"Symbian Software Ltd."}
cawthron
parents:
diff changeset
    21
cawthron
parents:
diff changeset
    22
:"Symbian Software Ltd."
cawthron
parents:
diff changeset
    23
cawthron
parents:
diff changeset
    24
#{"ConditionalInstall"}, (0x10000041), 1, 2, 3
cawthron
parents:
diff changeset
    25
cawthron
parents:
diff changeset
    26
!({"Option1"},{"Option2"},{"Option3"})
cawthron
parents:
diff changeset
    27
cawthron
parents:
diff changeset
    28
if exists("c:\private\10000041\import\InstTest\romeo.txt")
cawthron
parents:
diff changeset
    29
    "text\romeo.txt"-"!:\private\10000042\import\InstTest\romeo1.txt"
cawthron
parents:
diff changeset
    30
else
cawthron
parents:
diff changeset
    31
    "text\romeo.txt"-"!:\private\10000042\import\InstTest\romeo.txt"
cawthron
parents:
diff changeset
    32
endif
cawthron
parents:
diff changeset
    33
cawthron
parents:
diff changeset
    34
if (option1 = 1) AND (option2 = 1)
cawthron
parents:
diff changeset
    35
    "files\tbit.gif"-"!:\private\10000042\import\InstTest\tbit.gif"
cawthron
parents:
diff changeset
    36
endif