×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2007
    Posts
    43

    Cannot install SIS, this software is already installed

    Hi,

    I'm using Codewarrior 3.1 and UIQ3 SDKs.
    I'm makin a game called Frutakia. I have an UID3 from symbiansigned: 0xA00028C8

    I have declared that in my PKG file:
    Code:
    ;File: Frutakia.pkg;
    ;
    ;Auto-generated PKG file by Nokia PKG Wizard for CodeWarrior IDE
    
    ;*Languages
    &EN
    ;
    ;*Standard SIS file header. This section specifies the package name,
    ;application UID, and version/build numbers. Add the package TYPE here if needed.
    #{"Frutakia"},(0xA00028C8),1,2,0;
    ;
    
    ;*Unique (Non-Localised) Vendor name
    ;This is used in combination with signing to prevent the unauthroized
    ;upgrade ofa a package by someone other than the rightful vendor.
    :"CrazySoft"
    
    ;*Localized Vendor Name
    ;This specifies the localised vendor name(s) correspodning to language(s).
    %{"CrazySoft"}
    
    ;*Files To Copy...<src> <destination>
    ;The destination files should be a full path. If you use a '!' character
    ;instead of a drive letter, ther user should be given the choice of the drive
    ;to install the file to (on supported Symbian devices).
    "e:\Symbian\UIQ3SDK\EPOC32\RELEASE\GCCE\UREL\Frutakia.exe" -"!:\sys\bin\Frutakia.exe"
    "e:\Symbian\UIQ3SDK\EPOC32\data\Z\Resource\Apps\Frutakia.RSC" -"!:\Resource\Apps\Frutakia.RSC"
    "e:\Symbian\UIQ3SDK\EPOC32\data\Z\Resource\Apps\FrutakiaAppIcon.mbm" -"!:\Resource\Apps\FrutakiaAppIcon.mbm"
    "e:\Symbian\UIQ3SDK\EPOC32\data\Z\Resource\Apps\Frutakia_loc.RSC" -"!:\Resource\Apps\Frutakia_loc.RSC"
    "e:\Symbian\UIQ3SDK\EPOC32\data\Z\private\10003a3f\apps\Frutakia_reg.RSC" -"!:\private\10003a3f\apps\import\Frutakia_reg.RSC"
    and 0xA00028C8 in my Uid.h

    but when I make the SIS file and I try t install it I get an error message saying:
    "Cannot install. this software is already installed". And the installer stops.
    Of course nothing is already installed. I have developed another game with a different UID3 and I though that this may be it so I deleted it but still I get the same message.

    My Frutakia.RSC is:
    Code:
    // Crazysoft.rss
    //
    // © Symbian Software Ltd 2005. All rights reserved.
    //
    
    #include <eikon.rh>
    #include <qikon.rh>
    #include <QikCommand.rh>
    #include <QikListBox.rh>
    #include <QikListBoxStandardLayouts.hrh>
    #include "Frutakia.hrh" // Application specific commands
    #include "Frutakia.rls" // Defines localisable strings
    
    enum {
    EAskStringDialog_Edwin = 0x100
    };
    
    NAME HWHW
    
    RESOURCE RSS_SIGNATURE { }
    
    RESOURCE TBUF { buf = "Frutakia"; }
    
    RESOURCE EIK_APP_INFO {}
    My Frutakia_loc.RSC is:
    Code:
    // Crazysoft_loc.rss
    //
    // © Symbian Software Ltd 2005. All rights reserved.
    //
    
    #include <AppInfo.rh>
    #include "Frutakia_loc.rls"
    
    // This file localise the applications icons and caption
    RESOURCE LOCALISABLE_APP_INFO
    	{
    	caption_and_icon =
    		{
    		CAPTION_AND_ICON_INFO
    			{
    			caption = STRING_r_Crazysoft_caption;
    			number_of_icons = 3;
    			icon_file = "\\Resource\\Apps\\FrutakiaAppIcon.mbm";
    			}
    		};
    	}
    My Frutakia_reg.RSC is:
    Code:
    // Crazysoft_reg.rss
    //
    // © Symbian Software Ltd 2005. All rights reserved.
    //
    
    // All registration files need to #include appinfo.rh. 
    #include <AppInfo.rh>
    #include "FrutakiaUid.h"
    
    UID2 KUidAppRegistrationResourceFile
    UID3 CrazysoftUID // application UID
    
    // app_file statement). 
    RESOURCE APP_REGISTRATION_INFO
    	{
    	app_file = "Frutakia"; // filename of application binary (minus extension)
    	localisable_resource_file = "\\Resource\\Apps\\Frutakia_loc";
    	}
    Do I need to specify the UID3 in other places too? Like in the FrutakiaAppIcon.mbm?

    Any help would be appreciated.

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Cannot install SIS, this software is already installed

    The registration resource should be placed in !:\private\10003a3f\import\apps not in !:\private\10003a3f\apps\import

    Shouldn't the pkg have a platform dependency statement ?
    E.g. [0x101F6300], 3, 0, 0, {"UIQ30ProductID"}

    In general, you could remove some of the packaged components so you will see which one conflicts with existing files on device (if any).

    Symbian's recommendation is that installed binaries to be postfixed with app's UID3 so that file name clashing is avoided.

  3. #3
    Registered User
    Join Date
    Feb 2007
    Posts
    43

    Re: Cannot install SIS, this software is already installed

    ok. Changed to !:\private\10003a3f\import\apps
    After that it installed correctly but after that when I click the game icon It does absolutely nothing. Not even an error message. Its like I haven't even clicked then icon.

    Also after I install this game if I install the other game that I think I have a conflict with it doesnt finish the installation. It stop during the installation and it does not even show an error message.

    Any ideas?

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

    Re: Cannot install SIS, this software is already installed

    Quote Originally Posted by [URL="http://discussion.forum.nokia.com/forum/showpost.php?p=285915&postcount=1"]crazysoft[/URL]
    Hi to all,
    I use Codewarrior 3.1 and S60 3rd edition.

    I’m making a program called paintball.
    But I will use this project to make other programs too. So I called it crazysoft.
    Quote Originally Posted by [URL="http://discussion.forum.nokia.com/forum/showpost.php?p=290483&postcount=1"]crazysoft[/URL]
    ...
    I'm makin a game called Frutakia. I have an UID3 from symbiansigned: 0xA00028C8...
    Code:
    #include <AppInfo.rh>
    #include "FrutakiaUid.h"
    
    UID2 KUidAppRegistrationResourceFile
    UID3 CrazysoftUID // application UID
    What is the value of CrazysoftUID and where else do you use it ?

  5. #5
    Registered User
    Join Date
    Feb 2007
    Posts
    43

    Re: Cannot install SIS, this software is already installed

    I just found the problem!!
    the UID3 was declared in the FrutakiaGCCEUREL.cwlink XML file that codewarrior 3.1 has. When I changed it there and put my new one everything worked perfectly!!

Similar Threads

  1. Unable to install the self certification sis file on Nokia E60 device
    By manjunaths in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 22
    Last Post: 2009-09-24, 07:09
  2. How to install the sis file and test it
    By srvenkatesh in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 7
    Last Post: 2007-03-03, 10:15
  3. sis install - how to enforce uninstall
    By tal.shahar@mobile-mx.com in forum Symbian
    Replies: 3
    Last Post: 2007-02-11, 14:33
  4. Install a sis file on a N80 phone
    By kaiten-sushi in forum Symbian
    Replies: 20
    Last Post: 2007-02-06, 12:24
  5. Replies: 0
    Last Post: 2003-03-06, 18: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
  •