problem regarding installation of exe file on mobile

Login to reply to this topic.
Fri, 2006-05-19 14:27
Joined: 2006-03-06
Forum posts: 106
hi friends

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.

i want your help.
regards
Himanshu

Fri, 2006-05-19 14:42
Joined: 2005-12-07
Forum posts: 58
Re: problem regarding installation of exe file on mobile
hi,

  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
Fri, 2006-05-19 15:13
Joined: 2004-09-14
Forum posts: 140
Re: problem regarding installation of exe file on mobile
There are numerous examples of this in the supplied examples in your SDK

Paul Todd

Fri, 2006-05-19 15:40
Joined: 2004-06-08
Forum posts: 148
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.
Sat, 2006-05-20 10:25
Joined: 2006-03-06
Forum posts: 106
Re: problem regarding installation of exe file on mobile
hi
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
Sat, 2006-05-20 15:37
Joined: 2006-03-06
Forum posts: 106
Re: problem regarding installation of exe file on mobile
hi

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
Mon, 2006-05-22 06:10
Joined: 2006-05-22
Forum posts: 37
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.

have fun...

Rayko Enz
www.sic-software.com

Mon, 2006-05-22 10:36
Joined: 2004-12-03
Forum posts: 276
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.

Mon, 2006-05-22 10:39
Joined: 2004-12-03
Forum posts: 276
Re: problem regarding installation of exe file on mobile
oh! one more thing.... How are you executing your exe?? Do you want the executable to be run on install time? or at un-install time?


Today is a gift by GOD, that's why it is called the present.

Mon, 2006-05-22 12:26
Joined: 2006-03-06
Forum posts: 106
Re: problem regarding installation of exe file on mobile
hi

thanks for replying
i want to executable to be run on un-install time.
regards
Himanshu
Mon, 2006-05-22 12:46
Joined: 2004-12-03
Forum posts: 276
Re: problem regarding installation of exe file on mobile
So are you getting this error on uninstall time???

Today is a gift by GOD, that's why it is called the present.

Mon, 2006-05-22 12:49
Joined: 2004-12-03
Forum posts: 276
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.

Mon, 2006-05-22 12:51
Joined: 2006-03-06
Forum posts: 106
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

so plz provide me more guidance.

regards
Himanshu
Mon, 2006-05-22 13:35
Joined: 2004-12-03
Forum posts: 276
Re: problem regarding installation of exe file on mobile
Did you tried the to place errrd suggested by rayko_enz Huh

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.

Mon, 2006-05-22 14:03
Joined: 2006-03-06
Forum posts: 106
Re: problem regarding installation of exe file on mobile
hi
i am getting KERN-EXEC 3 error

regards
Himanshu
Mon, 2006-05-22 14:21
Joined: 2004-12-03
Forum posts: 276
Re: problem regarding installation of exe file on mobile
I hope you have seen the reason....
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.

  • Login to reply to this topic.