Start automatically an application or an exe after its installation
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_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
> Start automatically an application or an exe after its install
> Start automatically an application or an exe after its install
> Start automatically an application or an exe after its install
> Start automatically an application or an exe after its install
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??