Missing file after installation

Login to reply to this topic.
Tue, 2007-09-04 09:40
Joined: 2007-08-23
Forum posts: 8

Hi,

I'm deploying an app in a N70 ( 2nd FP3 ). In my pkg file, I've coded the following lines:

; Target
"C:\Symbian\8.1a\S60_2nd_FP3\Epoc32\release\armi\UREL\Plugin.dll"-"!:\system\libs\plugins\Plugin.dll"
"C:\Symbian\8.1a\S60_2nd_FP3\Epoc32\data\z\system\libs\plugins\10001AE1.rSC"-"!:\system\libs\plugins\10001AE1.rSC"
"C:\Symbian\8.1a\S60_2nd_FP3\Epoc32\data\z\system\libs\plugins\Plugin.rSC"-"!:\system\libs\plugins\Plugin.rSC"

It's an ECOM plugin that it's installed successfully and discovered successfully as well. But, when I execute this code
RFs fs;
User::LeaveIfError(fs.Connect());
TBool b = BaflUtils::FileExists(fs, _L("Z:\\system\\libs\\plugins\\Plugin.rsc")); //returns FALSE!!!

the answer is FALSE. Why?
I'm installing the plugin using Nokia PC Suite, opening directly the .sis file that makesis make. I suppose that "!" in pkg files indicates rom drive.

Any suggestion.

Thanks a lot!


Tue, 2007-09-04 10:46
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 1913
Re: Missing file after installation

I suppose that "!" in pkg files indicates rom drive.

No! the "!" means that the user can choose any of the drive found on the phone to install the application.
The ROM is Z: and you cannot add/write anything on it.


Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Tue, 2007-09-04 11:11
Joined: 2007-08-23
Forum posts: 8
Re: Missing file after installation

Thanks for your reply.

So, if I install app using Nokia PC Suite, in which drive should it be installed? And ... after installed, can I read this file (with RFile, for example)?

Thanks again.

Thu, 2007-09-13 13:51
Joined: 2006-10-05
Forum posts: 80
Re: Missing file after installation


Yes you can definitely read a file that goes with your .pkg using RFile.

But I think you are accessing it through the wrong path.
Your application will either be in "C:\\system\\libs\\plugins\\Plugin.rsc" or in "E:\\system\\libs\\plugins\\Plugin.rsc" depending on whether you install it in Phone Memory or Memory Card respectively.

And to access this path, you have to access your application's path dynamically and not using a constant path like "Z:\\system\\libs\\plugins\\Plugin.rsc"

In a .app application you can access the application's path using the Application()->AppFullName(), but I am not sure about your application since its a dll.

  • Login to reply to this topic.