This variable Octopus.Action[name].Output.Package.InstallationDirectoryPath is available for predeploy scope. but its empty. I understand its output variable and be for next steps.
How can I access the installationDirectory path in the predeploy script?
you can use $OctopusParameters[“OctopusOriginalPackageDirectoryPath”]
Thanks for getting in touch! You are correct the output variables are not available until after the step completes.
You have correctly identified the variable that is available inside the step (and only inside the step).