You will see this error if you run a SAP Add-on installer outside the SAP Business One Client. SAP Add-on requires a registration within the client (Administration > Add-ons > Add-On Administration). See the general Installation Guide for more information on how to install the add-on.