Powershell.exe error during the update to Summer 2020 and the startup type of Imagicle Services will be set in Manual

Applies from Application Suite 201x (any version)
to version Application Suite 2020.6.2.h6

Description

Upgrade on a Windows 2008 R2 machine could fail and the startup type of Imagicle Services will be set in Manual
During the update a popup error message indicates a problem with powershell.exe
The problem occurs in Windows 2008R2 only.

Cause

The problem is related to a bug discovered in the previuos version of Imagicle Application Suite 2020.6.2.h7

In the Setup log file you can see this error message

2020-11-13 23:38:38.340   Executing: "C:\Windows\sysnative\WindowsPowerShell\v1.0\powershell.exe"  -NonInteractive  -NoProfile -ExecutionPolicy unrestricted -Command "& { $errorActionPreference='Stop'; & 'C:\Program Files (x86)\StonevoiceAS\System\SetIasServicesOptions.ps1' -startupType manual ; exit $LastExitCode }"
2020-11-13 23:38:39.793   Execution completed with return code: 1
2020-11-13 23:38:39.793   This is an error return code.
2020-11-13 23:38:39.793   Operation failed.
2020-11-13 23:38:39.793   [ERROR] Program "powershell.exe" returned error code 1.

Solution

  1. Download SetIasServicesOptions.ps1 in attach and move it in the Imagicle server.
  2. Replace the original one in <StonevoiceAS>\System
  3. Execute the Imagicle Application Suite setup again.


Article ID: 796
Last updated: 30 Nov, 2020
Revision: 2
Imagicle AppSuite Cross Platform -> FAQ and Solutions -> Powershell.exe error during the update to Summer 2020 and the startup type of Imagicle Services will be set in Manual
https://kbp.imagicle.com/kb/entry/796/