Question
How do I fix the "script could not be processed" error when installing iCAP?
Investigation
To confirm it is a scripting dependency issue, output to a log file the verbose logging from the iCAP install process:
- From a command prompt, enter: Msiexec /package <path-to-install.msi> /l*v log.txt
- Run through the install until you have finished/closed the installation.
This will output log.txt in the current folder (normally the current user’s documents).
In version 2.7, this will show, at some point:
Custom action IniInstall script error -2147024769, : Line 42, Column 3
In subsequent versions, the line number may change but the message will be similar. If the line number is different it is possible that there is a different scripting-related problem.
Solution
Download and install Windows scripting (also called WScript) from the Microsoft downloads page:
http://www.microsoft.com/downloads/details.aspx?FamilyID=c717d943-7e4b-4622-86eb-95a22b832caa&displaylang=en
You’ll need to restart the machine, then iCAP should install correctly.