title: How to properly force a Blackberry Java application to install using Loader.exe
body: <p>I want to include the Application Loader process in a software installation, to ensure that users get our software installed on their Blackberry by the time our installer software finishes.</p>
  
  <p>I know this is possible, because Aerize Card Loader (<a href="http://aerize.com/blackberry/software/loader/" rel="nofollow noreferrer">http://aerize.com/blackberry/software/loader/</a>) does this. When you install their software, if your Blackberry is connected the Application Loader will come up and force the .COD file to install to the device.</p>
  
  <p>I can't make it work. Looking at RIM's own documentation, I need to:</p>
  
  <ul>
  <li>Place the ALX and COD files into a subfolder here: C:\Program Files\Common Files\Research In Motion\Shared\Applications\</li>
  <li>Add a path to the ALX file in HKCU\Software\Research In Motion\Blackberry\Loader\Packages</li>
  <li>Index the application, by executing this at the command line: loader.exe /index</li>
  <li>Start the force load, by doing this: loader.exe /defaultUSB /forceload</li>
  </ul>
  
  <p>When I execute that last command, the Application Loader comes up and says that all applications are up to date and nothing needs to be done.</p>
  
  <p>If I execute loader.exe by double-clicking on it (or typing in the command with no parameters), I get the regular Application Loader wizard. It shows my program as listed, but un-checked. If I check it and click next, it will install to the Blackberry. (This is the part that I want to avoid, and that Aerize Card Loader's install process avoids.)</p>
  
  <p>What am I missing? It appears that the Aerize installer is doing something different but I haven't been able to ascertain what.</p>