project/com.nokia.carbide.cpp.epoc.engine.tests/data/pkg/example/conditional.pkg
author stechong
Tue, 19 Oct 2010 14:41:12 -0500
changeset 2162 aa3898248f39
parent 0 fb279309251b
permissions -rw-r--r--
Fixed bad cast exceptions caused by casting from CarbideBuildConfiguration to ISBSv1BuildContext.

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

&EN

%{"Symbian Software Ltd."}

:"Symbian Software Ltd."

#{"ConditionalInstall"}, (0x10000041), 1, 2, 3

!({"Option1"},{"Option2"},{"Option3"})

if exists("c:\private\10000041\import\InstTest\romeo.txt")
    "text\romeo.txt"-"!:\private\10000042\import\InstTest\romeo1.txt"
else
    "text\romeo.txt"-"!:\private\10000042\import\InstTest\romeo.txt"
endif

if (option1 = 1) AND (option2 = 1)
    "files\tbit.gif"-"!:\private\10000042\import\InstTest\tbit.gif"
endif