Page 1 of 1

Packager - Resolve and include external scripts - not working

Posted: Mon Oct 08, 2018 12:02 am
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

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

Posted: Tue Oct 09, 2018 9:21 am
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.

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

Posted: Tue Oct 09, 2018 2:04 pm
by davidc
This issue only affects psf files and it will be resolved in the next service release.