Missing file after installation
| Tue, 2007-09-04 09:40 | |
|
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! |
|






Forum posts: 1913
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
Forum posts: 8
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.
Forum posts: 80
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.