*UPDATE* I have now uploaded the file so you can download directly (see https://tickett.wordpress.com/2011/08/07/crystal-reports-2011-installation-bugfix-patch/)

*UPDATE* Official word from SAP: This should only be affecting Windows XP 32-bit machines that have KB2467175 installed. The removal of KB2467175 resolves the issue.

I bit the bullet and purchased the Crystal Reports 2011 upgrade (from the US store). Unfortunately when I tried to install I got an error:

The Product keycode is not valid. INS00140

Google only turned up one result: http://forums.sdn.sap.com/thread.jspa?threadID=1946287 which didn’t have a solution.

I ran process monitor from sysinternals to have a look if a registry check for previous version(s) was failing or likewise and found an installation log file which contain the following entries:

18:10:22.727 Calling Validator Entry Point..
18:10:22.727 [validate_ProductKey]acceptedKeyTypes CR.EnableCR;XC.EnableAddOn
18:10:22.727 [validate_ProductKey]appname: "C:\Documents and Settings\Lee\Desktop\tmp\DATA_UNITS\CrystalReports\dunit\product.crystalreports-4.0-core-32\actions\\isKeyCodeValid.exe"
18:10:22.742 [validate_ProductKey]argument: -keycode ******** -version 140 -property CR.EnableCR
18:10:22.742 [validate_ProductKey]initDir: C:\Documents and Settings\Lee\Desktop\tmp\DATA_UNITS\CrystalReports\dunit\product.crystalreports-4.0-core-32\actions\
18:10:22.742 [run_external_executable] cmdLine: "C:\Documents and Settings\Lee\Desktop\tmp\DATA_UNITS\CrystalReports\dunit\product.crystalreports-4.0-core-32\actions\\isKeyCodeValid.exe" -keycode ******** -version 140 -property CR.EnableCR
18:10:23.043 [run_external_executable] Exit code: -1072365566
18:10:23.043 [validate_ProductKey]keyTypes [CR.EnableCR] is bad
18:10:23.043 [validate_ProductKey]appname: "C:\Documents and Settings\Lee\Desktop\tmp\DATA_UNITS\CrystalReports\dunit\product.crystalreports-4.0-core-32\actions\\isKeyCodeValid.exe"
18:10:23.043 [validate_ProductKey]argument: -keycode ******** -version 60 -property XC.EnableAddOn
18:10:23.043 [validate_ProductKey]initDir: C:\Documents and Settings\Lee\Desktop\tmp\DATA_UNITS\CrystalReports\dunit\product.crystalreports-4.0-core-32\actions\
18:10:23.043 [run_external_executable] cmdLine: "C:\Documents and Settings\Lee\Desktop\tmp\DATA_UNITS\CrystalReports\dunit\product.crystalreports-4.0-core-32\actions\\isKeyCodeValid.exe" -keycode ******** -version 60 -property XC.EnableAddOn
18:10:23.343 [run_external_executable] Exit code: -1072365566
18:10:23.343 [validate_ProductKey]keyTypes [XC.EnableAddOn] is bad
18:10:23.343 Validation Failed for : ProductKey

So it looks like isKeyCodeValid.exe isn’t returning what is expected. I tried running the executable from the commandline and it simply errors. I guess there’s a bug?

Anyway, I wrote a command line app which simply returns errorcode 1 and replaced isKeyCodeValid.exe with my app. Voila!

Expect an update once I’ve had a chance to play with it!

Get in touch if you experience the same error and need help getting past it.

L

About these ads