Showing posts with label Build SIS. Show all posts
Showing posts with label Build SIS. Show all posts

SDK is installed, the sample program (source code) is installed. To try to move the sample programs, Build must.

Sample programs,\9.2\S60_3rd_FP1\S60Ex Installation directory \ 9.2 \ S60_3rd_FP1 \ S60Ex Because, I want to select a sample from this move. Graphics This time, "Graphics" tried.

Carbide C/C++ File - import First, Carbide C / C + + to start, "File" - "import" and select. Import Symbian OS - Symbian OS Bld.inf file Next Import dialog so you can have, "Symbian OS" - "Symbian OS Bld.inf file" select, "Next" button.



In the next dialog, bld.inf specify the location. C:\Symbian\9.2\S60_3rd_FP1\S60Ex\Graphics\group\bld.inf In my environment, C: \ Symbian \ 9.2 \ S60_3rd_FP1 \ S60Ex \ Graphics \ group \ bld.inf.



Graphics\group bld.inf Here is a careful, Graphics \ group directory, bld.inf it.
Then, "Next" button to proceed. Build Once the project is created, as the Build Now, try to run. I have two red stars in one sample run.

1. Select Menu Extras --> Configurations.
2. From configurations window, on application setting group, check the item 'Use defined offset when export session'.
3. Uncheck item 'Extract all files to the same folder' and click OK button.
4. Open the SIS file.
5. Extract SIS file.
6. At this step, edit the PKG session as required.
7. If SIS file that opened(Item4) is Symbian9.x SIS file and that SIS file has embedded sis file(s)
(otherwise go to Item8)which you will see the multiple of tabs, the first tab
is the main sis file and the another one(s) is the embedded sis file which
within main sis file. To re-build up main sis file you must
re-build that embedded sis file(s)again by select that embedded sis file tab and build.
After the embedded sis file(s) was built then you are ready to re-package or re-build main sis file by select the first tab on the screen.
Before you start to re-build, make sure you have alter the path of embedded sis file(s) to the embedded sis file which you re-built and save to that path.

Note:
Due to 3rd sis file has embedded its embedded sis file as the contents which indices with SISController then you extract 3rd sis file that contains embedded sis file inside, all of embeded sis file will be extracted as contents in that embedded sis package. This perfom one extraction for all contents in main 3rd sis package. This unlike the older sis file version which its embedded sis file will be stored in the main sis package as sis file.

8. If SIS file that opened(Item4) is Pre-Symbian9.x sis file you can re-built it now by go to menu Tools -----> Build SIS File of Press F3

This section described about creation of Symbian9.x sis file, firstly make sure the current mode is Edit Mode, if not go to menu Mode ---> Edit Mode. Use the following guide to create your sis file.

1.Select the device platform by select menu Extras ------> Change Device Platform as shown in Picture21. Then select option 'Series60 3nd Edition / Symbian v9.x'.



2.Select menu File ------>New Session, then the screen will show



3.Assuming that we want to copy file on the computer to the mobile device. Double click at the Command Box at the Copy File node under the Entry



4.After double click at Copy File node, the window named Entry - Copy File



5.Specify source file, see the Source file input box and type in the full path of file to be installed to mobile device or click at the small right hand button to browse the files.

6.Specify target file, see the Target file input box and type in the desired location on mobile device which the source file to be installed to.

7.The target Type List is the guide for specific location on mobile device depending on file categories. And you can use Target Drive List to specify the Drive of installation.

8.If you want to run this file during install/uninsatll process, choose File Option and select Run File and it's options.

9.If you want to open this file during install process, choose File Option and select Open File and specify MIME type and it's options.

10.If you want to specify the language dependent file, select the option Language Dependent. After select this option you'll see the list of languages and source files. Then double click at the Source File portion

11.Finally, click at Entry Placement button group as in Picture26. Due to this example we want to copy new file then click at Place New button.

12.The entry that you make will paste to the Session Editor Window at the lastest

