equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
153 } |
153 } |
154 else |
154 else |
155 { |
155 { |
156 iISRollbackNeeded = ETrue; |
156 iISRollbackNeeded = ETrue; |
157 // If JavaInstaller is running, then existence of the Java Installer |
157 // If JavaInstaller is running, then existence of the Java Installer |
158 // integrity service directory is ok and rollback is not needed |
158 // integrity service directory is ok and rollback is not needed. |
159 TFullName processName; |
159 TFullName processName; |
160 _LIT(KJavaInstallerProcess, "*Installer*"); |
160 _LIT(KJavaInstallerProcess, "Installer*"); |
161 TFindProcess finder(KJavaInstallerProcess); |
161 TFindProcess finder(KJavaInstallerProcess); |
162 err = finder.Next(processName); |
162 err = finder.Next(processName); |
163 if (err == KErrNone) |
163 if (err == KErrNone) |
164 { |
164 { |
165 iISRollbackNeeded = EFalse; |
165 iISRollbackNeeded = EFalse; |
166 WLOG(EJavaPreinstaller, |
166 WLOG1(EJavaPreinstaller, |
167 "Java Installer is running while checking need to rollback"); |
167 "Java Installer is running while checking need to rollback (%S)", |
|
168 (wchar_t *)(processName.PtrZ())); |
168 } |
169 } |
169 } |
170 } |
170 |
171 |
171 CompleteRequest(); |
172 CompleteRequest(); |
172 } |
173 } |