Packager - Resolve and include external scripts - not working

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 5 years and 5 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
NetComputer
Posts: 1
Last visit: Wed Mar 13, 2024 4:02 am

Packager - Resolve and include external scripts - not working

Post by NetComputer »

Product, version and build:5.5.154
32 or 64 bit version of product: 64bit
Operating system: windows 10
32 or 64 bit OS: 64bit

The packager option "Resolve and include external scripts" does not work.

I have following in test.psf :

Code: Select all

$form1_Load={
	."c:\it\script\test.ps1"
	$label1.Text = (GetText)
}
in the test.ps1 script, I have:

Code: Select all

function GetText
{
	return "test"
}
when packaged as an exe, the expected result only works if the script c:\it\script\test.ps1 exists. If the script is deleted, the label text is not set to "test".
Does this mean the "resolve and include" option does not work?

How should it be used?

Thank you

David
User avatar
Olga_B
Site Admin
Posts: 196
Last visit: Thu Mar 28, 2024 8:34 am

Re: Packager - Resolve and include external scripts - not working

Post by Olga_B »

Thanks for reporting this issue.
The issue has been sent to the proper place for evaluation and correction. When a fix is issued with a service build, it will be listed in the change log.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: Packager - Resolve and include external scripts - not working

Post by davidc »

This issue only affects psf files and it will be resolved in the next service release.
David
SAPIEN Technologies, Inc.
This topic is 5 years and 5 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.