13.After you added the entries, you can configures your sis packae such as package name, requisites or dependencies or component that your application depends on and so on.line

14. To configures package information see the Command Box and double click at Package Info node under Package. Then the Package Info window will show

Save SIS File As input box, specify the target sis file output after build.
App UID input box, specify the application UID or sis package UID.
Major Version input box, specify major version of sis package.
Minor Version input box, specify minor version of sis package.
Built Number input box, specify built number of sis package.
Product/ Platform Major Version input box, specify major version of product/ platform.
Product/ Platform Minor Version input box, specify minor version of product/ platform.
Product/ Platform Build Number input box, specify built number of product/ platform.
Product / Platform ID input box, specify compatibility ID of product or platform.
Device Platform input box, specify the compatibility of device platform.
Package Type input box, specify the type of package such as contained application package.
Package Option input box, specify the option of the package.
The following input box refer to Sign SIS option
Key File input box, specify private key file for self signed your sis file.
Certificate File input box, specify certificate file for self signed your sis file.

This section described about creation of Pre-Symbian9.x sis file, firstly make sure the current mode is Edit Mode, if not go to menu Mode ---> Edit Mode. Use the following guide to create your sis file.


1.Select the device platform by select menu Extras ------> Change Device Platform as shown in Picture9. Then select option 'Series60 1st and 2nd Edition / Pre-Symbian v9.x'.
2.Select menu File ------>New Session

3.Assuming that we want to copy file on the computer to the mobile device. Double click at the Command Box at the Copy File node under the Entry, After double click at Copy File node, the window named Entry - Copy File
4.Specify source file, see the Source file input box and type in the full path of file to be installed to mobile device or click at the small right hand button to browse the files.
5.Specify target file, see the Target file input box and type in the desired location on mobile device which the source file to be installed to.
6.The target Type List is the guide for specific location on mobile device depending on file categories. And you can use Target Drive List to specify the Drive of installation.
7.If you want to run this file during install/uninsatll process, choose File Option and select Run File and it's options.
8.If you want to open this file during install process, choose File Option and select Open File and specify MIME type and it's options.
9.If you want to specify the language dependent file, select the option Language Dependent. After select this option you'll see the list of languages and source files. Then double click at the Source File
10.Finally, click at Entry Placement button group as in Picture15. Due to this example we want to copy new file then click at Place New button.
11.The entry that you make will paste to the Session Editor Window
12.From this step you can add other new entries by doule click at the entries nodes under Entry group in Quick Menu panel
13.After you added the entries, you can configures your sis packae such as package name, requisites or dependencies or component that your application depends on and so on.
14.To configures package information see the Command Box and double click at Package Info node under Package. Then the Package Info window will show as in Picture18.

Save SIS File As input box, specify the target sis file output after build.
App UID input box, specify the application UID or sis package UID.
Major Version input box, specify major version of sis package.
Minor Version input box, specify minor version of sis package.
Built Number input box, specify built number of sis package.
Product / Platform ID input box, specify compatibility ID of product or platform.
Device Platform input box, specify the compatibility of device platform.
Package Type input box, specify the type of package such as contained application package.
Package Option input box, specify the option of the package.
The following input box refer to Sign SIS option
Key File input box, specify private key file for self signed your sis file.
Certificate File input box, specify certificate file for self signed your sis file.
Private Key Password input box, specify private key password that use to open the key file.
15.To configures package name see the Command Box and double click at Package Nmae node under Package. Then the Package Name
16.To configures requisites see the Command Box and double click at Requisites node under Package. Then the Requisites
17.After configures all information and entries, Select menu Tools ------> Build SIS File to build your sis file.

Your sis file(1st and 2nd sis file/pre-Symbian9.x) will be signed by given the private key and certificate file in the pkg script and build it. Installer also allows unsign sis file to install to the phone with some warnin nessage.
Unlike in 3rd sis file you should sign sis file as seperate process. unsign 3rd sis file can not install to the phone