Nothing happens when trying to run built package (.exe file)

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 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.
This topic is 1 year and 3 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.
moosasarshar
Posts: 6
Last visit: Thu Mar 09, 2023 1:00 am
Has voted: 1 time

Nothing happens when trying to run built package (.exe file)

Post by moosasarshar »

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: SAPIEN PowerShell Studio 2022, 5.8.213.0
Operating system: Windows 10 Enterprise, 22H2, 19045.2251, Windows Feature Experience Pack 120.2212.4180.0
PowerShell version(s): SAPIEN PowerShell V5 Host (Windows Forms)

*** Please add details and screenshots as needed below. ***

DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 3:14 pm
Answers: 39
Been upvoted: 30 times

Re: Nothing happens when trying to run built package (.exe file)

Post by brittneyr »

I need more information to better assist you.

Please answer the following:
What is your executable suppose to do?
What script engine are you using to build?
Does your project or script run in PowerShell Studio before packaging into an executable?
Are there any errors in the Event Viewer?
Brittney
SAPIEN Technologies, Inc.
moosasarshar
Posts: 6
Last visit: Thu Mar 09, 2023 1:00 am
Has voted: 1 time

Re: Nothing happens when trying to run built package (.exe file)

Post by moosasarshar »

I found out that it is the "Allow only one instance" criteria on the "Restrictions" Packager task in the "Build Settings" that does it. If the checkbox is checked, zero instances are run. If the checkbox is not checked, running it works fine.
User avatar
Olga_B
Site Admin
Posts: 196
Last visit: Thu Mar 28, 2024 8:34 am

Re: Nothing happens when trying to run built package (.exe file)

Post by Olga_B »

We are not able to reproduce the issue in our testing environment.
If you can, please zip and load up the original psf file(s) and .psbuild file, so that we can attempt to recreate the issue:

https://www.sapien.com/support/upload
This topic is 1 year and 3 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.