Engine Type Prerequisites

When building executables in PrimalScript or PowerShell Studio there are various engine types to choose from, each of them with a prerequisite that must be installed on the machine that will be running your program. For example, if you build an executable in PowerShell Studio and select the SAPIEN PowerShell V2 Host (Command Line) Win32 engine then the .NET Framework 2.0 is required on the target machine.

Here is a table that shows the prerequisites for each engine type:

Windows PowerShell

Engine Prerequisite
Microsoft Windows PowerShell (Command Line) Visual Studio 2015-2022 Runtime
SAPIEN PowerShell V5 Host (Command Line) .NET Framework 4.8
SAPIEN PowerShell V5 Host (Silent) .NET Framework 4.8
SAPIEN PowerShell V5 Host (Windows Application) .NET Framework 4.8
SAPIEN PowerShell V5 Host Dark Mode (Windows Application) .NET Framework 4.8
SAPIEN PowerShell V5 Host (Windows Forms) .NET Framework 4.8
SAPIEN PowerShell V5 Host (Windows Service) .NET Framework 4.8
SAPIEN PowerShell V5 Host (Windows Tray App) .NET Framework 4.8
SAPIEN PowerShell V5 Host (Windows) .NET Framework 4.8

PowerShell 7

Engine Prerequisite
PowerShell Core (Command Line) Visual Studio 2015-2022 Runtime
SAPIEN PowerShell 7.0.x Host (Command Line) .NET Core 3.1
SAPIEN PowerShell 7.0.x Host (Windows Application) .NET Core 3.1
SAPIEN PowerShell 7.0.x Host Dark Mode (Windows Application) .NET Core 3.1
SAPIEN PowerShell 7.0.x Host (Windows Forms) .NET Core 3.1
SAPIEN PowerShell 7.0.x Host (Windows Tray App) .NET Core 3.1
SAPIEN PowerShell 7.1.x Host (Command Line) .NET 5.0
SAPIEN PowerShell 7.1.x Host (Windows Application) .NET 5.0
SAPIEN PowerShell 7.1.x Host Dark Mode (Windows Application) .NET 5.0
SAPIEN PowerShell 7.1.x Host (Windows Forms) .NET 5.0
SAPIEN PowerShell 7.1.x Host (Windows Tray App) .NET 5.0
SAPIEN PowerShell 7.2.x Host (Command Line) .NET 6.0
SAPIEN PowerShell 7.2.x Host (Windows Application) .NET 6.0
SAPIEN PowerShell 7.2.x Host Dark Mode (Windows Application) .NET 6.0
SAPIEN PowerShell 7.2.x Host (Windows Forms) .NET 6.0
SAPIEN PowerShell 7.2.x Host (Windows Tray App) .NET 6.0
SAPIEN PowerShell 7.3.x Host (Command Line) .NET 7.0
SAPIEN PowerShell 7.3.x Host (Windows Application) .NET 7.0
SAPIEN PowerShell 7.3.x Host Dark Mode (Windows Application) .NET 7.0
SAPIEN PowerShell 7.3.x Host (Windows Forms) .NET 7.0
SAPIEN PowerShell 7.3.x Host (Windows Tray App) .NET 7.0
SAPIEN PowerShell 7.4.x Host (Command Line) .NET 8.0
SAPIEN PowerShell 7.4.x Host (Windows Application) .NET 8.0
SAPIEN PowerShell 7.4.x Host Dark Mode (Windows Application) .NET 8.0
SAPIEN PowerShell 7.4.x Host (Windows Forms) .NET 8.0
SAPIEN PowerShell 7.4.x Host (Windows Tray App) .NET 8.0

ActiveX and Miscellaneous

Engine Prerequisite
CMD Visual Studio 2015-2022 Runtime
CScript (Windows Script Host) Visual Studio 2015-2022 Runtime
MSHTA Visual Studio 2015-2022 Runtime
SAPIEN Script Host (Command Line) Visual Studio 2015-2022 Runtime
SAPIEN Script Host (Windows) Visual Studio 2015-2022 Runtime
WScript (Windows Script Host) Visual Studio 2015-2022 Runtime