Join Now
Quality Rating:
  • Currently 5.0 / 5
(5.0 / 5 - 1 vote cast)
Expertise Level:
  • Currently 5.0 / 5
(5.0 / 5 - 1 vote cast)

This page was last modified 05:50, 20 March 2008.

S60 SW installer troubleshooting

From Forum Nokia Wiki


Contents

Introduction

This article provides general checklist and troubleshooting guide for most common S60 native SW installer errors


General Checklist

Before starting installation, you need to make sure that

  • Device date is correct.
  • Installation package is Symbian OS 9.x compatible.
  • Binaries in installation package is suitable for the target environment (no winscw binaries).
  • Installation package is signed (self-signed or certified). You can check the signature by running signsis with "-o" option. Sample usage
signsis -o test.sis
  • Installation package doesn't contain invalid paths or file names. These include.
    • Files that are installed to private folders of other processes.
    • File paths that contain "..", "/", "\\"
  • You are using correct device to install a package signed with developer certificate.
  • Target drive has enough space for installation.
  • Installation package doesn't install file that is already in ROM.
  • Installation package doesn't install file that was installed by other package.
  • Installation package doesn't install an EXE with a SID with the value of 0.
  • Installation package doesn't install an EXE with a SID which is already in use by other exe.
  • Installation package is not self-signed if device security policy. allows installation of only certified applications.
  • Installation package cannot be self-signed if it installs EXE/DLL with capabilities that cannot be granted with user's approval.
  • Don't use package UID from protected range if installation package is self signed.
  • Don't use SIDs from protected range if installation package is self signed.


Error Messages & Possible Reasons

"Update error"

  • The installation package is attempting to overwrite a file that doesn't belong to it.
    • This also applies if your Standard Application (SA) package has the same UID as an already installed one, but uses a different package name (note that this does not refer to the file name of the SIS file, but the user-visible package name declared inside the PKG file).
    • You have a file, such as a resource shared between two applications, and one of the applications is already installed.
  • Partial Upgrade (PU) installation package is attempting to upgrade preinstalled package.
  • Attempting to install preinstalled app on top of another application that shares same package UID.
  • Upgrade package is not trusted to upgrade its base package.
  • Augmentation package (SP type) is using same package name used by base package.
  • Installation package is attemping to overwrite orphave binary and security policy doesn't allow it.

"File is corrupted!"

  • Installation package is corrupted.
  • Installation package contains invalid file name(s).
  • A file needed to proceed cannot be found.
  • File to be installed is not a recognized valid SISX file.


"Unable to install"

  • Attempting to install a file that is already in ROM.
  • SECUREID is not correct (in MMP file)
  • Attempting a FR,RI (in PKG file) wihtout a Developers Certificate
  • Minimum EPOCHEAPSIZE is bigger than maximum EPOCHEAPSIZE

"Unable to install. Disk not present."

  • Target drive is not present.
  • Wrong drive has been specified.


"Cannot read file!"

  • a file which is needed for installation to proceed cannot be read.


"Cannot delete file!"

  • File cannot be deleted during un/installation. File to be deleted is kept locked by other processes.


"Cannot grant capabilities"

  • Installation package has EXEs/DLLs with capabilities that cannot be granted by signing certificate.


"Certificate check failed. Contact application supplier."

  • Installation package is not signed.
  • Certificate has extended key usage (EKU) extension that doesn't have CodeSigning usage.
  • Signature cannot be validated.
  • If SWI root certificate database has mandatory certificate(s), then signing certificate of installation package is not trust chained to mandatory root(s).
  • If security policy requires certain extension(s), then signing certificate is missing them.
  • Certificate chain validation failed.
  • If device allows installation of certified installation packages, then you are attempting to install self-signed package.


"Certificate expired"

  • Installation package is signed with expired certificate.
  • Make sure that device has correct date/time.


"Certificate validity dates do not match with the phone's date. Check your date settings."

  • Certificate date is invalid (future date). This could be caused by maintenance work on the SymbianSigned web site.

"Online certificate check could not be conducted. Check your settings."

  • Wrong OCSP responder URL in Application Manager settings.
  • OCSP response signature cannot be validated.
  • Invalid OCSP response.


"Online certificate check failed."

  • OCSP transport error (request failure).
  • OCSP server internal error.
  • No OCSP server is specified in Application Manager settings ("Application Manager->Options->Settings->Default web address").
  • Client internal error.
  • OCSP check is set to "Must be passed" in ("Application Manager->Options->Settings->Online certificate check") and is OCSP response indicates that certificate status in "unknown".
  • Certificate is self-signed.


"Certificate revoked"

  • OCSP status indicates that certificate is revoked.


"Cannot install. Access denied."

  • Target directory/file path is not legal. This usually happens while attempting to install files to a private folder that belongs to other process(es).
  • Installation package uses FN option to delete private folders that belongs to other process(es).


"Unable to install. Install the base package first."

  • Attempting to install upgrade package without having base package.


"Cannot install a protected application from untrusted supplier"

  • Self-signed installation package uses package UID from protected range ( < 0x80000000 ).
  • Self-signed installation package has EXE that uses SID from protected range ( < 0x80000000 ).
  • Self-signed installation package has EXE/DLL that has non-zero VID (VendorID).


"Unable to install. Constrained by the certificate."

  • Symbian Signed developer certificate constrains device IMEIs, SIDs, VIDs. This specific error message is shown in certain cases such as attempting to install package on a device with different IMEI.


Most common reasons for preinstalled application installation problems

  • Missing and/or modified files in preinstalled packages are the most common reason for installation and package propagation failures.


External links

Related Discussions
Thread Thread Starter Forum Replies Last Post
How to create - an installer on Nokia 9210 and other Personal Java phones melas21 Personal Profile 0 2005-01-05 10:45
Please can any one help me with this problem? thefaster999 Mobile Java Games 2 2007-07-17 11:10
Audio Suite Loading Problems agray8uk Audio 1 2003-04-25 09:11
THEME STUDIO 3.0 choody81 Symbian Media (Graphics & Sounds) 1 2006-08-09 11:45
Installation of Nokia Developer Suite 1.1 (J2ME) for Linux craine Mobile Java Tools & SDKs 11 2004-01-06 05:06
 
Powered by MediaWiki