That is the correct syntax for the install directory. I’m assuming the name of the step is Step1 and that the spaces in Installation Directory Path in your post isn’t how you’ve referenced it in the custom installation directory fields?
Could you add the following variable OctopusPrintEvaluatedVariables and set it to true in your project, create a new release and deploy that release and send through the raw log to us to help us troubleshoot what is going wrong.
Hi,
The name ‘Step1’ was just used the brevity. The actual name in the log is ‘Deploy Base Sitecore Content (Deploy Package)’ (attached)
I tried several variations for the installation directory:-
#{Octopus.Action[Deploy Base Sitecore Content (Deploy Package)].Output.Package.InstallationDirectoryPath}
#{Octopus.Action[“Deploy Base Sitecore Content (Deploy Package)”].Output.Package.InstallationDirectoryPath}
The right variable according to your log should be #{Octopus.Action[Deploy Base Sitecore Content (Deploy Package)].Package.CustomInstallationDirectory}