×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    2

    Installation: Required Application Access Not Granted?

    I've just created a self- signed sis file and tried to install it on a new 3rd Edition S60 phone.

    The pkg file looks like this:
    Code:
    ;Languages
    &EN
    
    ; Localised vendor
    %{"TestVendor"}
    ; Non-localised vendor
    :"TestVendor"
    
    ; Standard SIS file header
    ;  UID is the UID of server.exe
    #{"TEST"},(0xF0003111),1,0,0
    
    ;Supports Series 60 v 3.0
    [0x101F7961], 0, 0, 0, {"Series60ProductID"}
    
    "D:\Epoc32\release\GCCE\UREL\test.exe" - "!:\sys\bin\test.exe"
    "D:\Epoc32\release\GCCE\UREL\client.dll" - "!:\sys\bin\client.dll"
    "D:\Epoc32\release\GCCE\UREL\server.exe" - "!:\sys\bin\server.exe"
    client.dll has capabilities All -TCB, the two exes (a server and a test console app) both have capability NONE. The UIDs are all in the unprotected range.

    I self-signed usign "createsis create" and bluetoothed to the phone. Installation went OK until after selecting between internal memory or memory card. At which point I got "Required Application Access Not Granted"

    Why don't I have required application access? The same code works ok on the emulator (with platsec enforcement on -> no errors/warnings in epocwind.out).

    The code is a very basic examle client-server which doesn't link against anything but euser. It's based on the helloworldserver Symbain example code.

    Is it because it's a console app rather than a full ui?

  2. #2
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Installation: Required Application Access Not Granted?

    You need to mark your client dll with a capability of NONE if you are using uids from the protected range

  3. #3
    Super Contributor
    Join Date
    Nov 2005
    Location
    London
    Posts
    584

    Re: Installation: Required Application Access Not Granted?

    The UID given (0xF0003111) is actually in the unprotected range.

    But is is in the legacy value range. Could that be the problem? May be better to assign a new value or use one from the test range (0xE0000000 - 0xEFFFFFFF)?

    More information here:
    https://www.symbiansigned.com/app/page/uidfaq

  4. #4
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Installation: Required Application Access Not Granted?

    Well spotted!

  5. #5
    Registered User
    Join Date
    Jun 2006
    Posts
    2

    Re: Installation: Required Application Access Not Granted?

    Thanks!

    I got a new set of unprotected UIDs (starting with 0xAxxx) for the server exe and client dll (didn't bother with a UID for the test exe).

    Tried these but got the same message as before.

    I then tried changing the capabilities of the client dll to NONE. The installation got further but then failed with a message about not enough permissions to install (I can't remember the exact words).

    So I then tried signing with my Symbian Signed key/cert pair. Attempted install failed with "Unable to install"

    What? Why? I wondered if it was because I'm trying to install a console exe with no UID. So I gave the console test exe a UID and success - it installed!

    So, apart from the last fix, I've no idea which of the others was necessary

    I'm now trying to work out how to run a console exe installed into sys\bin when I can't browse that directory.

    Any thoughts please?

Similar Threads

  1. 3250 :: Cerificate Management :: No Application Installation Setting
    By lionel_lhf in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2006-06-14, 19:38
  2. Replies: 1
    Last Post: 2002-05-14, 14:15
  3. Replies: 1
    Last Post: 2002-05-14, 14:13
  4. N7650 application installation via WAP links ?
    By palahonk in forum Symbian
    Replies: 1
    Last Post: 2002-05-14, 08:49
  5. IrDA access through J2ME application
    By in forum Bluetooth Technology
    Replies: 0
    Last Post: 2002-04-13, 02:18

Posting Permissions

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