This is just an update to the install file. There is an error in the v5,0 install file in the SQL instructions.
Very simple, the first SQL line is missing an ending semicolon, just add it to the end of the 1st line or use the following instead when installing v5.0
INSERT INTO `configuration` ( `configuration_id` , `configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` ) VALUES ('', 'Send HTML or Text Invoices to Customers', 'EMAIL_INVOICE', 'true', 'If this is enabled, order invoices will be sent to the customer in HTML format.<br><br>Enabled = true<br>Disabled = false<br><br>To use this, you must have HTML E-mails enabled.<br><br>', '12', '0', NULL , NOW( ) , '', '');
INSERT INTO `configuration` ( `configuration_id` , `configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` ) VALUES ('', 'Default E-Mailed HTML Invoice Template', 'EMAIL_TEMPLATE_FILE', 'invoice.php', 'File name of the template file you will be using when the store e-mails HTML invoices to your customers<br><br>"invoice.php" for the stock osC look<br><br>"html_invoice.php" for the HTML version<br><br>', 12, 0, NULL, NOW(), '', '');
*** The attached file is only the updated install file.