×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    39

    Re signing to add embedded sis

    Hi all,
    I have a symbian signed application (SIS1). We had to write some waivers, hence we couldn't use Express signed.
    Now I want to extend this package : I want to embed an other signed application (SIS2) into SIS1.
    As a result i will have a single package that will deploy both applications.
    This may seems silly but for a large scale deployment we want only one package to install, not 2.

    I will not change anything in SIS1 (except the PKG). Do I have to go through all certified signed process again?
    Since both app are signed it is only a repackaging...
    Is there a way to do it quickly?

    Thanks for your help!

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

    Re: Re signing to add embedded sis

    I'm rather sure the answer is Yes, every time you make any modifications, you do need to go through the signing process just the same.

  3. #3
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Re signing to add embedded sis

    What SymbianSigned guarantees is that the sis file signed with the Symbian root certificate has not been tampered with, but what you are doing is tampering with it by adding new files.

    Because the content of the sis file has changed, the signature would be invalid and so it would require re-cerification.

    You could wrap the sis files together as an embedded sis file via the dependency line in the pkg file.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

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

    Re: Re signing to add embedded sis

    Things like this should be considered before signing in order to minimize the need for re-signing each time any of the sis file content is touched. The less likely to change SIS file is the one to be embedded inside the sis file who's content is more likely subject to change.

    Now, if you have two signed sis file and all you want is to ensure distribution as one package there is of course the option of delivering both sis files embedded in one self-signed package. It will display that warning about your application not being trusted and will create one more entry in the application manager but on the other side will save you the trouble (and the cost) of signing the application again.

    With a bit of extra cost (but no trouble at all) you can sign the delivery package using Express Signed.
    -- 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

  5. #5
    Registered User
    Join Date
    May 2006
    Posts
    39

    Re: Re signing to add embedded sis

    Hi all,
    Thanks for your replies.
    Yes, both applications could be wrapped into an other package.
    But then the problem is that one of the application should start at boot up. And I cannot manage to add an embedded sis into the startup list...

  6. #6
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Re signing to add embedded sis

    Basically to do it, you need to create a seperate sis file that is an augmentation package (type PA) to your original package (ie the one you want to make autostart) and then when your application starts for the first time use the silent installer API to augment the existing package which will then register the autostart correctly.

    I'm not sure if this documented anywhere on the wiki but it probably should be.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

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

    Re: Re signing to add embedded sis

    Or you can add a launcher to the delivery package (now signing becomes mandatory) which on boot will take care of starting the initial launcer from your SIS1 so that it can then execute its tasks as initialy designed.
    -- 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

  8. #8
    Registered User
    Join Date
    May 2006
    Posts
    39

    Re: Re signing to add embedded sis

    I'm not sure to understand...
    I'll investigate SW Installer Launcher API, and see if it can register to autostart.

    Regarding the case I have to add a launcher to the package. It would be :
    - a simple exe that is launched at boot up (the sis would install 2 app + the laucher),
    - the launcher would simply launch the SIS1 (or it's exe)
    In that case I would have to sign the launcher only.
    Am I right?

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

    Re: Re signing to add embedded sis

    Paul's suggestion is that you make a sis file that contains the registration file and the SIS1 exe that is supposed to start on boot and have it patch the installation at a later time by silently installing the sis. The question is who will launch the patching, since the exe in SIS1 has no knowledge of this patch being needed. So you would need an installer utility that does the patching

    Code:
    dist.sis
        @sis1.sis 
        @sis2.sis
        patch.sis - !:\...\patch.sis
        patch_installer.exe - !:\sys\bin\patch_installer.exe, FR, RI
    The patch_installer.exe uses the SW Installer API to perform the installation of patch.sis You will have to sign dist.sis of course.

    With this approach you need to sign two additional SIS files: patch.sis and dist.sis

    My suggestion is that you don't use an installer but a launcher:

    Code:
    dist.sis
        @sis1.sis
        @sis2.sis
        dist_launcher.exe - !:\sys\bin\dist_launcher.exe
        [dist_pUID].rsc - c:\private\...\[dist_pUID].rsc
    The launcher will then be started on boot and it will start the exe that SIS1 was supposed to register. From SIS1's perspective nothing's changed.
    Last edited by ltomuta; 2009-02-09 at 15:56. Reason: Typo
    -- 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

  10. #10
    Registered User
    Join Date
    May 2006
    Posts
    39

    Re: Re signing to add embedded sis

    Got it!
    Thank you all for your precious advices. I implemented ltomuta's solution because it seemed to me to be the simplest.
    And it works perfecrly!

Similar Threads

  1. PyS60 Talks #1 : Sis files and Signing Issues
    By bogdan.galiceanu in forum Symbian
    Replies: 12
    Last Post: 2008-07-29, 11:16
  2. User abort of installation with embedded SIS file and FILERUN option.
    By tim_felser in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2008-07-14, 12:32
  3. Signing embedded sis with different certificate
    By kwillms in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 1
    Last Post: 2007-11-12, 09:40
  4. Product uses Open-C, But not allowed to embed in sis file, Is that fine for signing?
    By sovendana in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 3
    Last Post: 2007-09-14, 07:28
  5. installation of embedded sis panics on 7650
    By vmakinen in forum Symbian
    Replies: 0
    Last Post: 2004-08-09, 13:21

Posting Permissions

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