title: My Magento Extension Install Script Will Not Run
body: <p>I am trying to create an install script for my extension and for some reason it will not the install script. The extension will show up in the core_resource table, but the attributes I am trying to create will not create.</p>
  
  <p>I am pretty sure that the script is not even being called because I put an exit() at the beginning and the site ran just fine.</p>
  
  <p>Here is what I have in my config XML file. This is placed inside global -> resources path:</p>
  
  <pre><code>&lt;nie_setup&gt;
      &lt;setup&gt;
          &lt;module&gt;Nie_Nie&lt;/module&gt;
      &lt;/setup&gt;
      &lt;connection&gt;
          &lt;use&gt;core_setup&lt;/use&gt;
      &lt;/connection&gt;
  &lt;/nie_setup&gt;
  </code></pre>
  
  <p>My install script is as follows:</p>
  
  <pre><code>$installer = $this;
  $setup = new Mage_Eav_Model_Entity_Setup('core_setup');
  $installer-&gt;startSetup();
  
  $setup-&gt;addAttribute('customer', 'nie_admin', array(
      'input'                 =&gt; 'text',
      'type'                  =&gt; 'text',
      'backend'               =&gt; '',
      'visible'               =&gt; 0,
      'required'          =&gt; 0,
      'user_defined'  =&gt; 1,
  ));
  
  $installer-&gt;endSetup();
  </code></pre>
  
  <p>Is there something obvious I am missing here that would be the reason the script will not run?</p>