Search This Blog

2023-05-26

SAP IPS - setup.exe doesn't recognize Product Key

Product: SAP IPS
Version: 4.1 - 4.2

Symptom

Run setup.exe, and enter a valid product key. Installer returns following error

Error
An error has occurred.

The product key is not valid. INS00140

Checked installer log in /tmp/yyyy.mm.dd.hh24.mi.ss/setupengine.log for key validation failure. It is showing following

20:58:18.743 RawArgFormatter - property not set yet: shared.library.keycode.props-4.0-core$ProductKey

20:58:25.692 [validate_ProductKey]argument:  -keycode ********  -version 142 -property BOE.EnableBOE

20:58:26.056 [run_external_executable] cmdLine: cd "/opt/download/sap/bods42sp14pl21/ips42sp9pl7/dunit/product.minibip-4.0-core-32/actions/"; /opt/download/sap/bods42sp14pl21/ips42sp9pl7/dunit/product.minibip-4.0-core-32/actions//isKeycodeValid  -keycode ********  -version 142 -property BOE.EnableBOE

20:58:26.056 [validate_ProductKey]keyTypes [BOE.EnableBOE:142] is bad

Solution

For for full path of program "isKeycodeValid" shown in above log, then run following
chmod u+x <full path from log above>/isKeycodeValid

You should be able to manually test this is success
cd "/opt/download/sap/bods42sp14pl21/ips42sp9pl7/dunit/product.minibip-4.0-core-32/actions/"
isKeycodeValid  -keycode <non case sensitive product key>  -version 142 -property BOE.EnableBOE

No comments: