Offline package: .cmd file references the .ps1 file using the path from the offline package drop

When creating an offline package, the refence to the ps1 file in the cmd file created, uses the package drop location. This package will however most often I guess be moved to a customer server, where that path probably no longer makes sense.

Should it not changed from:

“C:\Windows\system32\WindowsPowershell\v1.0\PowerShell.exe” -ExecutionPolicy Bypass -NoLogo -NoProfile -File “c:\OctopusOfflinePackages\RSDTEST\RoS\\TS-ESBAPPLMS05v.RoS.Deployments-109.ps1”


“C:\Windows\system32\WindowsPowershell\v1.0\PowerShell.exe” -ExecutionPolicy Bypass -NoLogo -NoProfile -File “TS-ESBAPPLMS05v.RoS.Deployments-109.ps1”


Thanks for getting in touch. We have a github issue to get this fixed