To help you better we need some information from you.
*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product, version and build: PowerShell Studio 5.7.178
32 or 64 bit version of product: 64 Bit
Operating system:
32 or 64 bit OS: 64 Bit
*** Please add details and screenshots as needed below. ***
I have created an exe from my script, however when I run the exe the script it made from I can see in plain text as a source file, it is a hidden item....but to me this does not seem correct as the script should be running in the exe and should not appear or be read-able in plain text.
When I previously used tools like PS2EXE-GUI the script was contained in the exe and was never visible in plain text...
EDIT: Some added insight, I am using Microsoft Windows PowerShell script engine due to issues I have with the SAPIEN PowerShell v5 host command line engine not properly functioning when "Clear-Host" is used and "screen tearing" occurs, where you will see mashed together letters when the script should have performed a Clear-Host.
DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
Script to exe, when exe is run the script appears as hidden item
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.
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.
-
- Posts: 10
- Last visit: Wed Mar 20, 2024 5:07 am
Script to exe, when exe is run the script appears as hidden item
- Attachments
-
- Running My_App.PNG (29.03 KiB) Viewed 1522 times
Last edited by NewRootUsr on Wed Jun 17, 2020 10:31 am, edited 1 time in total.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Re: Script to exe, when exe is run the script appears as hidden item
If you look at the where you select the particular type of package to use, it specifically says if it uses a temporary file or not.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
-
- Posts: 10
- Last visit: Wed Mar 20, 2024 5:07 am
Re: Script to exe, when exe is run the script appears as hidden item
Thank you for the quick reply, that is very interesting, I didn't even notice that text. Looks like I have some additional work to do to make it run in a memory capable way.