Discussion Board

Results 1 to 3 of 3

Hybrid View

  1. #1
    Registered User
    Join Date
    Apr 2007

    Creating and installing SIS on emulator


    Objective : To create and install a WINSCW sis file on the emulator.

    I am following instructions found at http://discussion.forum.nokia.com/fo...ewthread&f=124 here and my objective is to build and install a sis file on the emulator and after researching this I am still failing with 'File Corrupted' when opening the sis file within the emulator.

    My Steps :

    1. Acquired Developer certificate bound to emulator's 000000000000000 IMEI.
    2. Compile/Linked my project.
    3. Created a pkg file that points to the WINSCW binaries (one EXE and one DLL) instead of the gcce binaries.
    4. Used CreateSis tool to create and sign my sis file. This was fine.
    5. The instructions in the link above in regards to installing the emulator root certificates are a bit vague

    "To solve the problem, unzip the file certstore_S60_3rd_SDK.zip to your current SDK installation folder."

    So I unzipped the file into my "C:\Symbian\9.1" installation folder and "C:\Symbian\9.1\S60_3rd_MR\Epoc32" folder (and a few others too).

    What have I missed here ???

    I'm guessing that the emulator root certificate installation hasnt been done properly due the the vagueness of that bit of the instructions.

    Any glimmering pearls of wisdom would be appreciated. I am wasting time and want to get on with testing etc.


  2. #2
    Regular Contributor
    Join Date
    May 2007

    Re: Creating and installing SIS on emulator

    By the sounds of it, you're right. There is exactly one file in the package, swicertstore.dat, and it needs to go in \epoc32\release\winscw\udeb\z\resource.

    You can check if you've done it right by opening the control panel app on the emulator, and going to general > security > certificates, and making sure Symbian A, B, C and D are present.
    Get Resolvr - The Zeroconf framework for Symbian OS free today. Make your IP networking applications fun and easy to use. http://www.novelinteractions.com/resolvr/
    Proud to be the only autorickshaw owner in Cambridge - http://blog.novelinteractions.com/images/tuktuk.jpg

  3. #3
    Registered User
    Join Date
    Apr 2007

    Re: Creating and installing SIS on emulator

    Thanks Mr Davies.

    Only thing is that when i go into Settings -> Security -> Certif. management I get a crash System Error (-1) which is KErrNotFound, so I'm not quite sure what it is looking for (and that isn't there).

    Something has changed though. When i install I get "Unable to install a protected application from an untrusted supplier", which is a bit better I guess (hey~! its different to file corrupt). This is because i am using a protected UID I got from symbiansigned judging from the useful http://blogs.forum.nokia.com/view_entry.html?id=93.

    I have rolled back to the UID (unprotected) that Carbide.vs gave me and repackaged, but ended up with the generic "Unable to install" message. I am not installing anything in the pkg to a private folder (except \private\10003a3f\import\apps\*.rSC) here.

    After doing some research on this I found out that I need to install the certificate to the emulator (because when i got the dev cert from symbian I had no verisign), so I found this useful page http://www.s2.org/~pekangas/creating...tificates.html which told me to convert the *.cer to DER format to use with the device certificate management to install it. This is done (DER conversion), but I cannot use certif management to install the certificate onto the emulator because it crashes.

    1. Do I used a UID sourced from SymbianSigned in the protected range for this exercise?

    2. How do I get the Certif. Management to work without crashing, is this a problem in my epoc.ini file? I havent found anything on this after researching.

    Here is the contents of my pkg file :

    ; MSCAS.pkg
    ; MSCAS.pkg
    ; Languages
    ; Header
    #{"MSCAS"},(0x2000C7D9), 0, 1, 1
    ; Platform compatibility
    [0x101F7961], *, *, *, {"Series60ProductID"}
    ; vendor
    %{"PC Tools"}
    :"PC Tools"
    ; Signature
    ; Target
    Here is the contents of my epoc.ini file

    configuration epoc_352x416.ini
    configuration epoc_416x352.ini
    configuration epoc_176x208.ini
    configuration epoc_208x176.ini
    configuration epoc_240x320.ini
    configuration epoc_320x240.ini
    PlatSecDiagnostics ON
    PlatSecEnforceSysBin ON
    PlatSecProcessIsolation ON
    PlatSecEnforcement OFF
    PlatSecDisabledCaps TCB
    LogToFile 1
    LogToDebugger 1
    JustInTime debug
    _EPOC_DRIVE_D \epoc32\winscw\d
    _EPOC_DRIVE_Z \Epoc32\release\winscw\udeb\z
    _EPOC_LocDrv_1 E: FAT
    MegabytesOfFreeMemory 32
    Your help would be appreciated

Similar Threads

  1. Multiple SIS files with and without executables/libraries
    By jappers in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 1
    Last Post: 2007-05-15, 17:06
  2. Creating and installing SIS file...
    By Himanshu_Joshi in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2007-04-12, 17:36
  3. Error when installing SIS on phone
    By chris69 in forum Symbian
    Replies: 2
    Last Post: 2004-02-05, 08:42
  4. Creating sis files without full SDK?
    By Marw_Work in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-05-07, 11:06
  5. Replies: 0
    Last Post: 2002-09-27, 06:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts