Script Package .exe to run silent ?

Use this forum to ask questions after your subscription maintenance expires or before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
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.
This topic is 15 years and 6 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
jeffreyferris
Posts: 2
Last visit: Fri Sep 19, 2008 4:47 am

Script Package .exe to run silent ?

Post by jeffreyferris »

Hello,
I'm trying to select a VBScripting tool for our 16 Location IT folks at Milgard Windows. We need a tool that will do scripts "run as" and "packaged" for security which I see your product does. What I need to know is:
1. Can your compiled .exe package be set to run invisibly to the end user...that is a requirement we have...we don't want the end-user to see ANYTHING when the .exe executes.
2. Can your .exe package run invisibly any additional .exe's we package within the main executable ? We would like the script to point to a packaged command-line .exe and would like the command window hidden. This is a "Nice to have" feature.
We'll be asking the same questions of the AdminScriptEditor folks today. We're trying to decide which is better suited for our needs.
Kindest Regards,
Jeffrey FerrisSenior WAN AdminMilgard Corp IT253-922-4335JeffreyFerris@milgard.com
User avatar
Alexander Riedel
Posts: 8488
Last visit: Mon Apr 15, 2024 3:28 pm
Answers: 20
Been upvoted: 37 times

Script Package .exe to run silent ?

Post by Alexander Riedel »

If you package your script into a command line executable and run it as
yourexe.exe > nul
it should not emit any output. It really depends on what your script does and from where you call it.

If you package it as a Windows exe and your script does NOT use WScript.Echo or MgsBox (assuming it is VBScript) there should also be no output.

As for packaged exe's that is entirely under your control on how you execute those from within your script. As far as the package is concerned, it is just another data file.

If there is anything we can do to help, please let us know.
Alexander Riedel2008-09-18 10:10:58
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
jhicks
Posts: 1789
Last visit: Mon Oct 19, 2015 9:21 am

Script Package .exe to run silent ?

Post by jhicks »

You can download an evaluation copy of PrimalScript and try it out for yourself. As Alex mentioned it really depends on your script. As long as it doesn't try to display anything, it can be completely hidden. Use the Wscript script engine and not CScript as the latter would likely open a CMD window which I think is what you are trying to avoid. Try it out and if you have other questions, we're happy to help you out.
This topic is 15 years and 6 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.