diff -r 000000000000 -r fb279309251b project/com.nokia.carbide.cpp.epoc.engine.tests/data/pkg/example/conditional.pkg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/project/com.nokia.carbide.cpp.epoc.engine.tests/data/pkg/example/conditional.pkg Fri Apr 03 23:33:03 2009 +0100 @@ -0,0 +1,36 @@ +; +; 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 \ No newline at end of file