×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 28
  1. #1
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    217

    Exclamation Protected UID with Developer Certificate

    Hi,

    Can I signed an application whose UID is from the protected range with a developer certificate or I have to use a UID of the developer range?

    I have just changed my UID from developer to protected and I can't install it.

    Thanks in advance,
    Benji.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,672

    Re: Protected UID with Developer Certificate

    It should work. DevCert works as Symbian Signed on the specified devices.

  3. #3
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: Protected UID with Developer Certificate

    Hi,

    if you have changed UIDs - be sure that you clean properly whole SDK folders and the project was rebultd with new UIDs on all places (all resiurces, pkg files, mmp, sources and many others). Forgotting anything will raise error durign installation or when you will try to start the application. You must also uninstall the previous build from device before installing the one with new UIDs.

    Best regards,
    Petr

  4. #4
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    217

    Re: Protected UID with Developer Certificate

    Quote Originally Posted by stenlik View Post
    Hi,

    if you have changed UIDs - be sure that you clean properly whole SDK folders and the project was rebultd with new UIDs on all places (all resiurces, pkg files, mmp, sources and many others). Forgotting anything will raise error durign installation or when you will try to start the application. You must also uninstall the previous build from device before installing the one with new UIDs.

    Best regards,
    Petr
    Petr, I think it's all ok, I have changed all files where the UID are, I have uninstalled the previous app before but I get the error "Unable to install".

    Any idea?

    BR,
    Benji.

  5. #5
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    217

    Re: Protected UID with Developer Certificate

    Hi,

    I solved the problem. I forgot to change the private path in the pkg.

    Thanks,
    Benji.

  6. #6
    Regular Contributor
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52

    Smile Re: Protected UID with Developer Certificate

    hi i'm asking if my application which use dll ( i create this dll )
    1-where should i add this dll in my phone in 3rd edition (where in 2nd edition in (system\libs))?
    2- is this dll need certification or no? if yes how ?

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

    Re: Protected UID with Developer Certificate

    In Symbian 9.x (S60 3rd edition) every piece of executable code goes to \sys\bin, this applies to .dll-s too.
    The .dll can be packeged-signed-installed separately (if it is intended to be used by other applications, maybe other developers too), or packaged-signed-installed with your .exe (if the .dll is not intended to be used by other applications). If you think in the first ("shared") case, note that the separately packaged-signed installation file can be still embedded into the main package (containing the .exe file).

  8. #8
    Regular Contributor
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52

    Re: Protected UID with Developer Certificate

    Quote Originally Posted by wizard_hu_ View Post
    In Symbian 9.x (S60 3rd edition) every piece of executable code goes to \sys\bin, this applies to .dll-s too.
    The .dll can be packeged-signed-installed separately (if it is intended to be used by other applications, maybe other developers too), or packaged-signed-installed with your .exe (if the .dll is not intended to be used by other applications). If you think in the first ("shared") case, note that the separately packaged-signed installation file can be still embedded into the main package (containing the .exe file).

    first thx
    where extinction of sys\bin (c:,d:,E:...)
    how to packeged-signed-installed or packaged-signed-installed

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,672

    Re: Protected UID with Developer Certificate

    Quote Originally Posted by kfke View Post
    where extinction of sys\bin (c:,d:,E:...)
    You can use the !:\sys\bin\xyz.dll (as you would in case of a .exe too), and have the user to select installation drive, or hardcode c:\ (hardcoding e:\ is also possible, however it will obviously not install if the memory card is not present).
    how to packeged-signed-installed or packaged-signed-installed
    As in case of any example application.
    If you want a separate installation file for your .dll, get a .pkg file from anywhere (for example S60Ex\HelloWorldBasic\sis\helloworldbasic_gcce.pkg), modify the header, and clean the "Files to install" section, except for HelloWorldBasic.exe, which you modify to yourdll.dll:
    Code:
    ; YourDll.pkg
    ;
    ;Language - standard language definitions
    &EN
    
    ; standard SIS file header
    #{"YouDll"},(0xEABABABA),1,0,0
    
    ;Localised Vendor name
    %{"Vendor-EN"}
    
    ;Unique Vendor name
    :"Vendor"
    
    ;Supports Series 60 v 3.0
    [0x101F7961], 0, 0, 0, {"Series60ProductID"}
    
    ;Files to install
    "..\..\..\epoc32\release\gcce\urel\YourDll.dll"                 -"!:\sys\bin\YourDll.dll"

  10. #10
    Regular Contributor
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52

    Re: Protected UID with Developer Certificate

    thx agin

    1- create xyz.dll
    2- create application to use xyz.dll (as hello world GUI)
    3- in Application add xyz.h from xyz dll project as is.
    and use as class Cxyz (Cxyz * ex = Cxyz::NewLC(); ...)
    (AT Emulator and run successes )
    4 - but in phone
    (in 2nd edition add(or copy) xyz.dll in E:\\system\\libs\\.. )

    in 3rd where extinction to add xyz.dll where load successfully?
    and this xyz.dll need certification ? if yes how certify dll?

    Note : i'm using online certification.(browse *.sis only ).

  11. #11
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,672

    Re: Protected UID with Developer Certificate

    What is wrong with - say - "e:\sys\bin\xyz.dll"?

  12. #12
    Regular Contributor
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52

    Re: Protected UID with Developer Certificate

    Quote Originally Posted by wizard_hu_ View Post
    What is wrong with - say - "e:\sys\bin\xyz.dll"?
    first sorry I'm beginner in symbin carrier and I speak English with difficulty
    and thank you

    but i'm search for "e:\sys\bin\xyz.dll" path and cannot be found
    in devise (where "e:" is storage card)
    (is an option to show this folder?)
    and when adding this line in pak
    ;Files to install
    "..\..\..\epoc32\release\gcce\urel\YourDll.dll" -"!:\sys\bin\YourDll.dll"
    two errors occur in my application.
    ........................
    so i put this line :
    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\NDLL.dll" -"!:\system\libs\NDLL.dll"

    and after singing this application online and setup in devise success but at open not open .

  13. #13
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,672

    Re: Protected UID with Developer Certificate

    Quote Originally Posted by kfke View Post
    first sorry I'm beginner in symbin carrier and I speak English with difficulty
    Do not worry about that, everybody starts as a beginner, and most contributors around are not native English speakers.
    but i'm search for "e:\sys\bin\xyz.dll" path and cannot be found
    in devise (where "e:" is storage card)
    (is an option to show this folder?)
    Search for "data caging" (including the quotes too) in the SDK Help. Basically \sys\bin is the most protected folder on the device, you will not be able to even list its contents with most file browsers. However if you use your device in USB Mass Storage mode, you will see the folder.
    and when adding this line in pak
    ;Files to install
    "..\..\..\epoc32\release\gcce\urel\YourDll.dll" -"!:\sys\bin\YourDll.dll"
    two errors occur in my application.
    ........................
    so i put this line :
    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\NDLL.dll" -"!:\system\libs\NDLL.dll"

    and after singing this application online and setup in devise success but at open not open .
    YourDll.dll should be replaced with NDLL.dll, I guess this is obvious.
    In case of S60 3rd edition \system\libs is an ordinary folder, you can put there .dll-s, .exe-s, porn videos, anything. The bad thing is that the files containing executable (machine) code (.dll, .exe), will not run from there. The porn video will, but that is not machine code file.
    Read the Data Caging page in the SDK Help, especially the last sentence of the "/sys/" bullet point.
    You would benefit more from fixing the problems arisen with your attempt to use /sys/bin.

  14. #14
    Regular Contributor
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52

    Unhappy Re: Protected UID with Developer Certificate

    thank you

    i open my device in USB Mass Storage mode,and see the folder.
    and copy dll in (sys\bin\mydll.dll) and setup mysis.sis successes
    -(mysis.sis application usage mydll.dll)
    -(NOTE: i sign mysis.sis in online sign)
    at open mysis (after setup) an error occur
    i guess this error occurs because the mydll.dll dose not sign

    if this true....
    how to sign mydll.dll ?
    Last edited by kfke; 2008-05-15 at 07:09.

  15. #15
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,672

    Re: Protected UID with Developer Certificate

    Correct, you can not just copy files into sys\bin, the device will not accept them (it keeps a validation checksum of installed - thus checked - files in some secret place).
    Why do not you consider creating that .pkg file outlined in #9? Or if you have done so (as you write in #12), why do not you post the error messages here?
    It is still possible simply adding the line
    Code:
    "........\epoc32\release\gcce\urel\YourDll.dll"                 -"!:\sys\bin\YourDll.dll"
    to your existing .pkg file (which installs the .exe)

Similar Threads

  1. Recording in Amr Format
    By losym in forum Symbian Media (Closed)
    Replies: 12
    Last Post: 2009-03-26, 06:41
  2. createsis using developer certificate problem
    By nhammond in forum Symbian Tools & SDKs
    Replies: 9
    Last Post: 2009-03-04, 08:39
  3. MultimediaDD enabled developer certificate??
    By sajidul in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2007-03-22, 20:03
  4. MultimediaDD enabled developer certificate??
    By sajidul in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2007-03-22, 12:01
  5. Error importing Symbian signed developer certificate
    By amaunder in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2007-03-20, 17:00

Posting Permissions

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