Take a look into the following package file:
----------------------------------------
Code:
; Application Content
;Language - standard language definitions
&EN
; standard SIS file header
#{"Content Name"},(0x0F2B609E), 1, 0, 0, TYPE=SISUPGRADE
;Supports Series 60 v 2.x
(0x101F6F88), 0, 0, 0, {"Series60ProductID"}
;The dependency:
(0x0F2B609E), 1, 0, 0, {"App Name"}
; Files to copy
"C:\Symbian\7.0s\Series60_v20_CW\Epoc32\winscw\c\system\Apps\MYAPP\File.amr"-
IF exists("C:\system\apps\MYAPP\MYAPP.app")
"C:\system\apps\MYAPP\File.amr"
ELSEIF exists("C:\system\apps\MYAPP\MYAPP.app")
"E:\system\apps\MYAPP\File.amr"
ELSE
"appnotfound.txt"-"", FILETEXT, TEXTEXIT
ENDIF
----------------------------------------
I made this package file to detect the drive on which the application is installed and then install the content on same drive.
But i am facing a problem while making SIS from this pkg file. Some error returned when i run makesis:
----------------------------------------
Processing MYAPPContent.pkg...
MYAPPContent.pkg(19) : Expected quoted string read IF
MYAPPContent.pkg(19) : error: unexpected text
----------------------------------------
I might be doing something wrong. Kindly suggest.

Reply With Quote

