Regarding Killing Installer Application in 3rd edition
| Sat, 2007-12-15 10:57 | |
|
Hi, I am developing an application for 3rd edition which can kill the installer application that is if my application is being removed ,my application gets started and checks for the installer application and if installer exists it should be killed. I am able to detect the installer application but I am unable to kill the installer application and the mobile phone is getting hanged and producing some system errors and panics such as ViewSrv 11 and Kern Exec 46 . Do suggest me any solution. Thanks&Regards |
|






Forum posts: 1242
Maybe, for getting suggestions about a solution, you should tell what your ultimate aim is. Do you want to produce an application that is impossible to uninstall?
If yes, I think you will get yourself into a fair number of troubles, probably not the least to get such an application signed. And, if you ask me, with something like that, one question always lurks in the background: Would it be a good idea to produce an application that is impossible to uninstall?
René Brunner
Forum posts: 8
Hi
I want only the genuine user to uninstall the application not the third person,that is password protection for uninstallation .
We have applications in market which are also signed with this feature,for phone guardian.
So can anyone suggest me how can i proceed now.
Thanks&Regards
Preethi
Forum posts: 1233
I would expect the installer is protected in the 3rd edition, so any app can't just kill it.
Its quite possible you would need TCB cability to do this. (which you wont get)
In fact, You can't kill any process in 3rd edition without having PwrMgmt capability.
You could try if PwrMgmt solves your problem, and then write a really good motivation for this when getting it signed.
There was a lot of hacks done in 2nd edition also by "proper" applications, that just wont work anymore in 3rd edition.
Forum posts: 5
Hi,
I'm able to Kill The Installer in S60 3rd Edt in normal HelloWorld
Application, But in Application which has few other classes with FR,RR
option in package file, when Installer tries to remove my application,
My Application gets invoked, and in ConstructL() I'm checking for "Installer"
Task, If it exists, Trying to close it using RProcess::Kill(), but it works well in Normal
HelloWorld Application, But gives a "SystemError -15" and Exits the Application in
My Customised Application which has many more classes.
Can Any One Pls Help its urgent
Regards
Srikanth
Srikanth.P
Forum posts: 1242
Just a little bit of brainstorming: Would it be possible to achieve the same effect (uninstall only with consent of rightful phone user) with quite other means than trying to murder the installer? Maybe it is possible that the program modifies its own uninstall information, so that there is nothing possible to uninstall as long as the user did not give the password and the program repaired its uninstall information?
René Brunner
Forum posts: 14
Use TApaTask and installer UID to close the installer.