persistentstorage/centralrepository/cenrepsrv/install.cpp
changeset 55 44f437012c90
parent 40 b8bdbc8f59c7
--- a/persistentstorage/centralrepository/cenrepsrv/install.cpp	Mon Sep 27 11:59:56 2010 +0100
+++ b/persistentstorage/centralrepository/cenrepsrv/install.cpp	Tue Oct 19 16:26:13 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -485,7 +485,7 @@
 	installDirFilePath.Append(KInstallDirFile);
 	
 	TRAPD(err, ReadAndInternalizeInstallDirL(installDirFilePath)); // try to open installdir file and internalize its contents
-	if (err != KErrNone) 
+	if (err != KErrNone && err != KErrNotFound && err != KErrPathNotFound) 
 		{
 		TInt fileDeleteErr = TServerResources::iFs.Delete(installDirFilePath);
 		// If a debug build - record error