Can't build exe for Console Mode

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 4 years and 7 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
KSSG-Departement-IT
Posts: 8
Last visit: Fri Mar 01, 2024 3:35 am

Can't build exe for Console Mode

Post by KSSG-Departement-IT »

Hi all

I have created a GUI with PowerShell Studio 2016, then I created an *.exe from it in "console mode".
So I saw everything in the console.

We upgraded to PowerShell Studio 2019 and now I don't see this option anymore.
I can build it only for "silent" mode. How can I set this to "console mode" again?

In the past you could set this with this dropdown field:
Image

At the moment I only see this:
Image

Infos:
OS: Windows Server 2016 (x64)
PowerShell Studio: PowerShell Studio 2019 (Version 5.6.159) x64



Thank you for your help
Roger
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 3:14 pm
Answers: 39
Been upvoted: 30 times

Re: Can't build exe for Console Mode

Post by brittneyr »

It appears that you are missing some script engines. To check if the files are missing, you can go to and compare with with what engines you can see from the Script Packager Dialog to whats in the folder:
C:\Program Files\SAPIEN Technologies, Inc\PowerShell Studio 2019\ScriptEngines

If the files are missing, the easiest solution to this would be to uninstall then reinstall PowerShell Studio.

If the files are not missing, please check with your Windows Defender or other security as the script engines can throw a false positive and be blocked on your machine.
Brittney
SAPIEN Technologies, Inc.
User avatar
KSSG-Departement-IT
Posts: 8
Last visit: Fri Mar 01, 2024 3:35 am

Re: Can't build exe for Console Mode

Post by KSSG-Departement-IT »

Thank you very much, this was indeed the problem :)
I had to reinstall PowerShell Studio and then all different Script Engines appeared again.
This topic is 4 years and 7 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.