×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    12

    [moved] "Unable to install" just created sis file

    Hi
    i have faced with a problem of intalling a HelloWorld application, getting an error "Unable to install application". I have read the explanation (http://wiki.forum.nokia.com/index.ph..._to_install.22)
    I thought, it may be a confict between my application and already installed one (if they have same UID3), but i took few different ones (from the range called "Unprotected" in a documentation - i tried 0xA0001000, 0xE0001000 - none of those worked). I compile application with "abld build gcce urel" (not for win emulator platform), so it cannot be a problem either.

    Please excuse me for maybe "naive" question, but im really desperate to make it work.

    Here is the last resource registration file i used (HelloWorld_reg.rss):
    Code:
    #include <AppInfo.rh>
    UID2 KUidAppRegistrationResourceFile
    UID3 0xE0001000
    RESOURCE APP_REGISTRATION_INFO
    {
    // filename of binary, without extension
    app_file = "HelloWorld";
    //number_of_icons = 1;
    //icon_file = "\\resource\\apps\\HelloWorld_aif.mif"
    }
    And the HelloWorld.mmp file's contents:
    Code:
    // HelloWorld.mmp
    //
    // Copyright (c) 2000 Symbian Ltd.  All rights reserved.
    
    // using relative paths for sourcepath and user includes
    
    TARGET        HelloWorld.exe
    TARGETTYPE    exe
    UID           0x100039CE 0xE0001000
    //UID2 UID3
    
    
    VENDORID 0x70000001
    
    SOURCEPATH    .
    SOURCE        HelloWorld.cpp
    
    USERINCLUDE   .
    USERINCLUDE   ..\CommonFramework
    SYSTEMINCLUDE \Epoc32\include
    
    LIBRARY       euser.lib
    
    
    //RESOURCE HelloWorld.rss
    START RESOURCE HelloWorld_reg.rss
    TARGETPATH \private\10003a3f\import\apps
    TARGET HelloWorld_reg.rsc
    END
    and the Start.pkg file, which is used to create a *.sis file:

    Code:
    &EN
    ;Standard SIS file header
    #{"HelloWorld"},(0xf010112b),1,0,0
    ;Localised Vendor name
    %{"Vendor-EN"}
    ;Unique Vendor name
    :"Vendor"
    ;Swf file to launch - In this case.
    "D:\S60\devices\S60_5th_Edition_SDK_v0.9\epoc32\BUILD\S60\devices\S60_5th_Edition_SDK_v0.9\Examples\Basics\HelloWorld\HELLOWORLD\GCCE\urel\HelloWorld.exe" - "!:\sys\bin\HelloWorld.exe"
    "D:\S60\devices\S60_5th_Edition_SDK_v0.9\epoc32\data\z\private\10003a3f\import\apps\HelloWorld_reg.rsc" - "!:\private\10003a3f\import\apps\HelloWorld_reg.rsc"
    Have i missed something? Maybe i should somehow cleanup my Nokia N82 from previous "trials"?

    The application compiled well, reg. resource file is built either. Sis file is getting signed at the end of build process too.

    Thanks in advance!

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: "Unable to install" just created sis file

    Hi,

    check here
    This message pops up when you attempt to install developer certificate in the unsupported device. The developer certificate from Symbian Signed can only be used in a limited number of devices. Remember that you have to send your IMEIs to Symbian Signed when requesting certificate. You cannot use the certificate in other devices that is not in your IMEIs list.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

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

    Re: "Unable to install" just created sis file

    Again, more complete installation troubleshooting guide is available on this site, see http://wiki.forum.nokia.com/index.ph...roubleshooting

    This error has nothing to do with the certificates or IMEIs. Instead it is likely that one of the two files already exists on device from a previous test so you should uninstall all your test apps before installing the new sis file and if that not helps then do a phone reset.

    Generally speaking try to keep the file names unique and the package UIDs constant so that you allow files to be replaced with newer versions rather than to appear having a new app with a clashing file name.
    -- 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

  4. #4
    Registered User
    Join Date
    Sep 2009
    Posts
    12

    Re: [moved] "Unable to install" just created sis file

    None of that worked for me
    I just completely changed UID3, SIS file's UID, the name of application (in all related files, up to registration resource file name, and their contents). In the middle of installation i get same error: Unable to install application.

    When i opened phone's MMC-card on pc, i noticed, that registration resource file hasnt been copied, although the executable was. Can you please take a look at the contents of files i had posted at the beginning of the thread? I would be very thankful

    And not to create other topics, i ask another question here
    If i change the myappname_reg.rss file directly (manually, by hands) on the phone's card (for example, the path to the *.mif icon file), the changes won't be applied. Can i somehow notice Application manager to rescan for contents of rss file?

    Thanks alot!

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

    Re: [moved] "Unable to install" just created sis file

    The installer will roll back the installed content in case of failure so I expect that the file you are seeing on the memory card is in fact the file that is causing your error since attempting to replace that file other than through a valid update (same package UID) is illegal.

    Have you uninstalled all older version of the app? If that does not help format the device and the memory card and start over (make sure to backup your data).

    And no, you cannot create the RSS file on the MMC, it would be pointless as the compiled file is needed (.rsc) and as discussed above what's worse is that your updated exe doesn't get installed either.
    -- 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

  6. #6
    Registered User
    Join Date
    Sep 2009
    Posts
    12

    Re: [moved] "Unable to install" just created sis file

    Code:
    The installer will roll back the installed content in case of failure so I expect that the file you are seeing on the memory card is in fact the file that is causing your error since attempting to replace that file other than through a valid update (same package UID) is illegal.
    Having no success with installing my application, I did change all identification parameters of my application (HelloWorld -> HW, UID3(0xE0001000) -> 0xE0101000), so installer didnt ask me "you application has been slready installed" and so on. But still the installation process stops in the middle of installation, saying "Unable to install".

    Code:
    Have you uninstalled all older version of the app? If that does not help format the device and the memory card and start over (make sure to backup your data).
    I tried to uninstall it (but i did mention, that app i install now is completely different from the point of view of the phone), uninstaller tell me "theres no enough memory". So i simply deleted all files, mentioned into pkg file manually

    Code:
    And no, you cannot create the RSS file on the MMC, it would be pointless as the compiled file is needed (.rsc) and as discussed above what's worse is that your updated exe doesn't get installed either.
    I am sorry, of i meant rsc file. For example, if i need to change application name, which is displayed into menu item "Applications", can i just replace old rsc with a new one, omiting reinstallation of application?

    Lucian, could u just take a look at files i have posted at the beginning? Maybe u will could something "unusual" in those?
    Is it ok, that in _reg.rss i dont specify any other parameters (there are no icons, for ex), just "appname"?
    It is a console application, called HelloWorld, from the 5th SDK example pack

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

    Re: [moved] "Unable to install" just created sis file

    The files look ok to me but whether they are valid or not should have impact at run time and not at all at install time.
    Send me the sis file at fn.support@nokia.com and I will have a look at it.
    -- 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

  8. #8
    Registered User
    Join Date
    Sep 2009
    Posts
    12

    Re: [moved] "Unable to install" just created sis file

    Lucian, i have sent you both *.sis files (they are unsigned, as long as u asked sis, not sisx)

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

    Re: [moved] "Unable to install" just created sis file

    Quote Originally Posted by Charlie_ View Post
    Hi
    i have faced with a problem of intalling a HelloWorld application, getting an error "Unable to install application". I have read the explanation (http://wiki.forum.nokia.com/index.ph..._to_install.22)
    I thought, it may be a confict between my application and already installed one (if they have same UID3), but i took few different ones (from the range called "Unprotected" in a documentation - i tried 0xA0001000, 0xE0001000 - none of those worked). I compile application with "abld build gcce urel" (not for win emulator platform), so it cannot be a problem either.

    Please excuse me for maybe "naive" question, but im really desperate to make it work.

    Here is the last resource registration file i used (HelloWorld_reg.rss):
    Code:
    #include <AppInfo.rh>
    UID2 KUidAppRegistrationResourceFile
    UID3 0xE0001000
    RESOURCE APP_REGISTRATION_INFO
    {
    // filename of binary, without extension
    app_file = "HelloWorld";
    //number_of_icons = 1;
    //icon_file = "\\resource\\apps\\HelloWorld_aif.mif"
    }
    And the HelloWorld.mmp file's contents:
    Code:
    // HelloWorld.mmp
    //
    // Copyright (c) 2000 Symbian Ltd.  All rights reserved.
    
    // using relative paths for sourcepath and user includes
    
    TARGET        HelloWorld.exe
    TARGETTYPE    exe
    UID           0x100039CE 0xE0001000
    //UID2 UID3
    
    
    VENDORID 0x70000001
    
    SOURCEPATH    .
    SOURCE        HelloWorld.cpp
    
    USERINCLUDE   .
    USERINCLUDE   ..\CommonFramework
    SYSTEMINCLUDE \Epoc32\include
    
    LIBRARY       euser.lib
    
    
    //RESOURCE HelloWorld.rss
    START RESOURCE HelloWorld_reg.rss
    TARGETPATH \private\10003a3f\import\apps
    TARGET HelloWorld_reg.rsc
    END
    and the Start.pkg file, which is used to create a *.sis file:

    Code:
    &EN
    ;Standard SIS file header
    #{"HelloWorld"},(0xf010112b),1,0,0
    ;Localised Vendor name
    %{"Vendor-EN"}
    ;Unique Vendor name
    :"Vendor"
    ;Swf file to launch - In this case.
    "D:\S60\devices\S60_5th_Edition_SDK_v0.9\epoc32\BUILD\S60\devices\S60_5th_Edition_SDK_v0.9\Examples\Basics\HelloWorld\HELLOWORLD\GCCE\urel\HelloWorld.exe" - "!:\sys\bin\HelloWorld.exe"
    "D:\S60\devices\S60_5th_Edition_SDK_v0.9\epoc32\data\z\private\10003a3f\import\apps\HelloWorld_reg.rsc" - "!:\private\10003a3f\import\apps\HelloWorld_reg.rsc"
    Have i missed something? Maybe i should somehow cleanup my Nokia N82 from previous "trials"?

    The application compiled well, reg. resource file is built either. Sis file is getting signed at the end of build process too.

    Thanks in advance!
    Ok, I've looked inside the sis file and what I've found was that your HelloWorld.exe is not a valid E32Image file, i.e. not a valid Symbian binary.

    This made me pay more attention to the code above where the highlighted part shows your problem. I've missed it earlier since the typical error is to use the WISNCW build instead of the GCCE one so I've only looked at the "\GCCE\urel\HelloWorld.exe" sequence.

    Anything that you may find under SDK's "Build" folder is ordinarily not your business. Those are makefiles and intermediary files generated by the tool chain and there should not be a need for you to ever touch them.

    The output of the build system is always under epoc32\release so in your case that line of pkg script should be
    Code:
    D:\S60\devices\S60_5th_Edition_SDK_v0.9\epoc32\release\gcce\urel\HelloWorld.exe - !:\sys\bin\HelloWorld.exe
    -- 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

  10. #10
    Registered User
    Join Date
    Sep 2009
    Posts
    12

    Re: [moved] "Unable to install" just created sis file

    Lucian, it works! Thank you alot that u found time! I was almost in despair

Similar Threads

  1. "Unable to install" sis file
    By Martin_Malek in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 9
    Last Post: 2011-09-22, 06:46
  2. [moved] SIS and SISX file
    By rajul in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 11
    Last Post: 2010-05-20, 16:22
  3. [moved] how to know whether the sis file is signed?
    By daboluo0525 in forum Symbian Tools & SDKs
    Replies: 8
    Last Post: 2009-02-20, 02:10
  4. [moved] How could i make sis file to work on 3rd edition mobiles?
    By hemrajn in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 6
    Last Post: 2008-07-04, 12:27
  5. Replies: 1
    Last Post: 2005-05-26, 14:22

Posting Permissions

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