×
Namespaces

Variants
Actions

Archived:RUNREMOVE (RR) directive does not work as specified in some SW versions of S60 3rd Edition devices (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The RUNREMOVE (RR) directive in the .pkg file does not work correctly in some of the first SW releases of S60 3rd Edition devices.

Article Metadata
Tested with
Devices(s): Nokia 3250 (SW 3.17)
Nokia E61 (SW 1.0610.04.04)
Nokia N71 (SW: 2.0613.1.12.1)
Nokia N91 (SW: 1.00.012.00 )
Compatibility
Platform(s): S60 3rd Edition
Symbian
S60 3rd Edition (initial release)
Article
Created: User:Technical writer 1 (20 Aug 2007)
Last edited: hamishwillee (07 Sep 2012)

Description

The following piece of code is from a .pkg file which should command the uninstaller.exe application to be run when the main application, testapp.exe, is uninstalled.

  ; ********************************************************************
 ; testapp.pkg
 ;
 ;Language - standard language definitions
&EN
 ; standard SIS file header
#{"testapp"},(0xE03B7C29),1,0,0
 ;Localised Vendor name
 %{"Vendor-EN"}
 ;Unique Vendor name
 :"Vendor"
 ;Supports S60 3rd Edition
[0x101F7961], 0, 0, 0, {"Series60ProductID"}
 ; *********************************************************************
 ;
 ; This executable will be run when ’testapp’ is uninstalled
 ; - Remember to use UID3 for the small exe, otherwise it won’t run
 ;
 ; *********************************************************************
"\Epoc32\release\gcce\urel\uninstaller.exe"
-"!:\sys\bin\uninstaller.exe", FR, RR, RW
 ; **********************************************************************
 ;
 ; These files belong to the actual ’testapp’
 ;
 ; ***********************************************************************
"\Epoc32\release\gcce\urel\testapp.exe" -"!:\sys\bin\testapp.exe"
"\Epoc32\data\z\resource\apps\testapp.rsc"
-"!:\resource\apps\testapp.rsc"
"\Epoc32\data\z\private\10003a3f\apps\testapp_reg.rsc"
-"!:\private\10003a3f\import\apps\testapp_reg.rsc"
"\Epoc32\data\z\resource\apps\testapp.mif" -"!:\resource\apps\testapp.mif"
 ; *************************************************************************

At least the following devices with these SW versions fail to launch the uninstaller.exe application during the uninstallation of testapp.exe.

  • Nokia 3250 (SW 3.17)
  • Nokia E61 (SW 1.0610.04.04)
  • Nokia N71 (SW: 2.0613.1.12.1)
  • Nokia N91 (SW: 1.00.012.00 )

The functionality works as specified in at least the following devices with these SW versions:

  • Nokia N73 (SW: 2.06.20.0.0.5)
  • Nokia N91 (SW: 1.10.030)

Solution

No workaround available for devices/SW versions reported above. This issue no longer exists in latest SW versions for S60 3rd Edition devices.

Notes:

  • RUNINSTALL (RI) and RUNREMOVE (RR) options cannot be used in self-signed SIS packages.
  • When using RUNWAITEND (RW) options with RUNREMOVE, the application launched on removal should complete its tasks and exit as quickly as possible. The installer is waiting for the process to complete and may appear to be stuck during this time.

See also

Archived:Using RUNREMOVE and RUNINSTALL options in SIS packages

This page was last modified on 7 September 2012, at 09:48.
49 page views in the last 30 days.
×