×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    104

    Silent Installation

    Hi

    I am searching for a possibility to update an application without involving the user. When i need to update a executable i normaly should use a .sis and install it via the installer. However, its impossible to run the installer in a silent mode.

    I have gone through the SWInstaller in nokia wiki.It is working fine,but as it is not public api, i am in search of some other way.

    If any one have any idea about this ,kindly let me know.

    regards
    preethi

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Silent Installation

    Quote Originally Posted by preethi View Post
    I have gone through the SWInstaller in nokia wiki.It is working fine,but as it is not public api, i am in search of some other way.
    I am afraid that there is another way. Even if it is a part of SDK plug-in API, you can still use it in your application. Is there any specific reason not to use SWInstaller API?
    Nokia Developer Wiki Moderation team

  3. #3
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Silent Installation

    Basically you can not update the application by calling any API from your own application. The installer is run embedded thus it is killed when the installer itself cloes your applciation while uninstalling it.

    So you need to eithr have some additional executable doing it, for example you could download two sis files, use the SWInstaller API to silenty install the "updater app", which would then wait untill you close your app, and uninstall it, and re-install with the new sis, then the updated application could uninstall the "updater app".. a bit tricky but not too difficult really..

  4. #4
    Registered User
    Join Date
    Aug 2006
    Posts
    104

    Re: Silent Installation

    Hi

    Thank you for valuable suggestions.

    I will go with SW installer API.

    Reason for not using it was ,as they are not in public SDK,they are not tested in every device ,so thought we cannot on rely on that ,without testing on every device.

    Thats ok ,it will be better if i go for SWinstalelr api only,as i could not get any other option.


    regards
    preethi

  5. #5
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Silent Installation

    Quote Originally Posted by preethi View Post
    Reason for not using it was ,as they are not in public SDK,they are not tested in every device ,so thought we cannot on rely on that ,without testing on every device
    SW Installer Launcher API is a part of plug-in pack for S60 3rd MR, S60 3rd FP1, S60 3rd FP2 and S60 5th Edition; so there should not be any real problem using it on different devices.
    Nokia Developer Wiki Moderation team

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Silent Installation

    I have not seen any problem, but as said it is plug-in API, thus there is no guarantee on any compatibility.

  7. #7
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    216

    Re: Silent Installation

    hello
    i test the silent Installation and it work fine , but how can i check server for new version ?

  8. #8
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Silent Installation

    What do you mean by that ?

    Is it your own application and own server, so just make a logic to figure that out, and use for example HTTP for communicating with your server.

  9. #9
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    216

    Re: Silent Installation

    Quote Originally Posted by symbianyucca View Post
    What do you mean by that ?

    Is it your own application and own server, so just make a logic to figure that out, and use for example HTTP for communicating with your server.
    hi yucca
    yes its my own server and app , i mean that : i dont't know the file name because i uploaded the new version with the name of version like "1.0.0" then i want to check when there's a new version on my server i must download it and install

  10. #10
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Silent Installation

    Could you do that check from the application that requires updating ?, then you could hardcode it before compiling, otherwise, you could add a file in public folders for example, so you could read the information from other processes.

  11. #11
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    216

    Re: Silent Installation

    Quote Originally Posted by symbianyucca View Post
    Could you do that check from the application that requires updating ?, then you could hardcode it before compiling, otherwise, you could add a file in public folders for example, so you could read the information from other processes.
    yes i do that check from my application that requires update and download the new version but to install it i start another process to do the update and switch to my application again after installation finished
    1- app1 ---- check for new version
    2- app1 ---- download new version if it exists on my server
    3- app1 ---- kill his process and start app2 process
    4- app2 ---- start installing new version of app1
    5- app2 ---- kill his process after installation complete and start app1 again
    i do all of this procedures but i missing no 1 (check for new version )

  12. #12
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Silent Installation

    what i think of is the process

    1. you send your installed application version to server.
    2. in your server you decide if you have a newer version or not.
    3. your sends a response the decision to client.
    4. then client can download .

Similar Threads

  1. Silent application installation using OMA DM
    By smondal in forum OMA DM/DS/CP
    Replies: 5
    Last Post: 2009-02-09, 11:29
  2. Silent Installation of DRM content is failed??
    By sathish4urs in forum Digital Rights Management & Content Downloading
    Replies: 1
    Last Post: 2009-01-19, 06:36
  3. Silent installation of S60 SDK
    By patu in forum Tools and SDK Feedback (Closed)
    Replies: 0
    Last Post: 2007-09-10, 10:36
  4. silent installation package....
    By GeKI in forum Symbian
    Replies: 1
    Last Post: 2006-12-14, 10:37
  5. Replies: 1
    Last Post: 2004-12-17, 19:19

Posting Permissions

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