i want to install a exe application on mobile and after that i want to run that application from mobile but i don't know how to write a pkg file for exe application and how to launch that exe from mobile.
Re: problem regarding installation of exe file on mobile
What do you mean by "launch". Do you want to auto start it from the instalation, or you want to do it manually. Since it is an exe, there will be no icon shown for it. You will have to find it with a file manager and start it by yourself.
when i install my exe application it gets installed in c:\system\apps
wav files get copied in c:\system\data & dll get copy in c:\system\libs
my exe application works fine on emulator (i have checked it on series60 and uiq emulator) but when i run my exe application from mobiled it gets closed after starting showing a dialog
App. Closed main
i built my application for thumb urel and armi urel but none of them works
can you tell me why it is not running on mobile, what can be the possible reason for this.
Re: problem regarding installation of exe file on mobile
There are many possible reasons why your app is not working on device. Inlcude the following in your package for debug purpose:
"errrd" - "!:\system\bootdata\errrd"
errrd is an empty file which you create in the folder of your package. If you have installed this on device you will get an error code for the message app closed.
Re: problem regarding installation of exe file on mobile
Some points regarding your package file.....
The sis file formed by your package do a top-down step by step installation. i.e. the file specified at will be copied first and the one specified at last will be copied at last..... So
Here your exe will be executed first then ur dlls will be copied... So I hope u want the other way round.... So move your exe statement to the end....
Today is a gift by GOD, that's why it is called the present.
Re: problem regarding installation of exe file on mobile
As I said SIS installation takes a top-down approach the uninstallation takes a bottom-up approach.... So if your exe rely on the dlls specified in your pkg file then your exe should be at the end of the installer.....
Today is a gift by GOD, that's why it is called the present.
Re: problem regarding installation of exe file on mobile
hi dennis_george what you have written is not working. one more thing i am execuing my application from FEXPLORER so i think there is no effect of placing the exe statement at first or last. one more thing i want to tell you that these dll's  Cluster.dll, Etalon.dll, Verification.dll is created by me so is it possible that my application is not able to access these libraries. i include the lib files of these dll's in my mmp file as follows LIBRARY  CLUSTER.LIB LIBRARY  ETALON.LIB LIBRARY  VERIFICATION.LIB
Forum posts: 58
you should include exe to your pakage file like this..
"C:\Symbian\Series60_1_2_CW\epoc32\release\armi\urel\Myexe.exe" -"!:\system\apps\Myapplication\Myexe.exe",FR,RI,RW
regards,
peter
Forum posts: 140
Paul Todd
Forum posts: 148
Forum posts: 106
thanks for replying
can you tell me what is package header in package file for exe application keeping in mind that i am also using user created dll.
regards
himanshu
Forum posts: 106
i have created a pkg file it is as follows
;Languages
&EN
#{"TestApp"},(0x102732CF),1,0,0
(0x101F7960), 0, 0, 0, {"Series60ProductID"}
"C:\Symbian\7.0s\Series60_v21_CW\Epoc32\release\thumb\urel\TESTAPP.exe" - "!:\system\apps\TestApp\testapp.exe",FR,RR,RW
"C:\Symbian\7.0s\Series60_v21_CW\Epoc32\winscw\c\system\data\test1.wav" - "!:\system\data\test1.wav"
"C:\Symbian\7.0s\Series60_v21_CW\Epoc32\winscw\c\system\data\test2.wav" - "!:\system\data\test2.wav"
"C:\Symbian\7.0s\Series60_v21_CW\Epoc32\winscw\c\system\data\test3.wav" - "!:\system\data\test3.wav"
"C:\Symbian\7.0s\Series60_v21_CW\Epoc32\winscw\c\system\data\test.wav" - "!:\system\data\test.wav"
"C:\Symbian\7.0s\Series60_v21_CW\Epoc32\release\armi\urel\CLUSTER.dll" - "!:\system\libs\cluster.dll"
"C:\Symbian\7.0s\Series60_v21_CW\Epoc32\release\armi\urel\ETALON.dll" - "!:\system\libs\etalon.dll"
"C:\Symbian\7.0s\Series60_v21_CW\Epoc32\release\armi\urel\VERIFICATION.dll" - "!:\system\libs\verification.dll"
; End of File
when i install my exe application it gets installed in c:\system\apps
wav files get copied in c:\system\data
&
dll get copy in c:\system\libs
my exe application works fine on emulator (i have checked it on series60 and uiq emulator) but when i run my exe application from mobiled it gets closed after starting
showing a dialog
App. Closed
main
i built my application for thumb urel and armi urel
but none of them works
can you tell me why it is not running on mobile, what can be the possible reason for this.
regards
Hmanshu
Forum posts: 37
"errrd" - "!:\system\bootdata\errrd"
errrd is an empty file which you create in the folder of your package. If you have installed this on device you will get an error code for the message app closed.
have fun...
Rayko Enz
www.sic-software.com
Forum posts: 276
The sis file formed by your package do a top-down step by step installation. i.e. the file specified at will be copied first and the one specified at last will be copied at last..... So
Here your exe will be executed first then ur dlls will be copied... So I hope u want the other way round.... So move your exe statement to the end....
Today is a gift by GOD, that's why it is called the present.
Forum posts: 276
Today is a gift by GOD, that's why it is called the present.
Forum posts: 106
thanks for replying
i want to executable to be run on un-install time.
regards
Himanshu
Forum posts: 276
Today is a gift by GOD, that's why it is called the present.
Forum posts: 276
Today is a gift by GOD, that's why it is called the present.
Forum posts: 106
what you have written is not working.
one more thing i am execuing my application from FEXPLORER so i think there is no effect of placing the exe statement at first or last.
one more thing i want to tell you that these dll's Â
Cluster.dll, Etalon.dll, Verification.dll
is created by me so is it possible that my application is not able to access these libraries.
i include the lib files of these dll's in my mmp file as follows
LIBRARY Â CLUSTER.LIB
LIBRARY Â ETALON.LIB
LIBRARY Â VERIFICATION.LIB
so plz provide me more guidance.
regards
Himanshu
Forum posts: 276
Please create an empty file with ErrRd as file name... check the following links for details....
http://www.newlc.com/Display-the-extended-panic-code-in.html
Then try to run your application and tell the error you are getting....
Or else try adding some debug commands in your exe to trace the error....
Today is a gift by GOD, that's why it is called the present.
Forum posts: 106
i am getting KERN-EXEC 3 error
regards
Himanshu
Forum posts: 276
http://www.symbian.com/Developer/techlib/v70sdocs/doc_source/reference/SystemPanics/KernExecPanics.html#Panics%2ekern%2dexec
So either you have to check your code for specified reasons.... or add some debug statements in your exe and try to localize the error..
Today is a gift by GOD, that's why it is called the present.