title: Magento Install Script won't run
body: <p>I'm trying to create an install script for magento but it will not run. This is my setup</p>
  
  <p>app/code/local/</p>
  
  <ul>
  <li>Company</li>
  <li><ul>
  <li>Invoices</li>
  </ul></li>
  <li><ul>
  <li><ul>
  <li>Model</li>
  </ul></li>
  </ul></li>
  <li><ul>
  <li><ul>
  <li><ul>
  <li>Resource</li>
  </ul></li>
  </ul></li>
  </ul></li>
  <li><ul>
  <li><ul>
  <li><ul>
  <li><ul>
  <li>Setup.php</li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul></li>
  <li><ul>
  <li><ul>
  <li>etc</li>
  </ul></li>
  </ul></li>
  <li><ul>
  <li><ul>
  <li><ul>
  <li>config.xml</li>
  </ul></li>
  </ul></li>
  </ul></li>
  <li><ul>
  <li><ul>
  <li>sql</li>
  </ul></li>
  </ul></li>
  <li><ul>
  <li><ul>
  <li><ul>
  <li>invoices_setup</li>
  </ul></li>
  </ul></li>
  </ul></li>
  <li><ul>
  <li><ul>
  <li><ul>
  <li><ul>
  <li>mysql4-install-0.1.0.php</li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p><strong>config.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;config&gt;
      &lt;modules&gt;
          &lt;Company_Invoices&gt;
              &lt;version&gt;0.1.0&lt;/version&gt;
          &lt;/Company_Invoices&gt;
      &lt;/modules&gt;  
      &lt;global&gt;
      &lt;resources&gt;
          &lt;weblog_setup&gt;
              &lt;setup&gt;
                  &lt;module&gt;Company_Invoices&lt;/module&gt;
                  &lt;class&gt;Company_Invoices_Model_Resource_Setup&lt;/class&gt;
              &lt;/setup&gt;
          &lt;/weblog_setup&gt;
      &lt;/resources&gt;    
      &lt;/global&gt;
  &lt;/config&gt;
  </code></pre>
  
  <p><strong>mysql4-install-0.1.0.php</strong></p>
  
  <pre><code>&lt;?php
      die("Exit for now");
  ?&gt;
  </code></pre>
  
  <p>if I rename the class in the Setup.php file it gives an error, so the folders are set up correctly. It just won't execute the install file. </p>
  
  <p>Note: I checked the database and nothing is shown in the core_resource table.</p>