VERIFIED SOLUTION i

Portrait Foundation 4.4 U4 Powershell System Setup fails

Product Feature: Installation

Operating System: Windows Server 2008 R2
Database: SQL Server

Configuration: Not stated
 

Issue

Portrait 4.4 U4 Powershell System Setup fails

Cause

Error is thrown when attempting to use command line set up for Foundation 4.4 U4 Implementation install on Windows 2003 SP2 32 bit.  This may typically happen on a system that has both Powershell version 1 installed alongside version 2.
This is due to the assembly managing loading up from the wrong base framework.  Typically this will be version 2 of the .Net framework when version 4 is the desired target platform.

Resolution

UPDATED: August 23, 2017
The resolution to this issue is to add the following to PowerShell.exe.config in the "C:\Windows\System32\WindowsPowerShell\v1.0" folder:

<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0.30319"/>
</startup>
</configuration>

This instructs the assembly manager to load from the correct base framework.