×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Location
    Sweden
    Posts
    26

    Two stage installer?

    I've got an application for the 7650 that is very large (due to lots of images and sounds), about 600kb when in the sis file.
    I can deliver the application as an email or via the PC connectivity kit, but not via WAP because of the 30kb wap download limit.
    This is a problem since I want people to be able to download it OTA and not bother them with configuring email for their phones.

    I would like to create a two stage install where the user first
    downloads a small installer program via wap, installs that application and then runs it, and then downloads the real application sis file from a web server. (I've already got this program to work :-)

    Then, I would like to just launch the regular installer, as used from the email install.

    How can this be done?

    As an alternative, I was thinking of downloading my own compressed image and put the real files in place by hand. This seems to be a very messy and error prone way to do it...

  2. #2
    Registered User
    Join Date
    Mar 2003
    Location
    Sweden
    Posts
    26

    RE: Two stage installer?

    I found the answer, this is what I do to lauch the regular installer:

    CApaCommandLine* cmdLine=CApaCommandLine::NewL();
    cmdLine->SetLibraryNameL(_L("z:\\System\\apps\\appinst\\appinst.app&quot);
    cmdLine->SetDocumentNameL(_L("c:\\system\\Temp\\fooapp.sis&quot);
    cmdLine->SetCommandL(EApaCommandRun);
    EikDll::StartAppL(*cmdLine);

    Works like a charm!

Posting Permissions

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