Start automatically an application or an exe after its installation

in
Keywords:

It is very easy to let an application (or more useful, a server) starting automatically after it has been installed on the phone. In your PKG file, add ",FR,RI" at the end of the line containing your app or exe file.

"FR" means "File Run" and "RI", "Run during Installation". Just take care that all rsc, aif, mbm files are already installed before starting an APP(i.e. just install the App as the end of your pkg file).

Exemple:

"\Symbian\6.1\Series60\Epoc32\release\thumb\urel\MyApp.rsc"         -"!:\system\apps\MyApp\MyApp.rsc"
"\Symbian\6.1\Series60\Epoc32\release\thumb\urel\MyApp_caption.rsc" -"!:\system\apps\MyApp\MyApp_caption.rsc"
"\Symbian\6.1\Series60\Epoc32\release\thumb\urel\MyApp.aif"         -"!:\system\apps\MyApp\MyApp.aif"
"\Symbian\6.1\Series60\Epoc32\release\thumb\urel\MyApp.app"         -"!:\system\apps\MyApp\MyApp.app",FR,RI

Note that this trick will just start the application after it is installed, not after the phone reboot. If you need your application to be launched after installation and after phone reboot, then you may want to take a look at our Autostart your application at phone boot page.


> Start automatically an application or an exe after its install

Did you try it on P800 phone? I have tried it, but if I install from a PC, the installer is looping until the connection is timed-out (the phone has to be restarted if you want to establish a new connection), and if I try to install from the phone, the installer goes in an infinite loop... The application itself is not "guilty", since it can be launched manually...

A tricky way to achieve such thing on P800 could be to have an empty recognizer, installed BEFORE the application, and set to start your application. And have your application delete the recognizer when launched, so that your application is not auto-started next phone restart.

Daniel.

> Start automatically an application or an exe after its install

I am commonly using this for EXEs on NS60 platform.

Never tested it on P800 since I don't have one. But this should be generic. Also note that Symbian does not handle that well SIS files that contains recognizers.

> Start automatically an application or an exe after its install

I also see this issue on P800. It does launch the application, but then hangs the installation (and times out connection) and times out.

> Start automatically an application or an exe after its install

One possible reason could be a bug in older versions of the P800 firmware that causes problems with such "install helper" application - I have experienced this myself with applications running on uninstallation, but it may apply to installation a well.

> Start automatically an application or an exe after its install

I'm facing problem when trying to run after installing on e drive( memory card ) for 3rd edition devices like N73,N80 etc. If i install my app on c: drive the app runs automatically after installation but in case of e drive it doesnt work. Moreover if i hardcode the installation path to e drive in my package file, then my app runs after installation. Does anyone faced this problem before or anyone has any solution to this?

> Start automatically an application or an exe after its install

You need the StartOnBoot reg file to be installed on C: drive, even if your application is installed on E:. This won't prevent you to have your application signed.

> Start automatically an application or an exe after its install

i cant find the StartOnBoot reg file. I could only find some post regarding StartOnBoot api's available till symbian 7.0. From where can i get it and on what location do i have to install the StartOnBoot reg file in C: drive.

i came across the same

i came across the same problem, and i also cant find the StartOnBoot reg file. After i installed on e: drive for the first time, it cant start. Howerver, i installed after that while i dont uninstall it, it will be started normally. Why??