Symbian tips-automatically start an application after sisx or sis is installed

Source: Internet
Author: User

 

After you install sisx or sis, it is easy to implement the automatic program of the application. You only need to modify the. pkg file. The modified section is marked in red bold below.

 

Source file:

& EN
# {"TestAutoStart"}, (0xEAF18DD0), 1, 0, 0
% {"Vendor-EN "}
: "Vendor"
[0x101F7961], 0, 0, 0, {"Series60ProductID "}
"$ (EPOCROOT) Epoc32 \ release \ $ (PLATFORM) \ $ (TARGET) \ TestAutoStart_0xEAF18DD0.exe "-"! : \ Sys \ bin \ TestAutoStart_0xEAF18DD0.exe"
"$ (EPOCROOT) Epoc32 \ data \ z \ resource \ apps \ TestAutoStart_0xEAF18DD0.rsc "-"! : \ Resource \ apps \ TestAutoStart_0xEAF18DD0.rsc"
"$ (EPOCROOT) Epoc32 \ data \ z \ private \ 10003a3f \ apps \ TestAutoStart_0xEAF18DD0_reg.rsc "-"! : \ Private \ 10003a3f \ import \ apps \ TestAutoStart_0xEAF18DD0_reg.rsc"
"$ (EPOCROOT) Epoc32 \ data \ z \ resource \ apps \ TestAutoStart_0xEAF18DD0.mif "-"! : \ Resource \ apps \ TestAutoStart_0xEAF18DD0.mif"
".. \ Help \ TestAutoStart_0xEAF18DD0.hlp "-"! : \ Resource \ help \ TestAutoStart_0xEAF18DD0.hlp"
".. \ Sis \ backup_registration.xml "-"! : \ Private \ EAF18DD0 \ backup_registration.xml"

 

 

S60 3rd:

& EN
# {"TestAutoStart"}, (0xEAF18DD0), 1, 0, 0
% {"Vendor-EN "}
: "Vendor"
[0x101F7961], 0, 0, 0, {"Series60ProductID "}
"$ (EPOCROOT) Epoc32 \ data \ z \ resource \ apps \ TestAutoStart_0xEAF18DD0.rsc "-"! : \ Resource \ apps \ TestAutoStart_0xEAF18DD0.rsc"
"$ (EPOCROOT) Epoc32 \ data \ z \ private \ 10003a3f \ apps \ TestAutoStart_0xEAF18DD0_reg.rsc "-"! : \ Private \ 10003a3f \ import \ apps \ TestAutoStart_0xEAF18DD0_reg.rsc"
"$ (EPOCROOT) Epoc32 \ data \ z \ resource \ apps \ TestAutoStart_0xEAF18DD0.mif "-"! : \ Resource \ apps \ TestAutoStart_0xEAF18DD0.mif"
".. \ Help \ TestAutoStart_0xEAF18DD0.hlp "-"! : \ Resource \ help \ TestAutoStart_0xEAF18DD0.hlp"
".. \ Sis \ backup_registration.xml "-"! : \ Private \ EAF18DD0 \ backup_registration.xml"
"$ (EPOCROOT) Epoc32 \ release \ $ (PLATFORM) \ $ (TARGET) \ TestAutoStart_0xEAF18DD0.exe "-"! : \ Sys \ bin \ TestAutoStart_0xEAF18DD0.exe ", FR, RI

 

S60 2nd:

& EN
# {"TestAutoStart"}, (0xEAF18DD0), 1, 0, 0
% {"Vendor-EN "}
: "Vendor"
[0x101F7961], 0, 0, 0, {"Series60ProductID "}
"$ (EPOCROOT) Epoc32 \ data \ z \ resource \ apps \ TestAutoStart_0xEAF18DD0.rsc "-"! : \ Resource \ apps \ TestAutoStart_0xEAF18DD0.rsc"
"$ (EPOCROOT) Epoc32 \ data \ z \ private \ 10003a3f \ apps \ TestAutoStart_0xEAF18DD0_reg.rsc "-"! : \ Private \ 10003a3f \ import \ apps \ TestAutoStart_0xEAF18DD0_reg.rsc"
"$ (EPOCROOT) Epoc32 \ data \ z \ resource \ apps \ TestAutoStart_0xEAF18DD0.mif "-"! : \ Resource \ apps \ TestAutoStart_0xEAF18DD0.mif"
".. \ Help \ TestAutoStart_0xEAF18DD0.hlp "-"! : \ Resource \ help \ TestAutoStart_0xEAF18DD0.hlp"
".. \ Sis \ backup_registration.xml "-"! : \ Private \ EAF18DD0 \ backup_registration.xml"
"$ (EPOCROOT) Epoc32 \ release \ $ (PLATFORM) \ $ (TARGET) \ TestAutoStart_0xEAF18DD0.exe "-"! : \ Sys \ bin \ TestAutoStart_0xEAF18DD0.exe ", FILERUN, RUNINSTALL, RUNWAITEND

 

Note:
The automatically started program should be placed in the last line of pkg. This statement is executed as soon as it is copied to "sys" bin. At this time, the resource file or something is often not copied to the target folder, so the execution fails, instead of not being executed, in general, this statement should be placed in the last row to be more secure.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.