Hello everyone.
We just had this error message while trying to execute our installer on Windows Vista Home Premium, 32 bit, Service Pack 1 (automatic updates disabled, however):
"Error 2739: Could not access JavaScript runtime for custom action"
Googling for the error I came across these articles:
Basic information about the problem:
Windows Installer Errors 2738 and 2739 with Script Custom Actions
Internal error 2739 on Vista x64
Microsoft employees making excuses for why script custom actions are a bad choice (instead of fixing their own broken design of them):
Windows Installer Errors 2738 and 2739 with Script Custom Actions
Link to information about MSI script-based custom action error codes 2738 and 2739
Further information:
Adobe Creative Suite 3 application installer closes with error code 2739 (Windows Vista)
CLM does not install on Windows Vista
Javascript Custom Installer Actions on Vista
Windows Update Fix
So it seems that this problem may be caused by a misconfiguration that may even have other negative effects (Windows Update not working).
Checking the registry it turned out that the JScript engine is indeed registered under HKEY_CURRENT_USER on that machine, for the user we used to install our software.
The VBScript engine is not registered under HKEY_CURRENT_USER.
Is there a way detect this broken state in the installer and bring up a respective error message to the user (without using scripts...)?
With best regards
Clemens Anhuth