×

Discussion Board

Results 1 to 15 of 41

Hybrid View

  1. #1
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    86

    Question how to use Symbian OS starter? Is there UID right problem?

    this is my .RSC file
    Code:
    #include <startupitem.rh>
    RESOURCE STARTUP_ITEM_INFO startexe
    {
        executable_name = "C:\\sys\\bin\\mscserver.exe"; 
        recovery = EStartupItemExPolicyNone;
    }
    this is my .pkg file
    Code:
    "\epoc32\data\ed4be29d.rsc"                   - "c:\private\101f875a\import\[ed4be29d].rsc"
    UID3=ed4be29d, Is there right problem?
    please help me, thank you:)
    where there is a will, there is a way.

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to use Symbian OS starter? Is there UID right problem?

    1. is mscserver.exe your application ?
    2. can you show your PKG file ?

  3. #3
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    86

    Re: how to use Symbian OS starter? Is there UID right problem?

    yes , mscserver.exe is my application.
    Code:
    ;server Executable and default resource files
    "\epoc32\release\armv5\urel\mscserver.exe"    - "!:\sys\bin\mscserver.exe",FR,RI
    "\epoc32\release\armv5\urel\mscclient.dll"    - "!:\sys\bin\mscclient.dll"
    "\epoc32\data\ed4be29d.rsc"                   - "c:\private\101f875a\import\[ed4be29d].rsc"
    ;"\epoc32\data\z\resource\apps\mscserver.rsc"    - "!:\resource\apps\mscserver.rsc"
    ;"\epoc32\data\z\private\10003a3f\import\apps\mscserver_reg.rsc"    - "!:\private\10003a3f\import\apps\mscserver_reg.rsc"
    ;"data\ED4BE29D.txt" - "!:\private\10202be9\ED4BE29D.txt"
    this is my .pkg file
    where there is a will, there is a way.

  4. #4
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    86

    Re: how to use Symbian OS starter? Is there UID right problem?

    Is this about .rsc file's encoding? unicode?
    where there is a will, there is a way.

  5. #5
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to use Symbian OS starter? Is there UID right problem?

    Do you have "START RESOURCE [ed4be29d].rsc" that file in data folder .

  6. #6
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    86

    Re: how to use Symbian OS starter? Is there UID right problem?

    yes, I did. but now the .RSC file has a problem.
    where there is a will, there is a way.

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

    Re: how to use Symbian OS starter? Is there UID right problem?

    See #39 of http://discussion.forum.nokia.com/fo...ation-Signing! for the minimal set
    - That ed4be29d has to be the UID of your pkg file (which is in the # header), UID3 does not matter here
    - In its current form, the code has to be deployed to drive c:
    - Self-signing is not enough, use Open Signed Online as a minimum.

  8. #8
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    86

    Re: how to use Symbian OS starter? Is there UID right problem?

    Code:
    ; mscserver_template.pkg generated by qmake at 2010-04-14T10:19:40
    ; This file is generated by qmake and should not be modified by the user
    ;
    
    ; Language
    &EN
    
    ; SIS header: name, uid, version
    #{"mscserver"},(0xED4BE29D),1,0,0
    
    ; Localised Vendor name
    %{"Vendor"}
    
    ; Unique Vendor name
    :"Vendor"
    
    
    ; Manual PKG pre-rules from PRO files
    ; Default HW/platform dependencies
    [0x101F7961],0,0,0,{"S60ProductID"}
    [0x102032BE],0,0,0,{"S60ProductID"}
    [0x102752AE],0,0,0,{"S60ProductID"}
    [0x1028315F],0,0,0,{"S60ProductID"}
     
    ; Default dependency to Qt libraries
    (0x2001E61C), 4, 6, 2, {"Qt"}
    
    ;client executable and default resource files
    "\epoc32\release\armv5\urel\MyDSL.exe"    - "!:\sys\bin\MyDSL.exe"
    "\epoc32\data\z\resource\apps\MyDSL.rsc"    - "!:\resource\apps\MyDSL.rsc"
    "\epoc32\data\z\private\10003a3f\import\apps\MyDSL_reg.rsc"    - "!:\private\10003a3f\import\apps\MyDSL_reg.rsc"
    "\epoc32\data\z\resource\apps\MyDSL.mif"    - "!:\resource\apps\MyDSL.mif"
    
    ;mscbootstrap Executable and default resource files
    "\epoc32\release\armv5\urel\mscbootstrap.exe"    - "!:\sys\bin\mscbootstrap.exe"
    "\epoc32\data\z\resource\apps\mscbootstrap.rsc"    - "!:\resource\apps\mscbootstrap.rsc"
    "\epoc32\data\z\private\10003a3f\import\apps\mscbootstrap_reg.rsc"    - "!:\private\10003a3f\import\apps\mscbootstrap_reg.rsc"
    
    ;server Executable and default resource files
    "\epoc32\release\armv5\urel\mscserver.exe"    - "!:\sys\bin\mscserver.exe",FR,RI
    "\epoc32\release\armv5\urel\mscclient.dll"    - "!:\sys\bin\mscclient.dll"
    "\epoc32\data\ed4be29d.rsc"                   - "c:\private\101f875a\import\[ed4be29d].rsc"
    ;"\epoc32\data\z\resource\apps\mscserver.rsc"    - "!:\resource\apps\mscserver.rsc"
    ;"\epoc32\data\z\private\10003a3f\import\apps\mscserver_reg.rsc"    - "!:\private\10003a3f\import\apps\mscserver_reg.rsc"
    ;"data\ED4BE29D.txt" - "!:\private\10202be9\ED4BE29D.txt"
    this is my .pkg file.
    where there is a will, there is a way.

  9. #9
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    86

    Re: how to use Symbian OS starter? Is there UID right problem?

    FAILED resourcecompile for armv5_urel: epoc32\data\ed4be29d.rsc
    mmp: mscserver_0xED4BE29D.mmp
    1) : *** Unknown character '' (value 0xffffffff)
    1) : *** Unknown character '? (value 0xfffffffe)
    1) : *** Unknown character '#' (value 0x23)
    1) : syntax error
    RCOMP failed with code 1
    ???why?
    where there is a will, there is a way.

  10. #10
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    86

    Re: how to use Symbian OS starter? Is there UID right problem?

    thank you.
    where there is a will, there is a way.

  11. #11
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to use Symbian OS starter? Is there UID right problem?

    Quote Originally Posted by Joyce An View Post
    thank you.
    is your problem solved ?

  12. #12
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    86

    Re: how to use Symbian OS starter? Is there UID right problem?

    no, I haven't found the reason. I feel my .rsc and .pkg are right. but the sis can't install . I don't know why?
    where there is a will, there is a way.

  13. #13
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to use Symbian OS starter? Is there UID right problem?

    what is the error you are getting .... Also it is always advised that you use uid with your application file name mscserver.exe should be mscserver0xed4be29d.exe

  14. #14
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    86

    Re: how to use Symbian OS starter? Is there UID right problem?

    Code:
    symbian { 
        symbianSystemInclude = "APP_LAYER_SYSTEMINCLUDE"
        autoStart = "SOURCEPATH /data" \
        "START RESOURCE [ed4be29d].rsc" \
        "TARGETPATH		/private/101f875a/import" \
        "LANG SC" \
        "END"
        MMP_RULES += autoStart
        MMP_RULES += symbianSystemInclude
        TARGET.UID3 = 0xED4BE29D
        TARGET.EPOCSTACKSIZE = 0x5000
        TARGET.EPOCHEAPSIZE = 0x20000 \
            0x1000000
        TARGET.EPOCALLOWDLLDATA = 1
        TARGET.CAPABILITY = LocalServices \
            ReadUserData \
            WriteUserData \
            NetworkServices \
            UserEnvironment \
            WriteDeviceData \
            ReadDeviceData
    }
    this is my mscserver.pro file.
    but build it, it shows error.
    error infor:
    "FAILED resourcecompile for armv5_urel: epoc32\data\z\private\101f875a\import\e
    d4be29d.rsc
    mmp: mscserver\mscserver_0xED4BE29D.mmp
    Failed to open W:/epoc32/build/mydsl/c_da13a2d38bf2cf19/ed4be29d_exe/ed4be29d
    __private_101f875a_import_sc.rpp"
    where there is a will, there is a way.

Similar Threads

  1. what is the sms editor uid on 5th symbian os?
    By heartfree in forum Symbian
    Replies: 2
    Last Post: 2009-11-26, 04:26
  2. Problem in Symbian OS FP2
    By aamitgupta in forum Symbian
    Replies: 14
    Last Post: 2008-12-02, 10:04

Posting Permissions

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