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 SUBSCRIPTION NUMBERS, LICENSE 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.
User avatar
$$C-1T
Posts: 8
Joined: Wed Jun 17, 2015 7:37 am

Can't build exe for Console Mode

Post by $$C-1T » Mon Jul 29, 2019 7:44 am

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: 234
Joined: Thu Jun 01, 2017 7:20 am

Re: Can't build exe for Console Mode

Post by brittneyr » Mon Jul 29, 2019 8:29 am

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 Ryn
SAPIEN Technologies, Inc.

User avatar
$$C-1T
Posts: 8
Joined: Wed Jun 17, 2015 7:37 am

Re: Can't build exe for Console Mode

Post by $$C-1T » Wed Jul 31, 2019 8:37 am

Thank you very much, this was indeed the problem :)
I had to reinstall PowerShell Studio and then all different Script Engines appeared again.