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
PowerShell 7
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
New stuff from the SAPIEN blog you might like: Engine Type Prerequisites https://t.co/iztrjGqkvQ