×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    4

    "unable to install" on 3250

    Hi!

    At this point i'm really stucked... Here is my problem, with all the details i found useful:

    SDK: S60 3rd MR
    building: from command prompt (with gcce, works fine with little projects like helloworld... (syntax: bldmake bldfiles, abld build gcce urel) )
    the building is ok with this project too, signing with generated key (self-signed app) installing on the nokia 3250 running without error till the end when this message "unable to install" appears.

    I'm not using any other app's private folder, and i checked all other documented issues which can cause this error message, so i copy paste here my .mmp .inf .rls .rsg and .pkg files and hope that some more experienced programmer can give me some usefull hints to go on. I've tried even to reset the device with code *#7370# and the mem card too, so i dont think that an other application in the sys/bin folder has the same name (flux.exe) or UID. I've tried to commenting some lines from these files. And installing self-signed apps on the device is enabled too.

    please help...

    -----------------------------------------
    mmp:
    -------------------------------------------

    COMPRESSTARGET
    // [-] MACRO SYMBIAN_APP_UID=0xA000021F
    UID 0x100039CE 0xA000021F
    TARGET Flux.exe
    TARGETTYPE exe
    SECUREID 0xA000021F
    // [-] MACRO APPDIRECTORY="A000021F"
    LANG SC
    VENDORID 0
    CAPABILITY NONE
    SOURCEPATH .
    START RESOURCE Flux.rss
    TARGETPATH resource\apps
    HEADER
    END


    START RESOURCE Flux_reg.rss
    TARGETPATH \private\10003a3f\import\apps
    END

    START BITMAP Flux.mbm
    TARGETPATH \Resource\Apps
    SOURCE c12,1 icon\icon44x44.bmp icon\icon44x44_mask.bmp icon\icon42x29.bmp icon\icon42x29_mask.bmp icon\icon42x22.bmp icon\icon42x22_mask.bmp
    END

    SOURCEPATH ..\..\firefly\3rdparty\zlib
    SOURCE adler32.cpp
    SOURCE crc32.cpp

    (*****here comes some more source library and include (a bit too long to post here..)***********)

    EPOCHEAPSIZE 2000000 4000000

    ------------------------------------------------
    .pkg file
    ----------------------------------------------------


    &EN

    #{"Flux Challenge"},(0xA000021F),2,1,0,
    TYPE=SA
    [0x101F7961], 0, 0, 0, {"Series60ProductID"}


    %{"vendor"}
    :"vendor"

    "out\Flux.exe" - "!:\sys\bin\Flux.exe"
    "out\Flux.rsc" - "!:\resource\apps\Flux.rsc"
    "out\Flux.mbm" - "!:\resource\apps\Flux.mbm"
    "out\Flux_reg.rsc" - "!:\private\10003a3f\import\apps\Flux_reg.rsc"


    ;required for application to be covered by backup/restore facility
    "backup_registration.xml" - "!:\private\A000021F\backup_registration.xml"

    "out\data.zip" - "!:\private\A000021F\data.zip"
    "out\savegame.flx" - "!:\private\A000021F\savegame.flx"
    "out\_checkbeep.wav" - "!:\private\A000021F\sounds\_checkbeep.wav"
    "out\_crash.wav" - "!:\private\A000021F\sounds\_crash.wav"
    "out\_dirbeep.wav" - "!:\private\A000021F\sounds\_dirbeep.wav"
    "out\_engine_jonesin.wav" - "!:\private\A000021F\sounds\_engine_jonesin.wav"
    "out\_engine_light.wav" - "!:\private\A000021F\sounds\_engine_light.wav"
    "out\_engine_octane.wav" - "!:\private\A000021F\sounds\_engine_octane.wav"
    "out\_engine_rockin.wav" - "!:\private\A000021F\sounds\_engine_rockin.wav"
    "out\_engine_tame.wav" - "!:\private\A000021F\sounds\_engine_tame.wav"
    "out\_engine_whiney.wav" - "!:\private\A000021F\sounds\_engine_whiney.wav"
    "out\_pickup.wav" - "!:\private\A000021F\sounds\_pickup.wav"
    "out\_slow.wav" - "!:\private\A000021F\sounds\_slow.wav"
    "out\_speedup.wav" - "!:\private\A000021F\sounds\_speedup.wav"
    "out\_speedup2.wav" - "!:\private\A000021F\sounds\_speedup2.wav"
    "out\boost.wav" - "!:\private\A000021F\sounds\boost.wav"
    "out\congrats.wav" - "!:\private\A000021F\sounds\congrats.wav"
    "out\loserace.wav" - "!:\private\A000021F\sounds\loserace.wav"
    "out\menubutton.wav" - "!:\private\A000021F\sounds\menubutton.wav"
    "out\menuclick.wav" - "!:\private\A000021F\sounds\menuclick.wav"
    "out\menumov.wav" - "!:\private\A000021F\sounds\menumov.wav"
    "out\menumov2.wav" - "!:\private\A000021F\sounds\menumov2.wav"
    "out\racecheck.wav" - "!:\private\A000021F\sounds\racecheck.wav"
    "out\raceend.wav" - "!:\private\A000021F\sounds\raceend.wav"
    "out\raceendstop2.wav" - "!:\private\A000021F\sounds\raceendstop2.wav"
    "out\racelap.wav" - "!:\private\A000021F\sounds\racelap.wav"
    "out\racelose.wav" - "!:\private\A000021F\sounds\racelose.wav"
    "out\racepersonalrecord.wav" - "!:\private\A000021F\sounds\racepersonalrecord.wav"
    "out\racestart.wav" - "!:\private\A000021F\sounds\racestart.wav"
    "out\racewin.wav" - "!:\private\A000021F\sounds\racewin.wav"
    "out\ready3.wav" - "!:\private\A000021F\sounds\ready3.wav"
    "out\welcome2.wav" - "!:\private\A000021F\sounds\welcome2.wav"
    "out\winrace.wav" - "!:\private\A000021F\sounds\winrace.wav"


    -----------------------------------------------------------
    .inf file
    -----------------------------------------------------------
    PRJ_EXPORTS

    backup_registration.xml z:\private\A000021F\backup_registration.xml
    .\out\data.zip z:\private\A000021F\data.zip
    .\out\savegame.flx z:\private\A000021F\savegame.flx
    .\out\_checkbeep.wav z:\private\A000021F\sounds\_checkbeep.wav
    .\out\_crash.wav z:\private\A000021F\sounds\_crash.wav
    .\out\_dirbeep.wav z:\private\A000021F\sounds\_dirbeep.wav
    .\out\_engine_jonesin.wav z:\private\A000021F\sounds\_engine_jonesin.wav
    .\out\_engine_light.wav z:\private\A000021F\sounds\_engine_light.wav
    .\out\_engine_octane.wav z:\private\A000021F\sounds\_engine_octane.wav
    .\out\_engine_rockin.wav z:\private\A000021F\sounds\_engine_rockin.wav
    .\out\_engine_tame.wav z:\private\A000021F\sounds\_engine_tame.wav
    .\out\_engine_whiney.wav z:\private\A000021F\sounds\_engine_whiney.wav
    .\out\_pickup.wav z:\private\A000021F\sounds\_pickup.wav
    .\out\_slow.wav z:\private\A000021F\sounds\_slow.wav
    .\out\_speedup.wav z:\private\A000021F\sounds\_speedup.wav
    .\out\_speedup2.wav z:\private\A000021F\sounds\_speedup2.wav
    .\out\boost.wav z:\private\A000021F\sounds\boost.wav
    .\out\congrats.wav z:\private\A000021F\sounds\congrats.wav
    .\out\loserace.wav z:\private\A000021F\sounds\loserace.wav
    .\out\menubutton.wav z:\private\A000021F\sounds\menubutton.wav
    .\out\menuclick.wav z:\private\A000021F\sounds\menuclick.wav
    .\out\menumov.wav z:\private\A000021F\sounds\menumov.wav
    .\out\menumov2.wav z:\private\A000021F\sounds\menumov2.wav
    .\out\racecheck.wav z:\private\A000021F\sounds\racecheck.wav
    .\out\raceend.wav z:\private\A000021F\sounds\raceend.wav
    .\out\raceendstop2.wav z:\private\A000021F\sounds\raceendstop2.wav
    .\out\racelap.wav z:\private\A000021F\sounds\racelap.wav
    .\out\racelose.wav z:\private\A000021F\sounds\racelose.wav
    .\out\racepersonalrecord.wav z:\private\A000021F\sounds\racepersonalrecord.wav
    .\out\racestart.wav z:\private\A000021F\sounds\racestart.wav
    .\out\racewin.wav z:\private\A000021F\sounds\racewin.wav
    .\out\ready3.wav z:\private\A000021F\sounds\ready3.wav
    .\out\welcome2.wav z:\private\A000021F\sounds\welcome2.wav
    .\out\winrace.wav z:\private\A000021F\sounds\winrace.wav

    PRJ_MMPFILES

    flux.mmp


    --------------------------------------------------------
    flux_reg.rss file
    ---------------------------------------------------------

    #include "Flux.rls"
    #include <appinfo.rh>
    #include <Flux.rsg>

    UID2 KUidAppRegistrationResourceFile
    UID3 0xA000021F

    RESOURCE APP_REGISTRATION_INFO
    {
    app_file="Flux";
    localisable_resource_file = STRING_flux_loc_resource_file_1;
    localisable_resource_id = R_FLUX_LOCALISABLE_APP_INFO;

    embeddability=KAppNotEmbeddable;
    newfile=KAppDoesNotSupportNewFile;
    }

    ---------------------------------------------------------
    .rls
    --------------------------------------------------------
    // LOCALISATION STRINGS

    rls_string STRING_flux_loc_resource_file_1 "\\resource\\apps\\Flux"

    //d:Caption string for app.
    rls_string STRING_grap_caption_string "Flux"

    //d:Short caption string for app.
    rls_string STRING_grap_short_caption_string "FL"

    // End of File

  2. #2
    Regular Contributor
    Join Date
    May 2005
    Location
    Sweden
    Posts
    272

    Re: "unable to install" on 3250

    When I've had this problem, there's been a problem with some installed file. Try excluding files from the .pkg file and see if you can get the SIS to install.

  3. #3
    Registered User
    Join Date
    Nov 2006
    Posts
    4

    Re: "unable to install" on 3250

    Thanks for the addvice, but unfortunately i tried this already and didnt work... My reduced .pkg file is:
    ----------------------------------------------------------------------
    &EN

    #{"Flux Challenge"},(0xA000021F),2,1,0,
    TYPE=SA
    [0x101F7961], 0, 0, 0, {"Series60ProductID"}


    %{"vendor"}
    :"vendor"

    "out\Flux.exe" - "!:\sys\bin\Flux.exe"
    "out\Flux.rsc" - "!:\resource\apps\Flux.rsc"
    ;"out\Flux.mbm" - "!:\resource\apps\Flux.mbm"
    "out\Flux_reg.rsc" - "!:\private\10003a3f\import\apps\Flux_reg.rsc"
    ---------------------------------------------------------------------
    Is it possible that just the opposite is the case, i mean i forget to include something in the pkg file...i really dont have any more good idea... has somebody similar experiences on 3250 or on any other platform? Any other ideas?

  4. #4
    Registered User
    Join Date
    Nov 2006
    Posts
    4

    Re: "unable to install" on 3250

    well... i dont know if i should be happy... i've tried to exclude the .exe file from the pkg and the installation was successfull.

    "out\Flux.exe" - "!:\sys\bin\Flux.exe"

    i'm afraid the syntax of this line is correct, so the problem might be deeper in the code... can anybody give me some guess what should i looking for in the source? I mean it has to be some secure ID misstype in the code, or it could be anything else too?

  5. #5
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: "unable to install" on 3250

    I hope that your out\Flux.exe is built for device and not for emulator.
    If so try calling
    Code:
    elftran.exe -dump s [out\]flux.exe
    and make sure that UID3/SID is valid. It recently happened to me to have if set to 0x00000000 after improper Carbide.c++ import of the project.

  6. #6
    Registered User
    Join Date
    Nov 2006
    Posts
    4

    Re: "unable to install" on 3250

    Thanks for all the helps, it was my fault... I've tried to used the .exe located in C:\Symbian\9.1\S60_3rd_MR_2\Epoc32\BUILD\...\FLUX\GCCE\UREL\
    instead of the one located in: C:\Symbian\9.1\S60_3rd_MR_2\Epoc32\release\GCCE\UREL\

    i still have some problems, but i think i can handle them, and those problems are no more realated to this topic... anyway... does anybody know what that other .exe is for?

  7. #7
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: "unable to install" on 3250

    See "elf2e32" in SDK's docs. The exe you mention is the input for that tool, i.e. it is a ELF version of your binary.

    Btw. : why don't you script the pkg file with the actual path of the file rather than making a copy of it in the out\folder ? If nothing else it makes it easier to read by a 3rd party

    Best regards,
    Last edited by ltomuta; 2006-11-07 at 08:36.

  8. #8
    Registered User
    Join Date
    Aug 2008
    Posts
    4

    Smile Re: "unable to install" on 3250

    Thanks Kriza,

    Your soln. worked for me too.
    In fact it is the only place that gave me insight to check the exe file path.
    I was using the emulators exe file to create a sis file & trying to install it on the device - which distinctly gave "unable to install" error.

    Thanks once again.
    I can now R.I.P.

    Last edited by kennedy.john; 2008-11-20 at 11:30.

Similar Threads

  1. Replies: 2
    Last Post: 2006-09-26, 08:12
  2. "Unable to Install"
    By marycore in forum Symbian C++
    Replies: 1
    Last Post: 2006-08-26, 10:13
  3. "Unable to install" on S60 v3 device
    By kraja in forum Symbian C++
    Replies: 1
    Last Post: 2006-07-10, 15:05
  4. "Unable to install" after changing UID3
    By cwhite124 in forum Symbian C++
    Replies: 8
    Last Post: 2006-07-10, 15:04
  5. Replies: 0
    Last Post: 2006-06-02, 18:16

Posting Permissions

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