Have to click "Build Package" multiple times to complete

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 11 months and 4 weeks 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
elation
Posts: 27
Last visit: Mon Sep 18, 2023 3:39 am
Has voted: 1 time

Have to click "Build Package" multiple times to complete

Post by elation »

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: PowerShell Studio 2023 (64 Bit)
Build: v5.8.219
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.19044.0

*** Please add details and screenshots as needed below. ***
Howdy. I am working in a large multi-form project. It currently has a hair under 33k lines combined and utilizes 14 child forms. This has been occurring with multiple PS Studio versions and is repeatable.
1st click - doesn't write the exe.
2nd click - writes the exe and signs it.
3rd click - writes the exe, signs it, and writes the file metadata.

1st click:
SAPIEN Package and Deploy Tool 4.6 (c) 2005 - 2023 SAPIEN Technologies, Inc.

------ Build started: MyProject, Configuration: x64 ------
Packaging with SAPIEN PowerShell V5 Host (Windows Forms) x64
Adding C:\scripts\SAPIEN\PowerShell Studio\Projects\MyProject2\MyProject.Package.ps1
Writing scripts to bin\x64\MyProject.exe
0 error(s), 0 warning(s)

2nd, 3rd and subsequent clicks:
SAPIEN Package and Deploy Tool 4.6 (c) 2005 - 2023 SAPIEN Technologies, Inc.

------ Build started: MyProject, Configuration: x64 ------
Packaging with SAPIEN PowerShell V5 Host (Windows Forms) x64
Adding C:\scripts\SAPIEN\PowerShell Studio\Projects\MyProject\MyProject.Package.ps1
Writing scripts to bin\x64\\MyProject.exe
Embedding default manifest...
Executable file signed with certificate LastName, FirstName
Executable file time stamped with http://time.certum.pl
The file "bin\x64\\MyProject.exe" is signed and the signature was verified.
HashFile created

Package completed

0 error(s), 0 warning(s)





DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Re: Have to click "Build Package" multiple times to complete

Post by Alexander Riedel »

Most commonly the build process gets interrupted by malware virus checkers when the intermediary file gets created. There are provisions to wait for any pending scan to complete but the
timing very much depends on software used and system load.
Which Antivirus/Malware scanner software are you using?
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
elation
Posts: 27
Last visit: Mon Sep 18, 2023 3:39 am
Has voted: 1 time

Re: Have to click "Build Package" multiple times to complete

Post by elation »

Thanks for the quick reply. That would not surprise me at all. This has been an issue since SEP and now CrowdStrike. We also use CarbonBlack Parity App Control. Parity has always been a thorn in my side when it comes to odd-ball problems. I'll create some packages with those disabled and report back with my findings.
This topic is 11 months and 4 weeks 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.