Archived:在某些S60第三版固件版本上运行RUNREMOVE(RR)工作不正常
文章信息
测试基于
设备:: 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 )
兼容于
平台: S60 3rd Edition
文章
翻译:
由 hoolee
最后由 hamishwillee
在 23 Aug 2012 编辑
- 手机型号
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 )
- 详细描述
如果在pkg中定义RUNREMOVE(RR)选项,在某些版本的第三版手机将无法执行。
- 详细描述
pkg文件的下列代码部分将会在主程序testapp.exe卸载时,运行uninstaller.exe程序
; ********************************************************************
; 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"
; *************************************************************************
至少下列手机版本在运行上述命令时会出现uninstaller.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 )
- 解决方案
暂无解决方案。在这些S60第三版手机的后继版本将不会出现这样的问题
注意
RUNINSTALL (RI)和RUNREMOVE(RR)选项无法运行在自签名程序包中
当使用RUNWAITEND(RW)和RUNREMOVE时,应尽快完成移除时执行的程序。因为卸载程序会等待全部任务的完成。


(no comments yet)