Pkg
files are used to generate sis
installation files to install your application on
a mobile device. See the Installation File topic.
For more information on:
pkg
file syntax, see Package File Examples.
Creating a pkg
file, see the software
installer section in the Application security topic.
The files to install block in the pkg
file tells the .sis file creation tool where the files
of the HelloWorldBasic application are on the development PC, and
where each file should go on the device. Specify the full path. An
exclamation mark (!) indicates that the user can choose whether to
install the application to the target device's C drive or to the memory
card.
Do not specify a destination for files that are not installed, for example, a text file containing a licence agreement to be displayed during the installation. Its destination is irrelevant, and may consist of empty quotes. Prior to Symbian OS v9.x, files could be installed anywhere in the file system.
If the file may also be installed by other packages (for instance a shared DLL), install it using a separate or an embedded SIS file. Use one of the following forms to specify the destination filename:
"<drive>:<path>"
"!:<path>"
""
For an example, see HelloWorldBasic .pkg File.