×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    1,503

    [moved] Add jar file inside the PKG file with another sis file

    Hi,

    I want to add a Jar file inside the PKG file like Embedded sis file concept, in my PKG file i want to add 1 sis file and 1 Jar file and create a sis file which install both the files sis and Jar in sequence. I can add 2 sis file and can install in sequence but not able to add jar file. Please anybody have any idea.
    Regards,
    Amit


    ****"Putting a Smile on other's faces is the essence of true Happiness"****

  2. #2
    Registered User
    Join Date
    Dec 2005
    Location
    Albacete, Spain
    Posts
    380

    Re: Add jar file inside the PKG file with another sis file

    I don't think that the sis installer handles installation of jars.
    An option could be to run a small exe during installation of sis that installs the jar and exits.
    You can try by just opening the jar with the browser, I think that this will trigger the jar installer to run.
    This link may help:
    http://wiki.forum.nokia.com/index.ph...in_3rd_edition
    ----------------------------------------------
    Every journey starts with a small step.

  3. #3
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    79

    Re: [moved] Add jar file inside the PKG file with another sis file

    You don't have to open web browser to install Java application, it is enough to open it as document. Here is small code:
    Code:
    			RApaLsSession iApaLsSession;
    
    			iApaLsSession.Connect();
    			CleanupClosePushL(iApaLsSession);
    
    			TThreadId threadId;
    
    			// Start document and let Symbian to handle the rest
    			iApaLsSession.StartDocument(
    				strFileName, 
    				threadId);	
    
    			CleanupStack::PopAndDestroy(1);

  4. #4
    Registered User
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    1,503

    Re: [moved] Add jar file inside the PKG file with another sis file

    Thanks, but i dont want to launch browser, i want to install Jar file through sis file.

    I will add the Jar file in the PKG file, and make a sis file and install on phone.

    i tried following way

    Code:
    ; List of languages supported
    &EN
    ; List of localised vendor names
    %{"Symbian Software Ltd."}
    ; Single, non-localised (global) vendor name
    :"Symbian Software Ltd."
    ; Installation header.
    #{"Minimal application"},(0xE8000091),1,0,0
    IF NOT package(0x2000E847)
    ; install minimal.sis only if not already installed
    @"test.sis", (0x2000E847)
    endif
    "Neo-CONTROL.jar"-"!:\temp\Neo-CONTROL.jar", FILEMIME, "application/java-archive"
    so test.sis installs successful but when jar file installs i get "Unable to start operation, Installer already in use"

    Is there any way to install jar file like embedded sis file concept.
    Regards,
    Amit


    ****"Putting a Smile on other's faces is the essence of true Happiness"****

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

    Re: [moved] Add jar file inside the PKG file with another sis file

    With about 1200 posts on this forum I would expect you to know the resources offered by this site well enough to find what you need. There is at least one Wiki article on this subject, referenced in a thread that can be found 4 threads below this one. See http://discussion.forum.nokia.com/fo...ad.php?t=46331
    -- 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
    Jul 2007
    Location
    Noida
    Posts
    1,503

    Embedded sis file problem

    Thanks for help, i have solve my problem. but now i have another question on Embedded sis file.

    I made a GUI application with Protected UID and set it PKG header TYPE=SA.
    #{"TestEmbeddedPkg"},(0x2002BAAF),1,2,3,TYPE=SA

    And now i add another sis (Embedded sis file) file, which also has type=SA and having protected UID.i add following in my PKG file.

    ; install minimal.sis only if not already installed
    @"Embedded.sis", (0x2000E847)

    Now when i install the sis file on my device it installs both files.

    But when i uninstall TestEmbeddedPkg file from APP Manager, my Embedded sis file application also removed from APP Manager. But if i removed Embedded application from App Manager, the main Application is remain on the App Manager.

    I read in SDK help under Embedding SIS Files topic "The benefit of using SA-type SIS files is that the implementation is relatively easy. The downside is that the embedded SIS file is visible in the Application Manager. Thus, the user may accidentally remove the file."

    So please any body help if i am doing wrong or this is the behavior of Embedded sis file concept that if i removed the main application from App Manager, the Embedded application also be removed. Please help me.
    Regards,
    Amit


    ****"Putting a Smile on other's faces is the essence of true Happiness"****

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

    Re: [moved] Add jar file inside the PKG file with another sis file

    Yes, as the documentation quoted also says, that is the normal behaviour of the embedded SIS files.
    -- 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

Similar Threads

  1. [moved] One SIS file can contain multi app and exe files?
    By danie78 in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2009-02-16, 16:10
  2. [moved] Unable to install two SIS
    By Tekkan in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 22
    Last Post: 2009-02-11, 07:30
  3. 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
  •  
×