Rename Files folder

Hi to all ,
I am pretty new here and trying to understand this great tool.
I would like to change the files folder to source folder and use it instead.
What code i need to change in order it to work without any error messages?

Thank you so much
Amir :slight_smile: :hugs:

:confused: I have a stupid question: Why would you want to do that?

The question is not stupid at all.
I work in an enterprise company and responsible for all software packaging.
Till today i have created 300 different packages.
Each package contains folders like the following:
for example, In the root folder the name of the package is:
Adobe acrobat pro_2021
inside the following folders

I want to add psappdeploy tools to the existing folders and not creating new ones.
In that way i can preserve my package and add psappdeoploy.

Hope its more clear now.

Thank you

You can but you’ll need to change AppDeployToolkitMain.ps1.
If you do, you’ll have to make that same change with every PSADT update.

In AppDeployToolkitMain.ps1 change this:

## Variables: Script Directories
[string]$dirFiles = Join-Path -Path $scriptParentPath -ChildPath 'Files'

With some luck, change it to this:

## Variables: Script Directories
[string]$dirFiles = Join-Path -Path $scriptParentPath -ChildPath 'source'

FYI: I’m suspecting it might still be hard-coded here and there.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.