10 <!DOCTYPE concept |
10 <!DOCTYPE concept |
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
12 <concept id="GUID-AED57265-6106-4217-ADE6-1327CA3FDE7E" xml:lang="en"><title>PKG |
12 <concept id="GUID-AED57265-6106-4217-ADE6-1327CA3FDE7E" xml:lang="en"><title>PKG |
13 file format to support simple installation</title><abstract><p>The simplest installation file supports a single language version |
13 file format to support simple installation</title><abstract><p>The simplest installation file supports a single language version |
14 only and requires no special capabilities. It installs a fixed list of files |
14 only and requires no special capabilities. It installs a fixed list of files |
15 to the Symbian device and is self-signed. The PKG file must contain the following |
15 to the Symbian device and is self-signed. The PKG file must contain |
16 elements: </p> <ul> |
16 the following elements: </p> <ul> |
17 <li id="GUID-9B77CB46-60E1-56CE-8232-BD279E17335F"><p><xref href="GUID-0BE71FC3-4759-50FC-A74F-C3DD42C9FCED.dita">Languages</xref> </p> </li> |
17 <li id="GUID-9B77CB46-60E1-56CE-8232-BD279E17335F"><p><xref href="GUID-0BE71FC3-4759-50FC-A74F-C3DD42C9FCED.dita">Languages</xref> </p> </li> |
18 <li id="GUID-D049FACA-2B95-5705-893F-A4E048112815"><p><xref href="GUID-7664A4D4-C24B-5225-9E0B-7A021DA6A3AF.dita">Vendor |
18 <li id="GUID-D049FACA-2B95-5705-893F-A4E048112815"><p><xref href="GUID-7664A4D4-C24B-5225-9E0B-7A021DA6A3AF.dita">Vendor |
19 Names</xref> </p> </li> |
19 Names</xref> </p> </li> |
20 <li id="GUID-294AFEF8-DD71-5EB0-930B-DC120BDB9879"><p><xref href="GUID-D9D20EE0-AC86-512A-91C0-EA0ACF3912A7.dita">Package-Header</xref> </p> </li> |
20 <li id="GUID-294AFEF8-DD71-5EB0-930B-DC120BDB9879"><p><xref href="GUID-D9D20EE0-AC86-512A-91C0-EA0ACF3912A7.dita">Package-Header</xref> </p> </li> |
21 <li id="GUID-28A5B022-61FF-59A2-B003-4F67E8A5D6E7"><p><xref href="GUID-FF39192E-9C93-593F-8F47-DB18DB876F6F.dita">Installation |
21 <li id="GUID-28A5B022-61FF-59A2-B003-4F67E8A5D6E7"><p><xref href="GUID-FF39192E-9C93-593F-8F47-DB18DB876F6F.dita">Installation |
22 Files</xref> </p> </li> |
22 Files</xref> </p> </li> |
23 </ul> </abstract><prolog><metadata><keywords/></metadata></prolog><conbody> |
23 </ul> </abstract><prolog><metadata><keywords/></metadata></prolog><conbody> |
24 <section><title>Example</title><p>The following PKG file is provided in <filepath>examples\HelloWorld\</filepath>. |
24 <section id="GUID-072DCCAD-86E8-491C-B29C-3F776AEF9456"><title>Example</title><p>The following PKG file is provided in <filepath>examples\HelloWorld\</filepath>. |
25 The associated files are built from the source code located in the same directory. |
25 The associated files are built from the source code located in the same directory. |
26 See <xref href="GUID-F64B88E0-49DA-5563-896E-29BAB8A244C9.dita">here</xref> for |
26 See <xref href="GUID-F64B88E0-49DA-5563-896E-29BAB8A244C9.dita">here</xref> for |
27 information. </p> <codeblock id="GUID-2541A514-BAA9-54E6-8927-2F0044F28D5B" xml:space="preserve">; List of languages supported |
27 information. </p> <codeblock id="GUID-2541A514-BAA9-54E6-8927-2F0044F28D5B" xml:space="preserve">; List of languages supported |
28 &EN |
28 &EN |
29 |
29 |
33 :"Nokia Corporation" |
33 :"Nokia Corporation" |
34 |
34 |
35 ; Package header format: Package Name, UID, Major version, Minor Version, Build Number |
35 ; Package header format: Package Name, UID, Major version, Minor Version, Build Number |
36 #{"Minimal application"},(0xE8000091),1,0,0 |
36 #{"Minimal application"},(0xE8000091),1,0,0 |
37 |
37 |
38 ; Files to install for the minimal application: "Files located on PC" - "Target location on Symbian device" |
38 ; Files to install for the minimal application: "Files located on PC" - "Target location on the Symbian device" |
39 "HelloWorld.exe"-"!:\sys\bin\HelloWorld.exe" |
39 "HelloWorld.exe"-"!:\sys\bin\HelloWorld.exe" |
40 "HelloWorld.rsc"-"!:\resource\apps\HelloWorld.rsc" |
40 "HelloWorld.rsc"-"!:\resource\apps\HelloWorld.rsc" |
41 "HelloWorld.mbm" - "!:\resource\apps\HelloWorld.mbm" |
41 "HelloWorld.mbm" - "!:\resource\apps\HelloWorld.mbm" |
42 "HelloWorld_reg.rsc" - "!:\private\10003a3f\import\apps\HelloWorld_reg.rsc"</codeblock> <p> <b>Notes</b>: </p> <ul> |
42 "HelloWorld_reg.rsc" - "!:\private\10003a3f\import\apps\HelloWorld_reg.rsc"</codeblock> <p> <b>Notes</b>: </p> <ul> |
43 <li id="GUID-44A14482-9E1F-58FE-B09E-90E57A88CB55"><p>The package UID is used |
43 <li id="GUID-44A14482-9E1F-58FE-B09E-90E57A88CB55"><p>The package UID is used |