×

Discussion Board

Results 1 to 14 of 14
  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    15

    Angry smart installer cancels installation of clock example on nokia 5800

    Hi I am trying to run the toys -> clocks example on my nokia 5800. I selected the smart installer option in the projects when deploying to symbian devices. I also selected symbian^1 Qt 4.7.3 which according to the documentation supports the nokia 5800.
    The example runs in the simulator and on the desktop.

    However when I install it on the 5800 it installs then starts a download 1 of 1, which completes without error. After the download "preparing installation" begins and then I get the message:
    Installation cancelled! If you want to install at a later stage run it again.

    Why does the smart installer cancel the installation?
    Any help would be appreciated. My phone is updated with the latest os and coda for symbian^1 Qt 4.7.3 is installed.
    Thanks,
    Robert Key

  2. #2
    Registered User
    Join Date
    Oct 2009
    Posts
    82

    Re: smart installer cancels installation of clock example on nokia 5800

    FYI, I'm seeing the same with my own application, which I can install fine without smart installer on 5800 XM, but with it the installation fails with same messages you describe.
    Did you create c:/logs/ADM directory?

    For me, log-boot.txt there shows:

    31/10/2011 12:25:22 Revealing ADM menu icon
    31/10/2011 12:25:22 - LaunchAdmL(): 0
    31/10/2011 12:25:22 + RequestState(): 6->7
    31/10/2011 12:25:22 + StateDownloadL()
    31/10/2011 12:25:23 - Download()
    31/10/2011 12:25:23 + RequestState(): 7->9
    31/10/2011 12:25:23 DlSt= 15, PrSt= 0
    31/10/2011 12:25:23 + RequestState(): 9->9
    31/10/2011 12:25:23 + RequestState(): 9->9
    31/10/2011 12:25:23 + RequestState(): 9->9
    31/10/2011 12:25:23 + RequestState(): 9->9
    31/10/2011 12:25:23 + ExitApp(9): 0
    31/10/2011 12:25:23 + CStateMachine::Stop()
    31/10/2011 12:25:26 + StopWaitNote(6)
    31/10/2011 12:25:26 + CStateMachine::RunError(-1003)

    From log.txt, which is bigger file, I see everything going well, with dependencies satisfied, nothing to download, and then:

    31/10/2011 12:27:08 CInstallManager: Install completed (-30478). 0
    31/10/2011 12:27:08 HandleInstallCompletedL(-30478): 14
    31/10/2011 12:27:08 + SetState(): 14 -> 16
    31/10/2011 12:27:08 + CADMAppUi::HandleFailure(): 16. err=5, m=3
    31/10/2011 12:27:08 - CADMAppUi::HandleFailure(): 0
    31/10/2011 12:27:09 DlSt= 13, PrSt= 0, L=0
    31/10/2011 12:27:10 + CreateInstallationResumeInfo()


    Anyone know what this is about?
    Essentially the same app installs fine for Symbian3 with smart installer, using Symbian3Qt473
    Grego
    http://mpaja.com/

  3. #3
    Registered User
    Join Date
    Oct 2011
    Posts
    15

    Re: smart installer cancels installation of clock example on nokia 5800

    I did make that directory, c:/ADM/logs and the application stored a long log file in there. I did not get any usefull information from the log file. I have tried to install the CNN app which requires a 12 MB download of some other files. The app is installed but when downloading the '1 of 5' it stops and cancels the download. I get the error message "Installation failed".
    Quite a nuisence really. I have started developing android apps, this seems to be much easier.
    Thanks for your reply.
    Rob

  4. #4
    Registered User
    Join Date
    Jan 2009
    Location
    ભારત->ગુજરાત->ભાવનગર
    Posts
    279

    Re: smart installer cancels installation of clock example on nokia 5800

    Quote Originally Posted by robertgordonkey View Post
    Hi I am trying to run the toys -> clocks example on my nokia 5800. I selected the smart installer option in the projects when deploying to symbian devices. I also selected symbian^1 Qt 4.7.3 which according to the documentation supports the nokia 5800.
    The example runs in the simulator and on the desktop.

    However when I install it on the 5800 it installs then starts a download 1 of 1, which completes without error. After the download "preparing installation" begins and then I get the message:
    Installation cancelled! If you want to install at a later stage run it again.

    Why does the smart installer cancel the installation?
    Any help would be appreciated. My phone is updated with the latest os and coda for symbian^1 Qt 4.7.3 is installed.
    Thanks,
    Robert Key
    Well this too happens with me , but situation was bit different. When Smart Installer is Preparinig for installation at that time it automatically connects to Data Network and after that installation is completed successfully,but if i refuse to connect .The Smart installer say's "Installation cancelled".

    Perhaps this might be a solution to your problem, but still i don't know why smart installer has to always connect with data network?? it might be because i have added NetworkService capability to my .pro file..??
    Regards
    Viral Parmar

  5. #5
    Registered User
    Join Date
    Nov 2011
    Posts
    1

    Re: smart installer cancels installation of clock example on nokia 5800

    Quote Originally Posted by robertgordonkey View Post
    I did make that directory, c:/ADM/logs and the application stored a long log file in there. I did not get any usefull information from the log file. I have tried to install the CNN app which requires a 12 MB download of some other files. The app is installed but when downloading the '1 of 5' it stops and cancels the download. I get the error message "Installation failed".
    Quite a nuisence really. I have started developing android apps, this seems to be much easier.
    Thanks for your reply.
    Rob
    i have the same problem here, i did formatted my phone but still nothing, plz someone help us...

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

    Re: smart installer cancels installation of clock example on nokia 5800

    Please post the log files so we can inspect them, we cannot make any guess in the absence of concrete data (like phone's firmware, content and actual error codes). Paste the log files (both of them!) to pastebin.com and post the links here.
    -- 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

  7. #7
    Registered User
    Join Date
    Oct 2011
    Posts
    15

    Re: smart installer cancels installation of clock example on nokia 5800

    Hi Lucian, thanks for the reply, just give me few hours and I will recreate the logfiles and post them.
    Thanks,
    Rob

  8. #8
    Registered User
    Join Date
    Oct 2011
    Posts
    15

    Re: smart installer cancels installation of clock example on nokia 5800

    I did the whole process again of installing the toys:clocks example on my nokia5800 using the smart installer.
    App installs.
    Download 1 of 1 starts, ends, installation starts, installation cancelled! (due to an error)
    I have pasted the log file for the clocks here http://pastebin.com/hR3YbhHJ

    For the CNN app. 12Mb has to be downloaded, starts, completes, then installation fails.
    Log file is here: http://pastebin.com/MHncsvMn

    Hope this helps.
    Thanks,
    Rob

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

    Re: smart installer cancels installation of clock example on nokia 5800

    So we have

    Code:
    09/11/2011	10:26:28	Installing 'C:\system\adm\qt_4.7.3_symbian1_nocs_signed.sis' to C:
    09/11/2011	10:26:29	DlSt=   13, PrSt=    0, L=0
    09/11/2011	10:26:29	+ SilentInstallPackage(): 'C:\system\adm\qt_4.7.3_symbian1_nocs_signed.sis' to C:
    09/11/2011	10:26:36	CInstallManager: Install completed (-30483). 0
    09/11/2011	10:26:36	HandleInstallCompletedL(-30483): 13
    09/11/2011	10:26:36	Removing 'C:\system\adm\qt_4.7.3_symbian1_nocs_signed.sis'
    09/11/2011	10:26:36	Dependency installation failed -30483
    09/11/2011	10:26:36	+ SetState(): 13 -> 16
    09/11/2011	10:26:36	+ CADMAppUi::HandleFailure(): 16. err=5, m=3
    Where -30483 is the KSWInstUpgradeError ... so it sounds like the package downloaded is not compatible with the image. I'll have to do a more detailed inspection of the package and I will then update you on what is happening there.
    -- 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
    May 2011
    Posts
    3

    Re: smart installer cancels installation of clock example on nokia 5800

    Following lines caught my eye from the logs taken from CNN app installation

    157. 09/11/2011 09:17:09 ! e:\sys\bin\QtCore.dll missing
    177. 09/11/2011 09:17:12 [0x2001E61C] v4.07.401 installed

    @robertgordonkey - Have you by any chance manually deployed Qt 4.7.4(01) from a previous SDK version to the e -drive (memory card) of your 5800? 4.7.4(01) is NR (non-removable) flagged and if installed to e -drive, update of it with package without NR flag is not allowed. Qt 4.7.3 package for 5th Edition available in Smart Installer does not have NR flag. The reason why Smart Installer tries to deploy Qt is that it does not seem to find QtCore.dll from the e -drive (there is feature in Smart Installer to check the presence of actual binaries in addition to checking the information of installed packages).

    ...and one more thing. The reason why Smart Installer tries to deploy Qt 4.7.3 is that it is the latest version supported for 5th Edition. Qt 4.7.4 is not anymore supported for 5th Edition and hence not available in Smart Installer for 5th Edition devices.

    -Santtu
    Last edited by zanttuv; 2011-11-09 at 13:20.

  11. #11
    Registered User
    Join Date
    Oct 2011
    Posts
    15

    Re: smart installer cancels installation of clock example on nokia 5800

    Hi, thanks for the reply.
    I only have a Qt on the c: drive version 4.07(3) I pressume this means 4.7.3.
    I haven't installed version 4.7.4 to my knowledge.
    There is no Qt on the e: drive at all, there is a Qtmobility version 1.01(3) which I cannot remove on the e: drive.
    I also recently formatted e: and reinstalled my apps.
    Thanks,
    Rob

  12. #12
    Registered User
    Join Date
    May 2011
    Posts
    3

    Re: smart installer cancels installation of clock example on nokia 5800

    Hi,

    I reproduced this case with 5800 (52.0.007.c01.01) and Smart Installer logs look pretty much identical with what was posted to this thread.

    1. Install Qt 4.7.401 from SDK 1.1.3 to E:
    2. Format E:, SIS Registry still reports Qt 4.7.401 being installed which is right (it hasn't been uninstalled properly)
    3. Install Smart Installer enabled Qt 4.7.3 application
    4. Smart Installer detects Qt 4.7.401 being installed to E: but the actual binaries are missing --> Qt install is forced
    5. Smart Installer tries to install Qt 4.7.3 to C: but fails with -30483 (Invalid upgrade) --> NR flagged package (4.7.401) can't be replaced with non-NR flagged package (4.7.3)

    SIS packages in Qt SDK are not properly named and one can easily deploy wrong version of Qt without really noticing it.

    Running a hard reset on your device will remove Qt altogether and you should be able to normally deploy Qt via Smart Installer after that. Remember to take backup.

    Cheers,
    -Santtu
    Last edited by zanttuv; 2011-11-11 at 10:57.

  13. #13
    Registered User
    Join Date
    Oct 2011
    Posts
    15

    Re: smart installer cancels installation of clock example on nokia 5800

    Thanks so much for the reply, it makes sense.
    I recall that after upgrading the firmware, I could run some Qt apps which I downloaded. I then tried so many different installs and uninstalls of sdk that I must have messed some versions. I remember trying Symbian belle (4.7.4) but I thought the format (on the phone would have cleared that.
    Thanks I will give it hard reset. It actually seems quite a complicated system.
    Rob

  14. #14
    Registered User
    Join Date
    Oct 2011
    Posts
    15

    Re: smart installer cancels installation of clock example on nokia 5800

    Solved:
    Thanks so much the problem was like you said. There must have been a version 4.7.4 of Qt that could not be deleted. I did a hard reset and tried some examples from Qt creator after installing coda, qtwebkit and some dependencies. All the examples now run on my phone.

    I did notice when I clicked on device info before the hard reset.
    It said everything was installed except Qt
    Now after the reset it shows everything is installed and the apps now run.
    Thanks very much to all, it was quite simple but if you don't know you don't know.
    Now I can test my apps that I have written at last.
    Cheers,
    Rob

Similar Threads

  1. Molome Installation Failed with Smart Installer
    By whousah in forum [Archived] Nokia Smart Installer for Symbian
    Replies: 2
    Last Post: 2011-06-22, 22:13
  2. Installation with latest Smart Installer and Qt4.7 dependency fails on N8!
    By oskarinarki in forum [Archived] Nokia Smart Installer for Symbian
    Replies: 12
    Last Post: 2011-05-24, 10:22
  3. Application deployed with smart installer only starts once on Nokia 5800/X6
    By andreig1978 in forum [Archived] Nokia Smart Installer for Symbian
    Replies: 11
    Last Post: 2010-08-25, 15:15
  4. Installation of smart installer fails on E72
    By andrevw in forum [Archived] Nokia Smart Installer for Symbian
    Replies: 0
    Last Post: 2010-02-18, 12:06

Posting Permissions

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