neo42-GmbH / PSAppDeployToolKitExtensions

Explore a next level packaging experience with the neo42 Extensions for the PSAppDeployToolkit. The base for the neo42 Application Package Depot
https://neo42.de/application-package-depot
GNU Lesser General Public License v3.0
4 stars 0 forks source link

Restricting the executable functionality of the CMDlet 'New-NxtTemporaryFolder' #1080

Open neo42rkh opened 2 weeks ago

neo42rkh commented 2 weeks ago

Confirmation

Description

If a json file is prepared with a package specific variable which contains generation of a temporary folder via 'New-NxtTemporaryFolder' this stops the script with error when running the user part, because a user cannot set required permissions of this temporary folder newly generated under system drive.

example in json file:

"PackageSpecificVariablesRaw": [
{
  "Name": "neoTmpFolder",
  "Value": "$(New-NxtTemporaryFolder)",
  "ExpandVariables": true
}

possible solution:

Release

2024.09.23.47

Windows build

any

Architecture

No response

Deployment System

No response

Relevant logs

No response