Windows 7 64 bit - Installed Powershell version 2.0
Powershell Studio 2017 Installed on Server 2012
Just started using the product and I was testing a new form with the following results:
Created a GUI with 1 form and 2 buttons
Button 1 checks for a test-connection
Button 2 checks for a serial number of a PC remotely
Both functions work when running the code in Powershell
After packaging the script into an executable if I have the "Generate a Config File checked" everything works fine with the exception of I just want the executable and not the config file. Is this possible ? or do I need to distribute both files to an end user ?
If I package it without the config file and try to run the .exe I receive the following in the attached document.
Any help is appreciated
Executable will not run
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.
Executable will not run
- Attachments
-
[The extension docx has been deactivated and can no longer be displayed.]
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Re: Executable will not run
Depending on what you do in your script, the .config file is required for a .NET executable. If your packaged exe does not work without one, your will need it.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.