project/com.nokia.carbide.cpp.epoc.engine.tests/data/pkg/example/conditional.pkg
author timkelly
Tue, 17 Aug 2010 08:39:31 -0700
branchC3_BUILDER_WORK
changeset 1842 f6d3febbf42c
parent 0 fb279309251b
permissions -rw-r--r--
more Linux fixes. Couple issues found: 1) Rescanning SDKs causes deadlock. 2) SDK cache is not working for Linux 3) Can't import when SBS is not installed (and there's not error msg)

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