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\1.0.0.3270\TS-ESBAPPLMS05v.RoS.Deployments-109.ps1”

To:

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

Hi,

Thanks for getting in touch. We have a github issue to get this fixed https://github.com/OctopusDeploy/Issues/issues/1951

Regards,

Dalmiro