title: Changing Firefox addon install icon
body: <p>I'm working on developing a Firefox add-on using the <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.0/dev-guide/welcome.html" rel="noreferrer">Add-on SDK</a>. I changed my package.json file to include entries for a 32x32 icon and a 64x64 icon.</p>
  
  <pre><code>{
      ...
      "icon": "icons/icon-32.png",
      "icon64": "icons/icon-64.png",
      ...
  }
  </code></pre>
  
  <p>Furthermore, I placed icon-32.png and icon-64.png in the directory <code>icons</code> inside my package directory before running <code>cfx xpi</code> inside the package directory.</p>
  
  <p>The icons correctly display in the addon manager from <code>Tools &gt; Add-ons</code>, but the installation dialog still uses a puzzle piece icon.</p>
  
  <p><strong>I am self-hosting the Firefox add-on.</strong></p>
  
  <p>At first, I thought it might be because I wasn't yet signing the xpi file, but I noticed that there are many other add-ons that are not signed but still have the correct icon in the installation dialog.</p>
  
  <p>I also thought that it might be because the icon wasn't located in the right place within the xpi file or perhaps that the install.rdf wasn't correctly generated by the add-on SDK, but I unzipped the xpi and found that cfx had put the icons in the root directory and renamed them to the default names (icon.png and icon64.png) and had omitted the filenames in the install.rdf (pointing them to the default icons).</p>
  
  <p><strong>How can I change the installation icon?</strong></p>
  
  <p><strong>Can installation icons only be changed when hosting with Firefox?</strong></p>