z:\sys\bin

Login to reply to this topic.
Fri, 2007-08-24 11:44
Joined: 2004-12-07
Forum posts: 72

Hello,

I saw IF NOT exists("z:\sys\bin\oop.dll")
".\OOP\oop.dll"-"!:\sys\bin\oop.dll"
from a package file. Who can explain it for me? I am not clear where is z:\sys\bin?

.\OOP\oop.dll is in my computer how can I copy it to device when I install it?

Thanks!


Fri, 2007-08-24 12:45
Forum Nokia Champion
Joined: 2004-05-26
Forum posts: 732
Re: z:\sys\bin

'Z' is basically the ROM on your device. The particular code in the package will check for the existance of the oop.dll on the specified path on the ROM and if it's not existing then it will install the one you specified in the package file to either C or E according to what drive the user select while installing the SIS(x) file.


Fri, 2007-08-24 13:26
Joined: 2004-12-07
Forum posts: 72
Re: z:\sys\bin

Do I need the TCB capability to check ROM?

Fri, 2007-08-24 13:32
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 1886
Re: z:\sys\bin

No. But you don't have access to /sys/bin without it and/or ALLFILES


Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Fri, 2007-08-24 15:16
Joined: 2004-12-07
Forum posts: 72
Re: z:\sys\bin

I created a certificate with ALLFILES. But after I signed my application. It always told me the required access was not granted.

Actually I used this:
All -TCB -DRM

I need to check z:\sys\bin\

IF NOT exists("z:\sys\bin\oop.dll")
".\OOP\oop.dll"-"!:\sys\bin\oop.dll"

What is wrong?

Mon, 2007-08-27 22:21
Forum Nokia Champion
Joined: 2003-10-01
Forum posts: 721
Re: z:\sys\bin

Hmm, I think you would need sort of a training about Platform Security. I think a good book or related articles on web would do it, too. Eye-wink

Nevertheless, as to your question it's one thing that you have signed your application with whatever key you had it's the Application Installer that decides whether your application is really granted the desired access or not. There are some capabilities that a user can grant even if your certificate doesn't authorize to do so: LocalServices, NetworkServices, etc. are just a few examples for this. The rest of capabilities (especially AllFiles, which is considered to be one of the strongests) require special certificates: self-signing doesn't work at all with these strong capabilities (e.g. WriteDeviceData, AllFiles, DRM, etc.), but sometimes you need manufacturer approval, too, to use a developer certificate on a given device. Not to mention commercial certificates.

So briefly: you cannot install a self-signed application that acquires for AllFiles capability. You need at least a developer certificate for that, but you'll need to ask for approval from a phone manufacturer in order to use very strong capabilities, such as AllFiles.

Tote


Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/

Tue, 2007-08-28 14:08
Joined: 2005-06-09
Forum posts: 174
Re: z:\sys\bin

It looks to me like you're trying to ensure that different apps can use the same DLL. Doing it this way isn't a good solution: if you uninstall two apps this way, that use the same DLL, when you uninstall one of them, the DLL will be gone, and the still installed app won't work anymore.

The correct way to do it would be to package the DLL in a separate SIS file and embed that one into to both apps' SIS files.


  • Login to reply to this topic.