Skip to main content
Kofax

An error occurs when installing/upgrading KCM using PowerShell ISE

Article # 3011648 - Page views: 148

3011648

Symptoms

You use PowerShell ISE for installing/upgrading KCM. During the installation/upgrade of KCM you receive the following error from PowerShell ISE:

Execute-Command : Cannot convert 'System.String[]' to the type 'System.String' required by parameter 'Message'. Specified method is not supported.
At C:\InstallServer\Scripts\Tools\Functions.ps1:492 char:17
+ $ExitCode = Execute-Command $checkdatabase $Parameters -silent
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Execute-Command], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgument,Execute-Command

Cause

You are using Powershell ISE for executing the install.ps1/upgrade.ps1 script. PowerShell ISE is not supported. PowerShell scripts are executed in PowerShell ISE differently than in PowerShell console.

Solution

Use PowerShell 64bit for running the install.ps1 installation script or upgrade.ps1 upgrade script. 

 

Applies to:  

Product Version Category
KCM All versions Installation

 

Author:  Dimitri Huisman

  • Was this article helpful?