<p>Called when the pre-install code for an add-on has been run.</p>

<p>Callback signature:</p>
<blockquote><code><em>\XF\AddOn\AddOn</em> $addOn, <em>\XF\Entity\AddOn</em> $installedAddOn, <em>array</em> $json</code></blockquote>

<p>Arguments:</p>
<ol>
	<li><code><em>\XF\AddOn\AddOn</em> $addOn</code> - The AddOn object for the add-on being installed.</li>
	<li><code><em>\XF\Entity\AddOn</em> $installedAddOn</code> - The newly created add-on entity.</li>
	<li><code><em>array</em> $json</code> - An array decoded from the add-on's addon.json file.</li>
</ol>

<p><b>Event hint:</b> The add-on ID for the add-on being installed.</p>