TheInsaneManiac
07-06-2009, 01:07 AM
I have a question. People who download my products have to uninstall them in order to update. How can I get it to work without them uninstalling?
<code version="2.1">
<installcode><![CDATA[$db->query("INSERT INTO " . TABLE_PREFIX . "datastore (title,data) VALUES ('rapidsharethanks','')");]]></installcode>
<uninstallcode><![CDATA[$db->query("DELETE FROM " . TABLE_PREFIX . "datastore WHERE title = 'rapidsharethanks'");]]></uninstallcode>
</code>
<code version="2.1">
<installcode><![CDATA[$db->query("INSERT INTO " . TABLE_PREFIX . "datastore (title,data) VALUES ('rapidsharethanks','')");]]></installcode>
<uninstallcode><![CDATA[$db->query("DELETE FROM " . TABLE_PREFIX . "datastore WHERE title = 'rapidsharethanks'");]]></uninstallcode>
</code>