phillip

//phillip
phillip

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • phillip
    Participant
    Post count: 1

    You can do that. Simply take the contents of the application AppDeployToolkit and put them locally (after you configure it the way you want it) on your workstations.

    Next open up the deploy-application.ps1 and look for the ## Dot source the required App Deploy Toolkit Functions. There is a variable there called $moduleAppDeployToolkitMain that you will need to change to match the location of your local files.

    If you do what I do, then you can put this in an If statement which basically says:
    if (Test-Path “$scriptDirectory\AppDeployToolkit\AppDeployToolkitMain.ps1) {
    [string$moduleAppDeployToolkitMain = “$scriptDirectory\AppDeployToolkit\AppDeployToolkitMain.ps1”
    }
    Else {
    [string$moduleAppDeployToolkitMain = “$LocalPath”
    }

    This way if you have something unique you need to set for a package you can simply include the AppDeployToolkit folder into the package, otherwise, if you don’t include it, it will use the local one.

Viewing 1 post (of 1 total)