After upgrading the AIP to 19.5 the installer created by AIP fails on Windows Server 2012 R2, with a custom action that uses PowerShell scripts with the following mesage in the log
PROPERTY CHANGE: Adding POWERSHELL_EXECUTION_LOG property. Its value is 'ERROR: A parameter cannot be found that matches parameter name 'noNewLine'.'.
The installer created in 19.5 does not complain about required PowerShell in a specific version.
The installer created in 19.4 works fine.
Installing WMI 5.1 on the machine solves that problem, but that should not be a required step.
Attached an example project that should show the issue. The requirement is that the installer must be executed in a WIndows Server 2012 R2 machine without any additional software.