project/com.nokia.carbide.cpp.epoc.engine.tests/data/pkg/example/conditional.pkg
changeset 0 fb279309251b
equal deleted inserted replaced
-1:000000000000 0:fb279309251b
       
     1 ;
       
     2 ; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 ; All rights reserved.
       
     4 ; This component and the accompanying materials are made available
       
     5 ; under the terms of the License "Eclipse Public License v1.0"
       
     6 ; which accompanies this distribution, and is available
       
     7 ; at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 ;
       
     9 ; Initial Contributors:
       
    10 ; Nokia Corporation - initial contribution.
       
    11 ;
       
    12 ; Contributors:
       
    13 ;
       
    14 ; Description: 
       
    15 ;
       
    16 ; PKG file designed to show conditional installation
       
    17 
       
    18 &EN
       
    19 
       
    20 %{"Symbian Software Ltd."}
       
    21 
       
    22 :"Symbian Software Ltd."
       
    23 
       
    24 #{"ConditionalInstall"}, (0x10000041), 1, 2, 3
       
    25 
       
    26 !({"Option1"},{"Option2"},{"Option3"})
       
    27 
       
    28 if exists("c:\private\10000041\import\InstTest\romeo.txt")
       
    29     "text\romeo.txt"-"!:\private\10000042\import\InstTest\romeo1.txt"
       
    30 else
       
    31     "text\romeo.txt"-"!:\private\10000042\import\InstTest\romeo.txt"
       
    32 endif
       
    33 
       
    34 if (option1 = 1) AND (option2 = 1)
       
    35     "files\tbit.gif"-"!:\private\10000042\import\InstTest\tbit.gif"
       
    36 endif