installationservices/swinstallationfw/common/inc/usiferror.h
changeset 24 84a16765cd86
child 25 98b66e4fb0be
equal deleted inserted replaced
6:aba6b8104af3 24:84a16765cd86
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 * Error codes defined by the Universal Software Install Framework.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 /**
       
    21  @file
       
    22  @publishedAll
       
    23  @released 
       
    24 */
       
    25 
       
    26 #ifndef USIFERROR_H
       
    27 #define USIFERROR_H
       
    28 
       
    29 /** A general error in one of the Unified Installer Framework components. */
       
    30 const TInt KErrSifUnknown = -10300;
       
    31 
       
    32 /** Installation of a software upgrade could not complete because the package being upgraded was not installed on the device. */
       
    33 const TInt KErrSifMissingBasePackage = -10301;
       
    34 
       
    35 /** Installation of a software component could not complete because one or more of the packages it depends on are not present on the device. */
       
    36 const TInt KErrSifMissingDependencies = -10302;
       
    37 
       
    38 /** Installation of a software component could not complete because there was no matching installer for the package. */
       
    39 const TInt KErrSifUnsupportedSoftwareType = -10303;
       
    40 
       
    41 /** Installation of a software component failed because the delivery package was corrupt. */
       
    42 const TInt KErrSifCorruptedPackage = -10304;
       
    43 
       
    44 /** Installation of a software component failed since the parameters passed via the Software Install Framework were too large. */
       
    45 const TInt KErrSifOverflow = -10307;
       
    46 
       
    47 /** Installation of a software component failed because the same version of the component is already installed on the system. */
       
    48 const TInt KErrSifSameVersionAlreadyInstalled = -10309;
       
    49 
       
    50 /** Installation of a software component failed because a newer version of the same component is already installed on the system. */
       
    51 const TInt KErrSifNewerVersionAlreadyInstalled = -10310;
       
    52 
       
    53 /** Activation of a component failed because it was already activated. */
       
    54 const TInt KErrSifAlreadyActivated = -10311;
       
    55 
       
    56 /** Deactivation of a component failed because it was already inactive. */
       
    57 const TInt KErrSifAlreadyDeactivated = -10312;
       
    58 
       
    59 /** The component id specified is not installed on the system. */
       
    60 const TInt KErrSifBadComponentId = -10313;
       
    61 
       
    62 /** The component was not installed due to lack of free space on the target drive. */
       
    63 const TInt KErrSifNotEnoughSpace = -10314;
       
    64 
       
    65 /** The component was not installed due to an internal problem with the corresponding installer. */
       
    66 const TInt KErrSifBadInstallerConfiguration = -10315;
       
    67 
       
    68 /** Installation of a component failed because the package is not targeted for this device. */
       
    69 const TInt KErrSifPackageCannotBeInstalledOnThisDevice = -10316;
       
    70 
       
    71 /** Installation of a component failed because the component's language is not supported this device. */
       
    72 const TInt KErrSifUnsupportedLanguage = -10317;
       
    73 
       
    74 /** At least one writing operation is in progress on the SCR server. A new transaction or subsession cannot be created.*/
       
    75 const TInt KErrScrWriteOperationInProgress = -10320;
       
    76 
       
    77 /** At least one reading operation exists on the SCR server. A new transaction cannot be created. */
       
    78 const TInt KErrScrReadOperationInProgress = -10321;
       
    79 
       
    80 /** There is no active transaction on the SCR Server owned by the calling session. */
       
    81 const TInt KErrScrNoActiveTransaction = -10322;
       
    82 
       
    83 /** The requested value couldn't be found for the specified locale. */
       
    84 const TInt KErrScrUnsupportedLocale = -10323;
       
    85 
       
    86 #endif // USIFERROR_H