sisinstallerrors.h File Reference

const TInt KErrSISFieldIdMissing

const TIntKErrSISFieldIdMissing

Field Id was not found during SIS file parsing.

const TInt KErrSISFieldLengthMissing

const TIntKErrSISFieldLengthMissing

Field Length was not found during SIS file parsing.

const TInt KErrSISFieldLengthInvalid

const TIntKErrSISFieldLengthInvalid

An incorrect Field Length was encountered during field parsing in a SIS file. This might happen in both corrupted SIS files, and potentially malicious SIS files trying to cause panic conditions via large allocations.

const TInt KErrSISStringInvalidLength

const TIntKErrSISStringInvalidLength

A specific case of KErrSISFieldLengthInvalid for SISString. In addition to the cases documented for KErrSISFieldLengthMissing, it can happen whenever a string with an odd length is specified (which is invalid on a UCS2 field).

const TInt KErrSISSignedControllerSISControllerMissing

const TIntKErrSISSignedControllerSISControllerMissing

SIS Controller was not found in a signed SIS file.

const TInt KErrSISControllerSISInfoMissing

const TIntKErrSISControllerSISInfoMissing

SISInfo field was missing in a SIS controller.

const TInt KErrSISInfoSISUidMissing

const TIntKErrSISInfoSISUidMissing

SISUid field was missing in a SISInfo structure.

const TInt KErrSISInfoSISNamesMissing

const TIntKErrSISInfoSISNamesMissing

SISNames field was not found in a SISInfo structure. This might happen if a name was not found for a specific language (i.e. the number of languages specified is higher than the number of names specified in a SISInfo).

const TInt KErrSISFieldBufferTooShort

const TIntKErrSISFieldBufferTooShort

An insufficient buffer length was specified while parsing a SIS file.

const TInt KErrSISStringArrayInvalidElement

const TIntKErrSISStringArrayInvalidElement

An invalid element was found in a SISStringArray.

const TInt KErrSISInfoSISVendorNamesMissing

const TIntKErrSISInfoSISVendorNamesMissing

SISVendorNames field was not found in a SISInfo structure. This might happen if a vendor name was not found for a specific language (i.e. the number of languages specified is higher than the number of vendor names specified in a SISInfo).

const TInt KErrSISInfoSISVersionMissing

const TIntKErrSISInfoSISVersionMissing

SISVersion field was not found in a SISInfo structure.

const TInt KErrSISControllerSISSupportedLanguagesMissing

const TIntKErrSISControllerSISSupportedLanguagesMissing

SISSupportedLanguages field was missing in a SIS controller.

const TInt KErrSISSupportedLanguagesInvalidElement

const TIntKErrSISSupportedLanguagesInvalidElement

An incorrectly constructed SISSupportedLanguages element was found during SIS file installation.

const TInt KErrSISLanguageInvalidLength

const TIntKErrSISLanguageInvalidLength

Invalid length was specified in a SISLanguage element.

const TInt KErrSISContentsSISSignedControllerMissing

const TIntKErrSISContentsSISSignedControllerMissing

Invalid length was specified in a SISLanguage element.

const TInt KErrSISContentsSISDataMissing

const TIntKErrSISContentsSISDataMissing

SISData was missing in a SIS file.

const TInt KErrSISDataSISFileDataUnitMissing

const TIntKErrSISDataSISFileDataUnitMissing

SISFileData was missing in a SISDataUnit structure.

const TInt KErrSISFileDataUnitTargetMissing

const TIntKErrSISFileDataUnitTargetMissing

Target was missing for a SISFile data unit.

const TInt KErrSISFileOptionsMissing

const TIntKErrSISFileOptionsMissing

SISFileOptions field was missing.

const TInt KErrSISFileDataUnitDescriptorMissing

const TIntKErrSISFileDataUnitDescriptorMissing

SISFileDataUnit descriptor was missing.

const TInt KErrSISFileDataDescriptionMissing

