May 10 2021 05:40 AM
I think there is a problem with the PSFLauncher.exe. It appears to be using the working directory of the application shortcut to find the StartingScriptWrapper.ps1. This is breaking PowerShell support in PSFTooling and Advanced Installer Express. Is this expected behavior? I can think of lots of reasons not to have things working this way.
May 12 2021 09:53 AM
May 13 2021 04:20 AM - edited May 13 2021 04:52 AM
SolutionHi @Skinheed
I am Bogdan, from the Advanced Installer team. Thanks for reporting this issue. Just wanted to let you know that until a fix is included by MSFT in the official PSF repo we will include a custom fix directly inside our next version.
Until then, you have a workaround in Advanced Installer:
Advanced Installer allows you to update the working directory and application parameters (that you would usually specify in the "Application Details" view) directly from the PS1 script.
For your scenario, please follow these steps.
This sample PS script (from the attached zip) updates the Working directory to the first argument it receives (its value should be relative to APPDIR).
IMPORTANT, when using the above script:
May 13 2021 01:28 PM
May 18 2021 05:30 AM
May 18 2021 05:37 AM
May 18 2021 05:47 AM
May 18 2021 06:21 AM
May 18 2021 06:40 AM
May 25 2021 01:32 AM
Hi @Skinheed,
I've published an update for AI Express in the store today (it should pass MS validation in a few hours).
Download this update and try the old project. It should not require the workaround I suggested in my previous answer.
Cheers,
Bogdan
May 25 2021 05:06 AM
Jul 20 2021 05:37 AM
May 13 2021 04:20 AM - edited May 13 2021 04:52 AM
SolutionHi @Skinheed
I am Bogdan, from the Advanced Installer team. Thanks for reporting this issue. Just wanted to let you know that until a fix is included by MSFT in the official PSF repo we will include a custom fix directly inside our next version.
Until then, you have a workaround in Advanced Installer:
Advanced Installer allows you to update the working directory and application parameters (that you would usually specify in the "Application Details" view) directly from the PS1 script.
For your scenario, please follow these steps.
This sample PS script (from the attached zip) updates the Working directory to the first argument it receives (its value should be relative to APPDIR).
IMPORTANT, when using the above script: