Open packaged EXE without Console

Support for all customers who have purchased a SAPIEN PowerShell Studio product license. This forum 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
damiengibson
Posts: 1
Joined: Mon Jul 06, 2015 7:00 am

Open packaged EXE without Console

Post by damiengibson » Fri Jan 04, 2019 2:30 pm

Hello All,

Is there a setting within Powershell Studio that will hide or disable the console window when launching the packaged EXE.

Currently, when i launch it opens a console window then the form opens. Is it possible for it to be just the tool?

I have looked within Build Settings and nothing stuck out to me, and after searching this forum, i thought i would just ask.

Thanks in advance for any info!

User avatar
davidc
Posts: 5810
Joined: Thu Aug 18, 2011 4:56 am

Re: Open packaged EXE without Console

Post by davidc » Fri Jan 04, 2019 4:02 pm

Yes, if you select one of the WinForms packager engines and it will suppress all output including the console window.
You can change the packager engine in Packager Settings->Script Engine:
Packager Windows Forms.png
Packager Windows Forms.png (72.77 KiB) Viewed 497 times
David
SAPIEN Technologies, Inc.