×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Dec 2005
    Location
    Finland
    Posts
    109

    Self-signed to symbian signed

    Hi all,

    I'm having following problem. We have developed app and used self-signing now we are going for Symbian Signed.

    My problem is how-to update self-signed app with Symbian Signed.
    As far as I know I cannot update it straight as UID:s aren't same.

    So can I uninstall old application automatically and then install my signed app?

    Other problem is that I need some user made files from old application to be copied to new application. How can this be sone while installing?

    thanks Jascco

  2. #2
    Regular Contributor
    Join Date
    Nov 2007
    Location
    Ukraine
    Posts
    56

    Re: Self-signed to symbian signed

    Hi,
    You should unistall your old application manualy
    because you probably would use another UID

    1. step go to www.symbainsigned.com and register an account
    2. get a UID from protected range
    3. get a Publisher ID certicficate from TrustCenter (use manual from symbainsigned site)
    for Express Signed you need to prepare zip archive (It contains sis file signed with Publisher ID , pkg file and txt (readme) file)
    It is online procedure so if you have prepeared all of this
    you get signed file in few minutes


    Also I should notice you that it costs (200$ for publisher ID certificate and 20$ per evry singing) and you can'nt resign application

    good luck!

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

    Re: Self-signed to symbian signed

    Please note that the SDK Plug-in API includes one API that can be used to uninstall the self-signed version.
    -- 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

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

    Re: Self-signed to symbian signed

    Some things to note:
    The uninstaller requires Trusted UI capability to use
    In addition to renaming your uid, you will also need to rename all your dll's and executables (remembering of course to build the exe to reference the new dll's and not the old ones)
    Depending on where the data files are you may or may not be able to get to them - if they are in the private data cage then you will not be able to get them.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

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

    Re: Self-signed to symbian signed

    To my knowledge the TrustedUI is only needed if the (un)installation is to be done in the background (silent (un)install).
    -- 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
    Dec 2005
    Location
    Finland
    Posts
    109

    Re: Self-signed to symbian signed

    Thanks all.

    I have solved all issues regarding how-to make my application so ready that I can Express Sign it (aqquiring id's, changing uid's etc and testing).

    Now I'm trying to make uninstaller by using SDK Plug-in API's. I hope it goes fine wiht SDK Plug-in API.

  7. #7
    Registered User
    Join Date
    Dec 2005
    Location
    Finland
    Posts
    109

    Re: Self-signed to symbian signed

    Hi again,

    OK, I have made some progress. I created .exe file which handles un-installation of my self-signed version. Then I run this file during installation of my signed version.

    But, installer cannot un-install old version during installation because installer is already running.
    What can I do now, can run un-installer after install?

    Here's my code for uninstaller, if it helps someone else
    Code:
    LOCAL_C void doExampleL()
    {
    	SwiUI::RSWInstLauncher iInstall;
    	RApaLsSession apa;
    	apa.Connect();
    	TInt status = apa.GetAllApps();
    	TBool appFound = EFalse;
    	if (status == KErrNone)
    	{
    		TApaAppInfo aInfo;
    		while (status == KErrNone)
    		{
    			status = apa.GetNextApp(aInfo);
    			if (status == KErrNone)
    			{
    				TUid oldone;
    				oldone.iUid =  KmyUID;
    				if (aInfo.iUid.iUid == oldone.iUid)
    				{
    					
    					SwiUI::RSWInstLauncher launcher;
    					int error = launcher.Connect();
    					error = launcher.Uninstall(aInfo.iUid,SwiUI::KSisxMimeType);
    					launcher.Close();
    					appFound = ETrue;
    					break;
    				}
    			}
    		}
    	}
    }

  8. #8
    Registered User
    Join Date
    Dec 2005
    Location
    Finland
    Posts
    109

    Re: Self-signed to symbian signed

    Ok my solution for now is to use following line in .pkg file
    "\epoc32\release\gcce\urel\AppRemover.exe"- "!:\sys\bin\AppRemover.exe" ,FR,RI

    And it runs during installation, but when it starts I use User::After() to stall it for a while so that installation is completed.

    Works fine, but if someone can tell me how-to run un-installation during installation I would be happy

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,673

    Re: Self-signed to symbian signed

    Search for RI in the SDK Help, and check what the other possibilities are.

Similar Threads

  1. Can Symbian signed crack proof an application?
    By mayur_24 in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 40
    Last Post: 2009-05-19, 08:49
  2. App test lite and Symbian signed test critiria
    By forester404 in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 6
    Last Post: 2007-09-12, 09:54
  3. Screencast on the Symbian Signed workflow
    By mitts in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 2
    Last Post: 2007-09-11, 08:41
  4. symbian signed testing problem.
    By anglina in forum Symbian
    Replies: 0
    Last Post: 2007-02-01, 10:15
  5. Symbian Signed test criteria
    By kompotFX in forum Symbian
    Replies: 4
    Last Post: 2006-11-17, 00:11

Posting Permissions

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