×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    23

    Unhappy New Symbian Signed

    I am using Symbian s60 3rd Edition FP1 with open C plugin for development.
    Trying to develop a installer which will install an exe which is autostarted at startup...

    This requires developer signed license.. But after much frustration going through SymbianSigned.com I can find no way to get a developer license to test autostart API without purchasing Publisher ID.

    While trying to use DevCertRequest_2.3 it seems option of NO publisher ID is completely removed...

    I can not even find a way to test a SIS file with autostart EVEN ON EMULATOR !!!

    Please HELP ME OUT !!!!

    ---
    Thanks
    sachin

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: New Symbian Signed

    Any trusted app can register itself for autostart. Trusted means signed with a Symbian issued certificate which at R&D stage can be a developer certificate applied online (Open Signed Online) or offline (Open Signed Offline, PublisherID required).

    So yes, you can test such feature both on device and on emulator (patch needed, see Knowledge Base in the wiki).
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  3. #3
    Registered User
    Join Date
    Nov 2007
    Posts
    23

    Unhappy Re: New Symbian Signed

    I applied a pathch to emulator which will allow me use SIS files to
    it (Earlier it was giving file corrupted Error),
    Patch Lin: (http://www.forum.nokia.com/document/...n_emulator.htm)
    But while trying to use Symbian Signed online I always recieve message :
    Your application (InstallerApp.sis) signing failed. We apologise inconvenient
    Though it is a simple hello world app with only package file having arguments Filerun, runinstall

    /*
    ============================================================================
    Name : InstallerApp.cpp
    Author :
    Copyright : Your copyright notice
    Description : Exe source file
    ============================================================================
    */

    // Include Files

    #include "InstallerApp.h"
    #include <e32base.h>
    #include <e32std.h>
    #include <e32cons.h> // Console

    // Constants

    _LIT(KTextConsoleTitle, "Console");
    _LIT(KTextFailed, " failed, leave code = %d");
    _LIT(KTextPressAnyKey, " [press any key]\n");

    // Global Variables

    LOCAL_D CConsoleBase* console; // write all messages to this


    // Local Functions

    LOCAL_C void MainL()
    {
    //
    // add your program code here, example code below

    _LIT(KMyExe, "c:\\sys\\bin\\SomeEXE.exe");
    console->Write(_L("Hello, world!\n"));
    //RProcess proc;
    //proc.Create(KMyExe, KNullDesC);
    //proc.Resume();
    //proc.Close();
    }

    LOCAL_C void DoStartL()
    {
    // Create active scheduler (to run active objects)
    CActiveScheduler* scheduler = new (ELeave) CActiveScheduler();
    CleanupStack::PushL(scheduler);
    CActiveScheduler::Install(scheduler);

    MainL();

    // Delete active scheduler
    CleanupStack::PopAndDestroy(scheduler);
    }

    // Global Functions

    GLDEF_C TInt E32Main()
    {
    // Create cleanup stack
    __UHEAP_MARK;
    CTrapCleanup* cleanup = CTrapCleanup::New();

    // Create output console
    TRAPD(createError, console = Console::NewL(KTextConsoleTitle, TSize(KConsFullScreen,KConsFullScreen)));
    if (createError)
    return createError;

    // Run application code inside TRAP harness, wait keypress when terminated
    TRAPD(mainError, DoStartL());
    if (mainError)
    console->Printf(KTextFailed, mainError);
    console->Printf(KTextPressAnyKey);
    console->Getch();

    delete console;
    delete cleanup;
    __UHEAP_MARKEND;
    return KErrNone;
    }

    And Package File Goes like This:
    ; Installation file for Symbian OS 9.x for generic console application
    ; Installation file for InstallerApp EXE
    ;
    ; This is an auto-generated PKG file by Carbide.
    ; This file uses variables specific to Carbide builds that will not work
    ; on command-line builds. If you want to use this generated PKG file from the
    ; command-line tools you will need to modify the variables with the appropriate
    ; values: $(EPOCROOT), $(PLATFORM), $(TARGET)
    ;

    ;
    ; UID is the exe's UID
    ;
    #{"InstallerApp EXE"},(0xEE9BE3FE),1,0,0


    ;Localised Vendor name
    %{"Vendor-EN"}

    ;Unique Vendor name
    :"Vendor"

    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\InstallerApp.exe" -"!:\sys\bin\InstallerApp.exe",FILERUN,RUNINSTALL


    But Still online signing fails...

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: New Symbian Signed

    Which version are you trying to sign? GCCE/WINSCW?

  5. #5
    Registered User
    Join Date
    Nov 2007
    Posts
    23

    Re: New Symbian Signed

    Still, is there a way to use unsigned/Self signed sis file to use autorun in Emulator ?

  6. #6
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: New Symbian Signed

    There is no difference between signing for emulator of for the phone itself. Both self-signing and Symbian Signed signing (as in Open Signed Offline) can be applied.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. Can Symbian signed crack proof an application?
    By mayur_24 in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 40
    Last Post: 2009-05-19, 08:49
  2. App test lite and Symbian signed test critiria
    By forester404 in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 6
    Last Post: 2007-09-12, 09:54
  3. Screencast on the Symbian Signed workflow
    By mitts in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 2
    Last Post: 2007-09-11, 08:41
  4. symbian signed testing problem.
    By anglina in forum Symbian
    Replies: 0
    Last Post: 2007-02-01, 10:15
  5. Symbian Signed test criteria
    By kompotFX in forum Symbian
    Replies: 4
    Last Post: 2006-11-17, 00:11

Posting Permissions

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