const TIntKErrSISFileDataDescriptionMissing

SISFileData description was missing.

const TInt KErrSISContentsMissing

const TIntKErrSISContentsMissing

SISContents field was missing in a SIS file.

const TInt KErrSISEmbeddedControllersMissing

const TIntKErrSISEmbeddedControllersMissing

An embedded controller was missing in a SISController structure.

const TInt KErrSISEmbeddedDataUnitsMissing

const TIntKErrSISEmbeddedDataUnitsMissing

An embedded SISDataUnit was missing.

const TInt KErrSISControllerOptionsMissing

const TIntKErrSISControllerOptionsMissing

SISupportedOptions field was missing in a SIS controller.

const TInt KErrSISExpressionMissing

const TIntKErrSISExpressionMissing

A SISExpression was missing.

const TInt KErrSISExpressionStringValueMissing

const TIntKErrSISExpressionStringValueMissing

A StringValue was missing in a SISExpression.

const TInt KErrSISOptionsStringMissing

const TIntKErrSISOptionsStringMissing

A SISOptionString was missing.

const TInt KErrSISFileOptionsExpressionMissing

const TIntKErrSISFileOptionsExpressionMissing

A SISFileOptionsExpression was missing.

const TInt KErrSISExpressionHeadValueMissing

const TIntKErrSISExpressionHeadValueMissing

A SISExpression integer value was missing.

const TInt KErrSISEmbeddedSISOptionsMissing

const TIntKErrSISEmbeddedSISOptionsMissing

SISEmbeddedSISOptions were missing.

const TInt KErrSISInfoSISUpgradeRangeMissing

const TIntKErrSISInfoSISUpgradeRangeMissing

SISUpgradeRange was missing in a SISInfo.

const TInt KErrSISDependencyMissingUid

const TIntKErrSISDependencyMissingUid

UID was missing in a SISDependency.

const TInt KErrSISDependencyMissingVersion

const TIntKErrSISDependencyMissingVersion

Version was missing in a SISDependency.

const TInt KErrSISDependencyMissingNames

const TIntKErrSISDependencyMissingNames

Names were missing in a SISDependency.

const TInt KErrSISPrerequisitesMissingDependency

const TIntKErrSISPrerequisitesMissingDependency

A prerequisite was not found for a SIS file. Please note that all prerequisites should be found either in the SIS file itself or pre-installed on the device.

const TInt KErrSISControllerMissingPrerequisites

const TIntKErrSISControllerMissingPrerequisites

SISPrerequisites field was missing in a SIS controller.

const TInt KErrSISUpgradeRangeMissingVersion

const TIntKErrSISUpgradeRangeMissingVersion

Version field was missing in a SISUpgradeRange.

const TInt KErrSISUnexpectedFieldType

const TIntKErrSISUnexpectedFieldType

An unexpected field type was found while parsing a SIS file. This is most likely to happen when a certain field type is expected in a certain structure, and another one is detected instead.

const TInt KErrSISExpressionUnknownOperator

const TIntKErrSISExpressionUnknownOperator

An unknown operator was encountered in a SISExpression.

const TInt KErrSISArrayReadError

const TIntKErrSISArrayReadError

The length of a SISArray does not match the sum of the length of its items and the internal field type size.

const TInt KErrSISArrayTypeMismatch

const TIntKErrSISArrayTypeMismatch

Internal element type in a SISArray does not match the expected element type for that array. E.g., an array of strings was expected, but an array of another type was found.

const TInt KErrSISInvalidStringLength

const TIntKErrSISInvalidStringLength

A specific case of KErrSISFieldLengthInvalid for SISString. In addition to the cases documented for KErrSISFieldLengthMissing, it can happen whenever a string with an odd length is specified (which is invalid on a UCS2 field).

const TInt KErrSISCompressionNotSupported

const TIntKErrSISCompressionNotSupported

An unknown compression algorithm was encountered in a SIS file.

const TInt KErrSISTooDeeplyEmbedded

const TIntKErrSISTooDeeplyEmbedded

A too deep level of embedding was found in a SIS file (a default maximal depth is 8).

const TInt KErrSISInvalidTargetFile

const TIntKErrSISInvalidTargetFile
An invalid target file specification was found in a SIS file. Typical examples are:
  • A wrong drive has been specified.

An update package attempted to change files out of the scope of the original package.
  • Non-executable or a DLL was being installed to "/sys/bin".

  • An attempt was made to overwrite a file by an existing package.

Other sorts of incorrect target file path specification in a SIS file can also lead to the same error. This code is usually generated in conjunction with other error codes, for example EUiInvalidFileName or EUiDiskNotPresent.

const TInt KErrSISWouldOverWrite

const TIntKErrSISWouldOverWrite

A file being installed would overwrite an existing file, for instance because it has already been installed.

const TInt KErrSISInfoMissingRemoveDirectories

const TIntKErrSISInfoMissingRemoveDirectories

RemoveDirectories were missing in a SISInfo.

const TInt KErrSISNotEnoughSpaceToInstall

const TIntKErrSISNotEnoughSpaceToInstall

Not enough space to install a SIS file.

const TInt KErrInstallerLeave

const TIntKErrInstallerLeave

A generic error was encountered in the SIS installer.

const TInt KErrPolicyFileCorrupt

const TIntKErrPolicyFileCorrupt

A corrupt policy file was found on the device.

const TInt KErrSignatureSchemeNotSupported

const TIntKErrSignatureSchemeNotSupported

Security policy file declared a signature scheme which is not supported by the Symbian OS.

const TInt KErrDigestNotSupported

const TIntKErrDigestNotSupported

An unsupported digest function was used in a signed SIS file.

const TInt KErrBadHash

const TIntKErrBadHash

A bad digest was found in a signed file. Usually it happens when the signed file has been tampered with.

const TInt KErrSecurityError

const TIntKErrSecurityError
A general-purpose error code method after installation was aborted due to a security error which had already been reported via a callback dialog (see MUiHandler interface). Typical examples which can lead to KErrSecurityError are:
  • The SIS file is not signed but the device is set up to require they be so.
    • The SIS file's content contains a protected SID/VID which isn't signed for.

    • System capabilities are requested but not signed for.

const TInt KErrBadUsage

const TIntKErrBadUsage[static]

A general-purpose error code for misuse of an interface.

const TInt KErrInvalidType

const TIntKErrInvalidType[static]

Invalid type while evaluating an expression.

const TInt KErrInvalidExpression

const TIntKErrInvalidExpression[static]

Invalid expression format has been encountered.

const TInt KErrExpressionToComplex

const TIntKErrExpressionToComplex[static]

Expression was too complex to process (e.g. had too many nesting levels).

const TInt KErrMissingBasePackage

const TIntKErrMissingBasePackage

An installation of an augmentation or partial upgrade failed, since the base package is not present on the device.

const TInt KErrInvalidUpgrade

const TIntKErrInvalidUpgrade

An upgrade failed because the package being installed is not a valid upgrade of the package on the device.

const TInt KErrInvalidEclipsing

const TIntKErrInvalidEclipsing

Detected an attempt to perform an illegal eclipsing of a file during installation or restore.

const TInt KErrWrongHeaderFormat

const TIntKErrWrongHeaderFormat

An incorrect executable format was detected by the software installer.

const TInt KErrCapabilitiesMismatch

const TIntKErrCapabilitiesMismatch

Mismatch between capabilities declared in the executable, and those found in the SIS file controller section.

const TInt KErrLegacySisFile

const TIntKErrLegacySisFile

A legacy SIS file has been detected.

const TInt KErrInvalidSoftwareTypeRegistrationFile

const TIntKErrInvalidSoftwareTypeRegistrationFile

An installation failed because the package being installed contains an invalid software type registration file.