This is a fork of Win-PS2EXE by Markus Scholtes. This is a graphical front end to PS1-to-EXE-compiler PS2EXE.ps1. I am making modifications that suit my use of this software while trying to provide additions to the community.
Forked From:
Author: Markus Scholtes
Version: 1.0.1.2
Date: 2023-09-24
With PS2EXE.ps1 originally created by Ingo Karstein you can compile Powershell scripts to real Windows executables. Win-PS2EXE is a small graphical front end to the script.
- WPF application that compiles without Visual Studio or MSBuild on every Windows with .Net 3.5x or .Net 4.x
- only one source file
- drag'n'drop for file names
- separate .Net 4.x and .Net 3.5x versions (since .Net 3.5x do not allow uncompiled event handlers in XAML)
Run Compile.bat (in a .Net 3.5x environment use the version in folder DotNet3.5).
Ensure PS2EXE.ps1 is in the same directory as Win-PS2EXE.exe.
Start Win-PS2EXE.exe and fill in the desired fields (only Source file is mandatory).
Click Compile, a powershell window opens and your powershell script will be compiled to an executable.
1.0.1.2: new text field for additional parameters
1.0.1.1: target folder dialog added (code by Josip Medved, https://www.medo64.com/2011/12/openfolderdialog/)
1.0.0.3: file fields no longer run out
1.0.0.2: -noConfigFile is default now
From here Down will be my notes and changes
Author: Wils Custom 3D
Version: 2.0.0.0
Changelog:
-Removed the .NET 3.5 version, I will only use the .NET v4.X
-icon updated to use a darker icon Black and blue vs old White and red icon
-updates to.CS to attempt to get the company name to appear in EXE's Properties
-Various name changes in .CS file
-
Creation of NEW License file and attribution of old License File
-
Updates to the .gitattributes file
Run Compile.bat (A .Net 4.8.1 environment is recommended for use with this version.) https://dotnet.microsoft.com/en-us/download/dotnet-framework/net481
Ensure PS2EXE.ps1 is in the same directory as Win-PS2EXE.exe.