I am dealing with contacts db & reading IMEI no in my application.I inclided all capabilities which we get with developer cert in .mmp. My app has successfully installed on E61, but when i run it ,it gave me Error Unable to execute files for security reasons. Pl help me out...
Here are contains of .mmp & .pkg files for your reference.
//.mmp
TARGET MyApp.exe
TARGETTYPE exe
UID 0x100039CE 0x00272D43
EPOCSTACKSIZE 0x5000
macro __S60_BUILD__
SOURCEPATH ..\src
SOURCE MyAppApp.cpp
SOURCE MyAppAppUi.cpp
SOURCE MyAppDocument.cpp
SOURCE MyAppContainer.cpp
SOURCE MyAppEngine.cpp
SOURCE MyAppContact.cpp
SOURCE ContactManager.cpp
SOURCE GlobalFunction.cpp
..
..
SOURCEPATH ..\data
START RESOURCE MyApp.rss
HEADER
TARGETPATH \resource\apps
END //RESOURCE
START RESOURCE MyApp_reg.rss
#ifdef WINSCW
TARGETPATH \private\10003a3f\apps
#else
TARGETPATH \private\10003a3f\import\apps
#endif
END //RESOURCE
//USERINCLUDE .
USERINCLUDE ..\inc
SYSTEMINCLUDE \epoc32\include
LIBRARY euser.lib apparc.lib cone.lib eikcore.lib
LIBRARY eikcoctl.lib avkon.lib
LIBRARY gdi.lib
LIBRARY ecom.lib
LIBRARY estor.lib
LIBRARY eikdlg.lib
LIBRARY fbscli.lib
LIBRARY bafl.lib
LIBRARY eikctl.lib
LIBRARY efsrv.lib
LIBRARY InetProtUtil.lib
LIBRARY http.lib
LIBRARY cntmodel.lib
LIBRARY MediaClientImage.lib
LIBRARY HLPLCH.LIB ws32.lib
LIBRARY Etel3rdParty.lib
LANG SC 01
VENDORID 0
CAPABILITY ReadUserData WriteUserData NetworkServices ReadDeviceData WriteDeviceData Location LocalServices SwEvent UserEnvironment TrustedUI SurroundingsDD ProtServ PowerMgmt
// End of File
//.pkg
;
; Installation file for MyApp application
;
;Languages
&EN
;
; UID is the app's UID
;
#{"MyApp"}, (0x00272D43), 1, 0, 0
%{"Vendor-EN"}
;Unique Vendor name
:"ABC"
;
;Supports Series 60 v 3.0
;This line indicates that this installation is for the Series 60 platform v2.0
;This line must appear _exactly_ as shown below in the sis file
;If this line is missing or incorrect, the sis file will not be able
;to be installed on Series 60 v2.0 platforms
[0x101F7961], 0, 0, 0, {"S60ProductID"}
"\Symbian\9.2\S60_3rd_FP1\Epoc32\release\GCCE\UREL\MyApp.exe"-"!:\sys\bin\MyApp.exe"
"\Symbian\9.2\S60_3rd_FP1\Epoc32\Data\z\resource\apps\MyApp.RSC"-"!:\resource\apps\MyApp.rsc"
"\Symbian\9.2\S60_3rd_FP1\Epoc32\Data\z\private\10003a3f\import\apps\MyApp_reg.RSC"-"!:\private\10003a3f\import\apps\MyApp_reg.RSC"
"\MyApp\S60\IMAGES\BITMAPFRAMES\AppGifFrames.mbm"-"!:\resource\apps\AppGifFrames.mbm"
"\MyApp\S60\IMAGES\AppImages.mbm"-"!:\resource\apps\AppImages.mbm"
"\MyApp\S60\help\MyApp.hlp"-"!:\resource\help\MyApp.hlp"



