×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Dec 2004
    Posts
    50

    embed jar into sis but installation scratches after jar installation

    Hello All,
    I am successfully able to install jar file through sis, but while installing jar the sis file scratches with message "installer is all ready running". Therefore I could not get sis application. Any solution, Please?
    Here is some part of my pkg file,

    "C:\Symbian\8.0a\S60_2nd_FP2_CW\Epoc32\release\thumb\urel\installjar.APP"-"e:\system\apps\installjar\installjar.app"
    "C:\Symbian\8.0a\S60_2nd_FP2_CW\Epoc32\Data\z\system\apps\INSTALLJAR\installjar.rsc"-"e:\system\apps\installjar\installjar.rsc"
    "C:\Symbian\8.0a\S60_2nd_FP2_CW\abc.jad"-"e:\system\apps\Contents\abc.jad",FILEMIME,"text/vnd.sun.j2me.app-descriptor"
    "C:\Symbian\8.0a\S60_2nd_FP2_CW\abc.jar"-"e:\system\apps\Contents\abc.jar", FR, RI

    Thanks in advance,
    vikas

  2. #2
    Regular Contributor
    Join Date
    Dec 2004
    Posts
    50

    Smile Re: embed jar into sis but installation scratches after jar installation

    I had solved the problem, I used a exe to install the jar and embed exe to sis, and after 10 second exe executed so that when jar installation starts the installer is free for jar installation.

  3. #3
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,559

    Re: embed jar into sis but installation scratches after jar installation

    Quote Originally Posted by vikas3a
    I had solved the problem, I used a exe to install the jar and embed exe to sis, and after 10 second exe executed so that when jar installation starts the installer is free for jar installation.
    Am trying similar thing since long and would be great if you can help me with couple of things(am new to Java world..and few months into Symbian world)

    1. How do you use an exe to install jar?
    2. What exactly did your pkg look like in above solution?

    Help would be extremely valued.

    Neil

  4. #4
    Regular Contributor
    Join Date
    Dec 2004
    Posts
    50

    Re: embed jar into sis but installation scratches after jar installation

    Hi Symbian_nail,

    Below code installs midlet from exe,


    _LIT(KMyAppName, "z:\\system\\Apps\\AppInst\\Appinst.app");
    TBuf<15> filePath;
    filePath.Append(_L("E:\\MyJar.jar"));
    RApaLsSession sess;
    sess.Connect();
    CApaCommandLine * cmd=CApaCommandLine::NewL();
    cmd->SetLibraryNameL(KMyAppName);
    cmd->SetDocumentNameL(filePath);
    cmd->SetCommandL(EApaCommandRun);
    sess.StartApp(*cmd);
    sess.Close();

    Pkg file format.
    "..\..\..\..\Epoc32\release\thumb\urel\jarInstall.exe"-"e:\system\apps\myapp\jarInstall.exe",FILERUN,RUNINSTALL

    bye
    vikas

  5. #5
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,559

    Re: embed jar into sis but installation scratches after jar installation

    Thank you Vikas for sharing your solution. I hope I am able to emulate your solution!!

    Thanks once again.

    Cheers
    Neil

Similar Threads

  1. Replies: 6
    Last Post: 2006-05-21, 08:23
  2. Replies: 0
    Last Post: 2006-05-10, 12:17
  3. Language Selection in 3650 Sis file installation
    By howardsimms in forum Symbian
    Replies: 0
    Last Post: 2003-04-24, 15:57
  4. Replies: 0
    Last Post: 2002-11-18, 05:13
  5. Please help about getting a jar to a sis.
    By theopoon in forum Mobile Java General
    Replies: 3
    Last Post: 2002-10-23, 10:42

Posting Permissions

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