title: Using Registry to install Excel AddIn
body: <p>I created an excel Add-In called</p>
  <blockquote>
  <p>Project Count_Per Person.xlam</p>
  </blockquote>
  <p>When I open up excel and go to Development&gt;AddIns and select my AddIn to install, it does not stay installed if I close out of excel even after saving. The AddIn I made, creates a new MenuBarButton under the tab 'AddIns'</p>
  <p>So I created a new registry Key to install the addin at startup under</p>
  <blockquote>
  <p>HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Addins\ProjectCount_PerPerson</p>
  </blockquote>
  <p>The Key looks like this</p>
  <pre><code>(Default)     REG_SZ        (value not set)
  Description   REG_SZ        Project Count_Per Person
  FriendlyName  REG_SZ        Project Count_Per Person
  LoadBehavior  DWORD         0x00000003 (3)
  Manifest      REG_SZ        C:\Users\b012918\AppData\Roaming\Microsoft\AddIns\Project Count_Per Person.xlam
  </code></pre>
  <p>When I start Excel, it displays that it is installing the AddIn, but then I get an</p>
  <blockquote>
  <p>Exception reading manifest from</p>
  <p>file:///C:/Users/b012918/AppData/Roaming/Microsoft/AddIns/Project%Count_Per%Person.xlam:</p>
  <p>the manifest may not be valid or file could not be opened.</p>
  </blockquote>
  <p><a href="http://pastebin.com/bN1datV5" rel="nofollow noreferrer">http://pastebin.com/bN1datV5</a></p>
  <p>Any insight into what I'm messing up would be beneficial.</p>
  <p><strong>Additional Information:</strong></p>
  <p>If the addin is uninstalled when I start excel, it gives the manifest error. If the addin is 'checked' when I start excel, it gives the download error in the comment below. Even if the addin is previously installed, the CommandBarButton does not stay in place. Also, under options--&gt; addins the addin is stated to be &quot;Active&quot;.</p>