×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Is it possible to start auto installation of SIS file?

    Hi

    I am doing work on symbian S60 3rd edition FP1.

    I am able to transfer .SIS file using Bluetooth but do not able start installation automatically.

    How it's possible, any idea?
    Please help me on this concept.

    Regards,
    SymbianTH

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Is it possible to start auto installation of SIS file?

    luckily there is no API for that, t would ease making stuff that would be unwanted by the enduser, basically you would need to have a process running in the device that would start the installation when the sis file arrives.

  3. #3
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Re: Is it possible to start auto installation of SIS file?

    Hi

    Thanks for reply.

    Yes for that I will make console application.
    But How to start installation process form that console application? Give me a Hit or snippets.

    I tried with following way but not able to build (GCCE) application.
    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\ConsoleApp.exe" -"!:\sys\bin\ConsoleApp.exe"
    ;GUIApp
    @"..\GUIApp\Epoc32\InstallToDevice\GUIApp\sis\GUIApp.sisx", (0x2001ec5f)

    Getting Error:
    different UID.

    Regards,
    SymbianTH

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,570

    Re: Is it possible to start auto installation of SIS file?

    This is an embedded .sisx file, it gets installed automatically when the containing .sisx file is installed. That 0x2001ec5f is not a random number, it has to match with the pkguid of GUIApp.sisx, that is a possible reason for getting "different UID" error.

    Otherwise you can find some installer API in the plug-in packs, http://wiki.forum.nokia.com/index.php/SDK_API_Plug-in, and RApaLsSession::StartDocument can also initiate installation.

  5. #5
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Re: Is it possible to start auto installation of SIS file?

    Hi

    Yes I understood, What you say, It's not useful for auto start installtion after transfer application.

    So What I do If I want to start installtion after transfering SIS file using Bluetooth.

    Regards,
    SymbianTH

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

    Re: Is it possible to start auto installation of SIS file?

    Quote Originally Posted by SymbianTH View Post
    So What I do If I want to start installtion after transfering SIS file using Bluetooth.
    see my previous reply..
    Quote Originally Posted by symbianyucca View Post
    luckily there is no API for that,

  7. #7
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Re: Is it possible to start auto installation of SIS file?

    Hi

    I download SW installer API Plugins.

    Using this API applicaiton need "TrustedUI" capability.

    I signed application with cer and key file, but I am using online open signed certificate.

    But When I try to install application, give me an error: "Unable to Install,Constrained by Certificate".

    What is solution for this problem?

    Regards,
    SymbianTH

  8. #8
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,570

    Re: Is it possible to start auto installation of SIS file?

    Quote Originally Posted by SymbianTH View Post
    But When I try to install application, give me an error: "Unable to Install,Constrained by Certificate".

    What is solution for this problem?
    Using the proper IMEI. Also note that the Open Signed Online service may have some problems with its clock, it may happen that if you try installing it now, it would succeed.

  9. #9
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Re: Is it possible to start auto installation of SIS file?

    Hi

    Yes wizard_hu you are write problem is related to IMEI, now this problem I solved, but getting following problem.

    I am working on Symbian S60 3rd Edition FP1, and release build using GCCE.

    I download silent installer application from wiki and add one menu option named "direct Install".
    After put one sisx application on C:\\Data\GUIApp.sisx path in mobile device.

    Included Capabilities are:
    CAPABILITY LocalServices NetworkServices ReadUserData TrustedUI UserEnvironment WriteUserData

    Now I installed successfully, I call following code from menu option click event, but do nothing and also do not display any panic.

    why this happens?
    please help me.

    Code:
     void  CSilentInstEngine::SilInstall()
        {
         _LIT( KTempPath , "c:\\Data\\GUIApp.sisx" );
    
        //Setting install options
        CAOSync* waiter = CAOSync::NewL();   
              
        CleanupStack::PushL( waiter );
                
        iOptions.iUpgrade = SwiUI::EPolicyNotAllowed;
        iOptions.iOCSP = SwiUI::EPolicyNotAllowed;
        iOptions.iDrive = 'C';   
        iOptions.iUntrusted = SwiUI::EPolicyNotAllowed; 
        iOptions.iCapabilities = SwiUI::EPolicyNotAllowed; 
        		
        iOptionsPckg = iOptions;   
        			
       
        TBufC<50> FName(KTempPath);
        
        //Silent insatllation
            				 
        iLauncher.SilentInstall(waiter->iStatus,FName,iOptionsPckg);
        
         waiter->Execute();
    
       CleanupStack::PopAndDestroy( waiter );
        }
    Regards,
    SymbianTH
    Last edited by SymbianTH; 2010-07-13 at 08:01.

Similar Threads

  1. Replies: 8
    Last Post: 2010-03-03, 09:22
  2. Auto start application when installation finished
    By markos123 in forum Symbian Tools & SDKs
    Replies: 12
    Last Post: 2009-07-17, 06:00
  3. Replies: 3
    Last Post: 2009-05-21, 11:18
  4. Auto start and Auto installation
    By sunithadevim in forum Symbian
    Replies: 8
    Last Post: 2008-02-07, 04:58
  5. Auto start and embeded SIS file
    By zabbas12 in forum Symbian
    Replies: 5
    Last Post: 2007-04-12, 06:59

Posting Permissions

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