为何ApplicationWizard生成的工程不能用“Create .SIS Package”命令生成SIS包?

Brunhild 2006-02-07 11:30:48
SDK自带的例子就可以正常打包,用AW的就不行,我的工程在C:\WORK目录下了,用VC7编译。害得我要手工COPY所有文件到手机上去试用!我觉得可能是文件路径错了,但又不知道怎么改,请各位指教!

打包信息:
Processing TELEFON.pkg...
TELEFON.pkg(20) : error: file not found

pkg内容:
;
; Installation file for $$Root$$ application
;
;Languages
&EN
;
; UID is the app's UID
;
#{"TeleFon"},(0x0EB58BF2),1,0,0
;
;Supports Series 60 v 2.0
;This line indicates that this installation is for the Series 60 platform v2.0
;This line must appear _exactly_ as shown below in the sis file
;If this line is missing or incorrect, the sis file will not be able
;to be installed on Series 60 v2.0 platforms
(0x101F7960), 0, 0, 0, {"Series60ProductID"}
;
; Four files to install
;
"..\..\..\\Epoc32\release\thumb\urel\TeleFon.app" -"!:\system\apps\TeleFon\TeleFon.app"
"..\..\..\\Epoc32\data\z\system\apps\TeleFon\TeleFon.rsc" -"!:\system\apps\TeleFon\TeleFon.rsc"
"..\..\..\\Epoc32\data\z\system\apps\TeleFon\TeleFon_caption.rsc" -"!:\system\apps\TeleFon\TeleFon_caption.rsc"
"..\..\..\\Epoc32\data\z\system\apps\TeleFon\TeleFon.aif" -"!:\system\apps\TeleFon\TeleFon.aif"

...全文
91 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
chenziteng 2006-02-10
  • 打赏
  • 举报
回复
使用相对路径时,当前目录指.pkg文件所在的目录。
Brunhild 2006-02-10
  • 打赏
  • 举报
回复
如果用相对路径那该由哪个文件夹开始计算?GROUP,SIS,工程文件夹?



sunwhite 2006-02-09
  • 打赏
  • 举报
回复
"..\..\..\\Epoc32\release\thumb\urel\TeleFon.app"

建议改成绝对地址,比如

"\SYMBIAN\......\Epoc32\release\thumb\urel\TeleFon.app"

中间的我不写了,明白意思就行。
chenziteng 2006-02-09
  • 打赏
  • 举报
回复
建议使用相对路径。
Brunhild 2006-02-09
  • 打赏
  • 举报
回复
我试试
chenziteng 2006-02-08
  • 打赏
  • 举报
回复
估计是AppWizard有bug,因为它生成的路径错了,应该把双反斜杠改成单反斜杠

"..\..\..\\Epoc32\release\thumb\urel\TeleFon.app"

改成

"..\..\..\Epoc32\release\thumb\urel\TeleFon.app"

其它类似。

3,119

社区成员

发帖
与我相关
我的任务
社区描述
塞班系统(Symbian系统)是塞班公司为手机而设计的操作系统,它的前身是英国宝意昂公司的 EP ( Electronic Piece of cheese)操作系统。
社区管理员
  • Symbian社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