Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Testing and Deployment

Reply
Highlighted
New Developer
Posts: 2
Registered: ‎12-14-2009
My Device: Not Specified

907 Invalid Cod when installing multiple cod files through a php script

[ Edited ]

Hi,
We've got the following problem.
We have an OTA installation package for our application consisting of a .jad file and 4 .cod files.
COD URLs in the jad file look like this:
RIM-COD-URL: http://X.Y.Z.W/install?type=cod&file=MyApp.cod

RIM-COD-URL-1: http://X.Y.Z.W/install?type=cod&file=MyApp-1.cod...
So, they are being accessed using a PHP script and not a direct link for security reasons.
When installed for the first time, everything works fine. If I try to reinstall the app again (on top of the existing installation) the installation progress bar reaches the end but then it says "907 Invalid COD". If I uninstall the app and install it again using the same link, it works.
Is there any workaround or am I missing something?
Thanks in advance


P.S. When we use the same kind of a PHP script for our other app which has only one .cod file, it gets reinstalled successfully every time.

BlackBerry Development Advisor
Posts: 15,753
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: 907 Invalid Cod when installing multiple cod files through a php script

Please refer to the following.

 

Support - 907 Invalid Jar Error when installing an application wirelessly

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800708/800646/Support...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker